Skip to content

Commit

Permalink
releasing 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
UFOMelkor committed Jul 9, 2018
1 parent 3434a93 commit 29b4bed
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Thank you for taking the time to report this bug :+1:

Run `phpmetrics --version` to get the version of PhpMetrics.

**The latest version of PhpMetrics is v2.3.2.**. Please try to update PhpMetrics and check if the bug persist before submitting new issue.
**The latest version of PhpMetrics is v2.4.0.**. Please try to update PhpMetrics and check if the bug persist before submitting new issue.

Here is a template for your issue. Please replace the words between braces with the right informations.

Expand Down
4 changes: 2 additions & 2 deletions .semver
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
:major: 2
:minor: 3
:patch: 2
:minor: 4
:patch: 0
:special: ''
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [2.4.0] - 2017-07-09

### Added
- Added package metrics (#283)

### Changed
- Enhanced composer package comparison (#337, #342 thanks @juliendufresne)
- Better PHP 7 support (#335, #334, #336 thanks @carusogabriel)
- Support nikic/php-parser:^4 (#345, #347)

### Fixed
- Refine Cyclomatic Complexity Metric (#343, #344, #353, #357, #358, thanks @fabianbadoi)
- Improved composer package version comparison (#337, thanks @juliendufresne)
- Resolved root path exclusion conflict (#355, thanks @fabianbadoi)
- Fixed getter and setter detection with types (#335, #336, thanks @jakagacic)
- Fixed documentation URL (#321, thanks @ottaviano)
- Fix non unique block ids in HTML output (#356, thanks @dumith-erange)
- Fix rounding of metrics (#339, thanks @ssfinney)
6 changes: 3 additions & 3 deletions artifacts/bintray.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"licenses": ["MIT"]
},
"version": {
"name": "v2.3.2",
"name": "v2.4.0",
"desc": "Latest version of PhpMetrics",
"released": "2017-10-13",
"vcs_tag": "v2.3.2",
"released": "2018-07-09",
"vcs_tag": "v2.4.0",
"attributes": [],
"gpgSign": false
},
Expand Down
58 changes: 58 additions & 0 deletions artifacts/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,59 @@
phpmetrics (2.4.0) unstable; urgency=low
* HotFix #317: Bad assignement on item classmetrics.
* Merge pull request #319 from phpmetrics/hotfix-classmetric
* releasing v2.3.2
* Adds www. in URLs phpmetrics.org
* Add package metrics
* Add package violation and some charts
* Ignore traits for now
* Test package metrics
* Add cli output
* Use assertCount
* Test against PHP 7.2
* Merge pull request #333 from carusogabriel/assert-count
* Merge pull request #334 from carusogabriel/patch-1
* Handle traits like classes
* Add Stable Abstractions Principle
* Detect getters and setters with types
* Improve composer package version comparison
* Rename method - typo
* Round percentiles on X-axis to prevent roundoff error
* Add else and elseif statements to the cyclomatic complexity test
* Fix bug that caused cyclomatic complexity to be underreported
* Merge pull request #336 from UFOMelkor/hotfix/335-role-detection-with-php7
* Support nikic/php-parser:^4
* Switch node traverser depending on php version
* Merge pull request #337 from juliendufresne/master
* Merge pull request #283 from UFOMelkor/feature/package-metrics
* Add changelog
* Filter identifiers to simplify php-parser:^4 compatibility
* Do not crash using php-parser:^4
* Add Support for Stmt\Expression
* Merge pull request #339 from ssfinney/fixRoundingOnLocReport
* Merge pull request #344 from fabianbadoi/fix-343
* Remove php 7 code
* Change the calculation of cyclomatic complexity
* Verify that traits are abstract
* Force traits to be abstract
* Merge pull request #354 from UFOMelkor/hotfix/351
* fix for repeating bloc-ids
* Finalize cyclomatic complexity changes
* Test against lowest and highest dependencies
* Raise version of sebastian/comparator to at least 1.2.3
* Merge pull request #356 from dumith-eranga/fix/report-html-violation-bloc-toggle
* Fix phpdoc argument types not matching actual types
* Fix issue where phpmetrics would not find any files
* Add test for current path exclusion
* Merge pull request #321 from ottaviano/fix-url-phpmetrics.org
* Merge pull request #353 from UFOMelkor/metric/ccn
* Merge pull request #347 from UFOMelkor/feature/345-php-parser-4
* Do not iterate over ->expr twice
* Merge pull request #357 from UFOMelkor/hotfix/ccn
* Adjust cc violation limits
* Merge pull request #358 from UFOMelkor/feature/cc-violation-adjustments

-- Jean-François Lépine <[email protected]> Mon, 09 Jul 2018 14:22:08 +0200

phpmetrics (2.3.0) unstable; urgency=low
* Fix missing escapeshellarg on git command arguments to avoid security and access troubles.
* Fix #317: Only consolidate class metrics that groups Classes and Traits to calculate sums and averages.
Expand Down Expand Up @@ -382,3 +438,5 @@ phpmetrics (1.8.2) unstable; urgency=low





4 changes: 2 additions & 2 deletions doc/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ export PATH=~/.composer/vendor/bin:$PATH
## Phar

```bash
curl https://github.com/phpmetrics/PhpMetrics/releases/download/v2.3.2/phpmetrics.phar
curl https://github.com/phpmetrics/PhpMetrics/releases/download/v2.4.0/phpmetrics.phar
chmod +x phpmetrics.phar && mv phpmetrics.phar /usr/local/bin/phpmetrics
```

## Apt (Debian, Ubuntu...)

```bash
curl https://github.com/phpmetrics/PhpMetrics/releases/download/v2.3.2/phpmetrics.deb
curl https://github.com/phpmetrics/PhpMetrics/releases/download/v2.4.0/phpmetrics.deb
dpkg -i phpmetrics.deb
```

Expand Down
Binary file modified releases/phpmetrics.phar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,5 @@ function recurse_copy($src, $dst)
*/
function getVersion()
{
return 'v2.3.2';
return 'v2.4.0';
}

0 comments on commit 29b4bed

Please sign in to comment.