Skip to content

Commit

Permalink
releasing v2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
UFOMelkor committed Jul 10, 2018
1 parent 779728d commit 3909501
Show file tree
Hide file tree
Showing 8 changed files with 216 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.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.

Expand Down
2 changes: 1 addition & 1 deletion .semver
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
:major: 2
:minor: 4
:patch: 0
:patch: 1
:special: ''
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
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.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
},
Expand Down
198 changes: 198 additions & 0 deletions artifacts/debian/changelog
Original file line number Diff line number Diff line change
@@ -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 <v6.0
* expose ClassEnumVisitor failure with anonymous class
* now junit parser uses DomDocument. Fixed codeception junit files parsing
* dropped support of PHP 5.4
* improved UI
* fixed link of html report page
* changed colors of Junit report graph
* dropped support of hhvm-nighly
* lot of minors changes in UI
* Merge branch 'master' of https://github.com/marcosh/PhpMetrics into marcosh-master
* way to disable issuer
* fixes #266 - notice while parsing of anonymous classes
* Merge branch 'marcosh-master'
* Merge pull request #265 from Vincentv92/master
* Spelling fixes and removing some extra whitespace
* Merge branch 'fix-undefined-mi-on-interfaces' of https://github.com/niconoe-/PhpMetrics into niconoe--fix-undefined-mi-on-interfaces
* Merge branch 'niconoe--fix-undefined-mi-on-interfaces'
* added calculation for max cyclomatic complexity for method in class
* added tests for #238
* resolving conflict
* Merge branch 'improve-travis-ci'
* updated documentation about PATH envvar and composer gloab require
* fixed typos (whitespaces) in readme
* released v2.1.0
* Merge pull request #272 from kazimierasbutkus/master
* Fix version number.
* Merge pull request #275 from mageekguy/patch-1
* fixes #276 issue whith OutputInterface
* added Composer analysis
* fixed warning with undeclared variable
* minimal support of mobile in HTML report
* fixed issue with composer report : only one composer.json was considered
* simplified and splitted documentation
* fixed typos in README with blank spaces
* fixed link of image in documentation
* added link to spdx license in composer report
* fixed responsive typos
* documentation about releasing
* releasing v2.2.0
* Fix twitter link
* Adjust PHPDoc types
* Fix name resolving of anonymous classes
* Allow // in text without counting it as comment
* Fixed typo in description
* Update style.css
* updated pmd priority levels
* Added changelog
* typo fix
* added links to changelog
* changed markdown to match keep-a-changelog
* added links to footer
* Change heading for LOC graph.
* add preg_quote around dir
* Merge pull request #278 from UFOMelkor/typo/twitter-link
* Merge pull request #281 from UFOMelkor/hotfix/280
* Merge pull request #282 from UFOMelkor/hotfix/273
* Merge pull request #285 from j92/fix_typo
* Merge pull request #287 from rafaelign/master
* Merge pull request #290 from bangpound/patch-1
* Merge pull request #293 from paolomainardi/feature/fix-preg-quoting
* Fix for #280 (anonymous classes support for PHP 7.1)
* Added a newline to the end of a test file
* Merge pull request #299 from FractalizeR-Forks/fix-anonymous-classes-in-php-7.1
* fix: disabled deb artifact
* fix: disabled deb artifact in travis
* way to know parents
* way to get information about depth and childs of node in a tree
* way to get average height of branches in graph
* way to know the Depth of inheritance tree
* way to get the list of metrics
* added CSV report
* added json report
* fixed style
* added the key --report-json to validator
* Merge pull request #301 from phpmetrics/feature/reports
* Adding support for configuration files to read settings from
* Add installed package column when composer.lock file is found.
* Preventing duplicate edges from appearing in a graph using Deduplicated graph class. Fixes #291.
* Add export-ignore option to reduce the archive size of composer downloading.
* Add dockerfile in project to use the latest phar.
* Merge pull request #303 from FractalizeR-Forks/configuration-file-support
* Merge pull request #305 from phpmetrics/fix-284
* Merge pull request #306 from phpmetrics/ignore-export-composer-installation
* Merge pull request #304 from FractalizeR-Forks/avoid_duplicate_edges_in_graph
* Add Traits in parsing through all visitors.
* Fix #286: Missing files in the phar build due to bad regexp filter.
* Fix bad preg_quote usage that fails the regexp and so, fails the Finder.
* Merge pull request #310 from phpmetrics/fix-286
* Add unit tests to check the bugfix about finder.
* Merge pull request #311 from phpmetrics/fix-bad-regexp-finder
* Merge pull request #307 from phpmetrics/fix-244
* Merge pull request #279 from UFOMelkor/docs/phpdoc
* Embed dependent files so generated reports can be used offline
* Fix bad output in the junit report.
* Dropped the changelog
* Merge pull request #312 from phpmetrics/fix-263
* Merge pull request #309 from phpmetrics/fix-308
* Merge pull request #302 from dennisdegreef/localFilesOnly
* Merge pull request #288 from krukru/pmd-priority-rewrite
* Fix makefiles about releasing a new version.
* Fix bad carridge return when displaying the version.
* Merge pull request #313 from phpmetrics/fix-release
* releasing v2.3.0
* 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.
* Merge pull request #316 from phpmetrics/fix-315
* Merge pull request #318 from phpmetrics/fix-317
* releasing v2.3.1
* 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
* 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 <lepinejeanfrancois@yahoo.fr> 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
Expand Down Expand Up @@ -440,3 +636,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.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
```

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.4.0';
return 'v2.4.1';
}

0 comments on commit 3909501

Please sign in to comment.