Skip to content

Commit 29b4bed

Browse files
committed
releasing 2.4.0
1 parent 3434a93 commit 29b4bed

File tree

8 files changed

+79
-9
lines changed

8 files changed

+79
-9
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Thank you for taking the time to report this bug :+1:
44

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

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

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

.semver

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
:major: 2
3-
:minor: 3
4-
:patch: 2
3+
:minor: 4
4+
:patch: 0
55
:special: ''

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
## [2.4.0] - 2017-07-09
10+
911
### Added
1012
- Added package metrics (#283)
1113

1214
### Changed
1315
- Enhanced composer package comparison (#337, #342 thanks @juliendufresne)
1416
- Better PHP 7 support (#335, #334, #336 thanks @carusogabriel)
17+
- Support nikic/php-parser:^4 (#345, #347)
18+
19+
### Fixed
20+
- Refine Cyclomatic Complexity Metric (#343, #344, #353, #357, #358, thanks @fabianbadoi)
21+
- Improved composer package version comparison (#337, thanks @juliendufresne)
22+
- Resolved root path exclusion conflict (#355, thanks @fabianbadoi)
23+
- Fixed getter and setter detection with types (#335, #336, thanks @jakagacic)
24+
- Fixed documentation URL (#321, thanks @ottaviano)
25+
- Fix non unique block ids in HTML output (#356, thanks @dumith-erange)
26+
- Fix rounding of metrics (#339, thanks @ssfinney)

artifacts/bintray.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"licenses": ["MIT"]
1111
},
1212
"version": {
13-
"name": "v2.3.2",
13+
"name": "v2.4.0",
1414
"desc": "Latest version of PhpMetrics",
15-
"released": "2017-10-13",
16-
"vcs_tag": "v2.3.2",
15+
"released": "2018-07-09",
16+
"vcs_tag": "v2.4.0",
1717
"attributes": [],
1818
"gpgSign": false
1919
},

artifacts/debian/changelog

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
phpmetrics (2.4.0) unstable; urgency=low
2+
* HotFix #317: Bad assignement on item classmetrics.
3+
* Merge pull request #319 from phpmetrics/hotfix-classmetric
4+
* releasing v2.3.2
5+
* Adds www. in URLs phpmetrics.org
6+
* Add package metrics
7+
* Add package violation and some charts
8+
* Ignore traits for now
9+
* Test package metrics
10+
* Add cli output
11+
* Use assertCount
12+
* Test against PHP 7.2
13+
* Merge pull request #333 from carusogabriel/assert-count
14+
* Merge pull request #334 from carusogabriel/patch-1
15+
* Handle traits like classes
16+
* Add Stable Abstractions Principle
17+
* Detect getters and setters with types
18+
* Improve composer package version comparison
19+
* Rename method - typo
20+
* Round percentiles on X-axis to prevent roundoff error
21+
* Add else and elseif statements to the cyclomatic complexity test
22+
* Fix bug that caused cyclomatic complexity to be underreported
23+
* Merge pull request #336 from UFOMelkor/hotfix/335-role-detection-with-php7
24+
* Support nikic/php-parser:^4
25+
* Switch node traverser depending on php version
26+
* Merge pull request #337 from juliendufresne/master
27+
* Merge pull request #283 from UFOMelkor/feature/package-metrics
28+
* Add changelog
29+
* Filter identifiers to simplify php-parser:^4 compatibility
30+
* Do not crash using php-parser:^4
31+
* Add Support for Stmt\Expression
32+
* Merge pull request #339 from ssfinney/fixRoundingOnLocReport
33+
* Merge pull request #344 from fabianbadoi/fix-343
34+
* Remove php 7 code
35+
* Change the calculation of cyclomatic complexity
36+
* Verify that traits are abstract
37+
* Force traits to be abstract
38+
* Merge pull request #354 from UFOMelkor/hotfix/351
39+
* fix for repeating bloc-ids
40+
* Finalize cyclomatic complexity changes
41+
* Test against lowest and highest dependencies
42+
* Raise version of sebastian/comparator to at least 1.2.3
43+
* Merge pull request #356 from dumith-eranga/fix/report-html-violation-bloc-toggle
44+
* Fix phpdoc argument types not matching actual types
45+
* Fix issue where phpmetrics would not find any files
46+
* Add test for current path exclusion
47+
* Merge pull request #321 from ottaviano/fix-url-phpmetrics.org
48+
* Merge pull request #353 from UFOMelkor/metric/ccn
49+
* Merge pull request #347 from UFOMelkor/feature/345-php-parser-4
50+
* Do not iterate over ->expr twice
51+
* Merge pull request #357 from UFOMelkor/hotfix/ccn
52+
* Adjust cc violation limits
53+
* Merge pull request #358 from UFOMelkor/feature/cc-violation-adjustments
54+
55+
-- Jean-François Lépine <[email protected]> Mon, 09 Jul 2018 14:22:08 +0200
56+
157
phpmetrics (2.3.0) unstable; urgency=low
258
* Fix missing escapeshellarg on git command arguments to avoid security and access troubles.
359
* Fix #317: Only consolidate class metrics that groups Classes and Traits to calculate sums and averages.
@@ -382,3 +438,5 @@ phpmetrics (1.8.2) unstable; urgency=low
382438

383439

384440

441+
442+

doc/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ export PATH=~/.composer/vendor/bin:$PATH
1616
## Phar
1717

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

2323
## Apt (Debian, Ubuntu...)
2424

2525
```bash
26-
curl https://github.com/phpmetrics/PhpMetrics/releases/download/v2.3.2/phpmetrics.deb
26+
curl https://github.com/phpmetrics/PhpMetrics/releases/download/v2.4.0/phpmetrics.deb
2727
dpkg -i phpmetrics.deb
2828
```
2929

releases/phpmetrics.phar

40.1 MB
Binary file not shown.

src/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,5 @@ function recurse_copy($src, $dst)
166166
*/
167167
function getVersion()
168168
{
169-
return 'v2.3.2';
169+
return 'v2.4.0';
170170
}

0 commit comments

Comments
 (0)