diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index b1602ae4..4cd05a4e 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -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.4.0**. Please try to update PhpMetrics and check if the bug persist before submitting new issue. +**The latest version of PhpMetrics is v2.4.1**. 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. diff --git a/.semver b/.semver index 5a480190..d42d4c53 100644 --- a/.semver +++ b/.semver @@ -1,5 +1,5 @@ --- :major: 2 :minor: 4 -:patch: 0 +:patch: 1 :special: '' diff --git a/CHANGELOG.md b/CHANGELOG.md index 81ccda34..21eaf272 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,13 +6,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [2.4.1] - 2017-07-10 + +### Fixed + - Fix parsing errors with PHP < 7 (#360, #361) + - Remain CCN for backward compatibility (#359, #362) + +### Deprecated + - CCN by classes is deprecated and will be removed in the next major release (#359, #362) + ## [2.4.0] - 2017-07-09 ### Added - Added package metrics (#283) ### Changed - - Enhanced composer package comparison (#337, #342 thanks @juliendufresne) + - Enhanced composer package comparison (#337, #342, thanks @juliendufresne) - Better PHP 7 support (#335, #334, #336 thanks @carusogabriel) - Support nikic/php-parser:^4 (#345, #347) diff --git a/artifacts/bintray.json b/artifacts/bintray.json index 429d7fa2..adebfab8 100644 --- a/artifacts/bintray.json +++ b/artifacts/bintray.json @@ -10,10 +10,10 @@ "licenses": ["MIT"] }, "version": { - "name": "v2.4.0", + "name": "v2.4.1", "desc": "Latest version of PhpMetrics", - "released": "2018-07-09", - "vcs_tag": "v2.4.0", + "released": "2018-07-10", + "vcs_tag": "v2.4.1", "attributes": [], "gpgSign": false }, diff --git a/artifacts/debian/changelog b/artifacts/debian/changelog index fd647373..846ef6f3 100644 --- a/artifacts/debian/changelog +++ b/artifacts/debian/changelog @@ -1,3 +1,199 @@ +phpmetrics (2.0.0-rc) unstable; urgency=low + * way to get infos about unexpected bugs + * Don't trigger the issuer on suppressed errors + * Merge pull request #246 from UFOMelkor/hotfix/240 + * issuer logs are stored in file instead of stdout + * analyze does not break in case of error + * added tests about namespace resolution in externals + * major issue with traverser + * Way to get metric about Unit tests of project + * added JUnit HTML report file + * added icon for junit report + * changed status code for --help and --version option + * added a way to get latest results directly in json + * released new phar + * moved directory of releases in order to prevserve v1 compatibility + * forced version of phar + * preparing v2 + * php7 is now the main version for building artifacts + * updated ci + * releasing v2.0.0 + * Fix undefined MaintainabilityIndex on interfaces. + * Run on Trusty Beta Container + * Disable JIT compilation in hhvm, as the JIT is useless for short live scripts like tests. + * Fixed typo + * improved unit testing report + * removed symfony/console component + * force phpunit version to expr twice + * Merge pull request #357 from UFOMelkor/hotfix/ccn + * Adjust cc violation limits + * Merge pull request #358 from UFOMelkor/feature/cc-violation-adjustments + * releasing 2.4.0 + * Fix template type + * Verify errors in php<7 + * Use class_alias to load php5 or php7 code + * Merge pull request #361 from UFOMelkor/hotfix/360-php56 + * Retain the old ccn and add wmc as new metric + * Merge pull request #362 from UFOMelkor/hotfix/remain-ccn + + -- Jean-François Lépine Tue, 10 Jul 2018 19:17:23 +0200 + phpmetrics (2.4.0) unstable; urgency=low * HotFix #317: Bad assignement on item classmetrics. * Merge pull request #319 from phpmetrics/hotfix-classmetric @@ -440,3 +636,5 @@ phpmetrics (1.8.2) unstable; urgency=low + + diff --git a/doc/installation.md b/doc/installation.md index db648180..1269b3c6 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -16,14 +16,14 @@ export PATH=~/.composer/vendor/bin:$PATH ## Phar ```bash -curl https://github.com/phpmetrics/PhpMetrics/releases/download/v2.4.0/phpmetrics.phar +curl https://github.com/phpmetrics/PhpMetrics/releases/download/v2.4.1/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.4.0/phpmetrics.deb +curl https://github.com/phpmetrics/PhpMetrics/releases/download/v2.4.1/phpmetrics.deb dpkg -i phpmetrics.deb ``` diff --git a/releases/phpmetrics.phar b/releases/phpmetrics.phar index 93384a3d..8311c623 100755 Binary files a/releases/phpmetrics.phar and b/releases/phpmetrics.phar differ diff --git a/src/functions.php b/src/functions.php index c450ebfd..e7cc7ac5 100644 --- a/src/functions.php +++ b/src/functions.php @@ -166,5 +166,5 @@ function recurse_copy($src, $dst) */ function getVersion() { - return 'v2.4.0'; + return 'v2.4.1'; }