Skip to content

Commit 3909501

Browse files
committed
releasing v2.4.1
1 parent 779728d commit 3909501

File tree

8 files changed

+216
-9
lines changed

8 files changed

+216
-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.4.0**. Please try to update PhpMetrics and check if the bug persist before submitting new issue.
7+
**The latest version of PhpMetrics is v2.4.1**. 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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
:major: 2
33
:minor: 4
4-
:patch: 0
4+
:patch: 1
55
:special: ''

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
## [2.4.1] - 2017-07-10
10+
11+
### Fixed
12+
- Fix parsing errors with PHP < 7 (#360, #361)
13+
- Remain CCN for backward compatibility (#359, #362)
14+
15+
### Deprecated
16+
- CCN by classes is deprecated and will be removed in the next major release (#359, #362)
17+
918
## [2.4.0] - 2017-07-09
1019

1120
### Added
1221
- Added package metrics (#283)
1322

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

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.4.0",
13+
"name": "v2.4.1",
1414
"desc": "Latest version of PhpMetrics",
15-
"released": "2018-07-09",
16-
"vcs_tag": "v2.4.0",
15+
"released": "2018-07-10",
16+
"vcs_tag": "v2.4.1",
1717
"attributes": [],
1818
"gpgSign": false
1919
},

artifacts/debian/changelog

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,199 @@
1+
phpmetrics (2.0.0-rc) unstable; urgency=low
2+
* way to get infos about unexpected bugs
3+
* Don't trigger the issuer on suppressed errors
4+
* Merge pull request #246 from UFOMelkor/hotfix/240
5+
* issuer logs are stored in file instead of stdout
6+
* analyze does not break in case of error
7+
* added tests about namespace resolution in externals
8+
* major issue with traverser
9+
* Way to get metric about Unit tests of project
10+
* added JUnit HTML report file
11+
* added icon for junit report
12+
* changed status code for --help and --version option
13+
* added a way to get latest results directly in json
14+
* released new phar
15+
* moved directory of releases in order to prevserve v1 compatibility
16+
* forced version of phar
17+
* preparing v2
18+
* php7 is now the main version for building artifacts
19+
* updated ci
20+
* releasing v2.0.0
21+
* Fix undefined MaintainabilityIndex on interfaces.
22+
* Run on Trusty Beta Container
23+
* Disable JIT compilation in hhvm, as the JIT is useless for short live scripts like tests.
24+
* Fixed typo
25+
* improved unit testing report
26+
* removed symfony/console component
27+
* force phpunit version to <v6.0
28+
* expose ClassEnumVisitor failure with anonymous class
29+
* now junit parser uses DomDocument. Fixed codeception junit files parsing
30+
* dropped support of PHP 5.4
31+
* improved UI
32+
* fixed link of html report page
33+
* changed colors of Junit report graph
34+
* dropped support of hhvm-nighly
35+
* lot of minors changes in UI
36+
* Merge branch 'master' of https://github.com/marcosh/PhpMetrics into marcosh-master
37+
* way to disable issuer
38+
* fixes #266 - notice while parsing of anonymous classes
39+
* Merge branch 'marcosh-master'
40+
* Merge pull request #265 from Vincentv92/master
41+
* Spelling fixes and removing some extra whitespace
42+
* Merge branch 'fix-undefined-mi-on-interfaces' of https://github.com/niconoe-/PhpMetrics into niconoe--fix-undefined-mi-on-interfaces
43+
* Merge branch 'niconoe--fix-undefined-mi-on-interfaces'
44+
* added calculation for max cyclomatic complexity for method in class
45+
* added tests for #238
46+
* resolving conflict
47+
* Merge branch 'improve-travis-ci'
48+
* updated documentation about PATH envvar and composer gloab require
49+
* fixed typos (whitespaces) in readme
50+
* released v2.1.0
51+
* Merge pull request #272 from kazimierasbutkus/master
52+
* Fix version number.
53+
* Merge pull request #275 from mageekguy/patch-1
54+
* fixes #276 issue whith OutputInterface
55+
* added Composer analysis
56+
* fixed warning with undeclared variable
57+
* minimal support of mobile in HTML report
58+
* fixed issue with composer report : only one composer.json was considered
59+
* simplified and splitted documentation
60+
* fixed typos in README with blank spaces
61+
* fixed link of image in documentation
62+
* added link to spdx license in composer report
63+
* fixed responsive typos
64+
* documentation about releasing
65+
* releasing v2.2.0
66+
* Fix twitter link
67+
* Adjust PHPDoc types
68+
* Fix name resolving of anonymous classes
69+
* Allow // in text without counting it as comment
70+
* Fixed typo in description
71+
* Update style.css
72+
* updated pmd priority levels
73+
* Added changelog
74+
* typo fix
75+
* added links to changelog
76+
* changed markdown to match keep-a-changelog
77+
* added links to footer
78+
* Change heading for LOC graph.
79+
* add preg_quote around dir
80+
* Merge pull request #278 from UFOMelkor/typo/twitter-link
81+
* Merge pull request #281 from UFOMelkor/hotfix/280
82+
* Merge pull request #282 from UFOMelkor/hotfix/273
83+
* Merge pull request #285 from j92/fix_typo
84+
* Merge pull request #287 from rafaelign/master
85+
* Merge pull request #290 from bangpound/patch-1
86+
* Merge pull request #293 from paolomainardi/feature/fix-preg-quoting
87+
* Fix for #280 (anonymous classes support for PHP 7.1)
88+
* Added a newline to the end of a test file
89+
* Merge pull request #299 from FractalizeR-Forks/fix-anonymous-classes-in-php-7.1
90+
* fix: disabled deb artifact
91+
* fix: disabled deb artifact in travis
92+
* way to know parents
93+
* way to get information about depth and childs of node in a tree
94+
* way to get average height of branches in graph
95+
* way to know the Depth of inheritance tree
96+
* way to get the list of metrics
97+
* added CSV report
98+
* added json report
99+
* fixed style
100+
* added the key --report-json to validator
101+
* Merge pull request #301 from phpmetrics/feature/reports
102+
* Adding support for configuration files to read settings from
103+
* Add installed package column when composer.lock file is found.
104+
* Preventing duplicate edges from appearing in a graph using Deduplicated graph class. Fixes #291.
105+
* Add export-ignore option to reduce the archive size of composer downloading.
106+
* Add dockerfile in project to use the latest phar.
107+
* Merge pull request #303 from FractalizeR-Forks/configuration-file-support
108+
* Merge pull request #305 from phpmetrics/fix-284
109+
* Merge pull request #306 from phpmetrics/ignore-export-composer-installation
110+
* Merge pull request #304 from FractalizeR-Forks/avoid_duplicate_edges_in_graph
111+
* Add Traits in parsing through all visitors.
112+
* Fix #286: Missing files in the phar build due to bad regexp filter.
113+
* Fix bad preg_quote usage that fails the regexp and so, fails the Finder.
114+
* Merge pull request #310 from phpmetrics/fix-286
115+
* Add unit tests to check the bugfix about finder.
116+
* Merge pull request #311 from phpmetrics/fix-bad-regexp-finder
117+
* Merge pull request #307 from phpmetrics/fix-244
118+
* Merge pull request #279 from UFOMelkor/docs/phpdoc
119+
* Embed dependent files so generated reports can be used offline
120+
* Fix bad output in the junit report.
121+
* Dropped the changelog
122+
* Merge pull request #312 from phpmetrics/fix-263
123+
* Merge pull request #309 from phpmetrics/fix-308
124+
* Merge pull request #302 from dennisdegreef/localFilesOnly
125+
* Merge pull request #288 from krukru/pmd-priority-rewrite
126+
* Fix makefiles about releasing a new version.
127+
* Fix bad carridge return when displaying the version.
128+
* Merge pull request #313 from phpmetrics/fix-release
129+
* releasing v2.3.0
130+
* Fix missing escapeshellarg on git command arguments to avoid security and access troubles.
131+
* Fix #317: Only consolidate class metrics that groups Classes and Traits to calculate sums and averages.
132+
* Merge pull request #316 from phpmetrics/fix-315
133+
* Merge pull request #318 from phpmetrics/fix-317
134+
* releasing v2.3.1
135+
* HotFix #317: Bad assignement on item classmetrics.
136+
* Merge pull request #319 from phpmetrics/hotfix-classmetric
137+
* releasing v2.3.2
138+
* Adds www. in URLs phpmetrics.org
139+
* Add package metrics
140+
* Add package violation and some charts
141+
* Ignore traits for now
142+
* Test package metrics
143+
* Add cli output
144+
* Use assertCount
145+
* Test against PHP 7.2
146+
* Merge pull request #333 from carusogabriel/assert-count
147+
* Merge pull request #334 from carusogabriel/patch-1
148+
* Handle traits like classes
149+
* Add Stable Abstractions Principle
150+
* Detect getters and setters with types
151+
* Improve composer package version comparison
152+
* Rename method - typo
153+
* Round percentiles on X-axis to prevent roundoff error
154+
* Add else and elseif statements to the cyclomatic complexity test
155+
* Fix bug that caused cyclomatic complexity to be underreported
156+
* Merge pull request #336 from UFOMelkor/hotfix/335-role-detection-with-php7
157+
* Support nikic/php-parser:^4
158+
* Switch node traverser depending on php version
159+
* Merge pull request #337 from juliendufresne/master
160+
* Merge pull request #283 from UFOMelkor/feature/package-metrics
161+
* Add changelog
162+
* Filter identifiers to simplify php-parser:^4 compatibility
163+
* Do not crash using php-parser:^4
164+
* Add Support for Stmt\Expression
165+
* Merge pull request #339 from ssfinney/fixRoundingOnLocReport
166+
* Merge pull request #344 from fabianbadoi/fix-343
167+
* Remove php 7 code
168+
* Change the calculation of cyclomatic complexity
169+
* Verify that traits are abstract
170+
* Force traits to be abstract
171+
* Merge pull request #354 from UFOMelkor/hotfix/351
172+
* fix for repeating bloc-ids
173+
* Finalize cyclomatic complexity changes
174+
* Test against lowest and highest dependencies
175+
* Raise version of sebastian/comparator to at least 1.2.3
176+
* Merge pull request #356 from dumith-eranga/fix/report-html-violation-bloc-toggle
177+
* Fix phpdoc argument types not matching actual types
178+
* Fix issue where phpmetrics would not find any files
179+
* Add test for current path exclusion
180+
* Merge pull request #321 from ottaviano/fix-url-phpmetrics.org
181+
* Merge pull request #353 from UFOMelkor/metric/ccn
182+
* Merge pull request #347 from UFOMelkor/feature/345-php-parser-4
183+
* Do not iterate over ->expr twice
184+
* Merge pull request #357 from UFOMelkor/hotfix/ccn
185+
* Adjust cc violation limits
186+
* Merge pull request #358 from UFOMelkor/feature/cc-violation-adjustments
187+
* releasing 2.4.0
188+
* Fix template type
189+
* Verify errors in php<7
190+
* Use class_alias to load php5 or php7 code
191+
* Merge pull request #361 from UFOMelkor/hotfix/360-php56
192+
* Retain the old ccn and add wmc as new metric
193+
* Merge pull request #362 from UFOMelkor/hotfix/remain-ccn
194+
195+
-- Jean-François Lépine <[email protected]> Tue, 10 Jul 2018 19:17:23 +0200
196+
1197
phpmetrics (2.4.0) unstable; urgency=low
2198
* HotFix #317: Bad assignement on item classmetrics.
3199
* Merge pull request #319 from phpmetrics/hotfix-classmetric
@@ -440,3 +636,5 @@ phpmetrics (1.8.2) unstable; urgency=low
440636

441637

442638

639+
640+

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.4.0/phpmetrics.phar
19+
curl https://github.com/phpmetrics/PhpMetrics/releases/download/v2.4.1/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.4.0/phpmetrics.deb
26+
curl https://github.com/phpmetrics/PhpMetrics/releases/download/v2.4.1/phpmetrics.deb
2727
dpkg -i phpmetrics.deb
2828
```
2929

releases/phpmetrics.phar

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

0 commit comments

Comments
 (0)