Releases: phpmd/phpmd
PHPMD 2.15.0
Added
- Added #1036 [CLI] Allow option and value separated with equal sign
- Require pdepend/pdepend 2.16.1
- Added pdepend/pdepend#699 Symfony 7 compatibility
- Added pdepend/pdepend#692 PHP 8.3 Syntax
Fixed
- Fixed #1044 strict option on applyOnClassMethods
- Via pdepend/pdepend 2.16.1
- Fixed pdepend/pdepend#691 Float parsing for number starting with 0.
- Fixed pdepend/pdepend#689 Handle conversion to/detection of UTF-8 encoding using either mbstring PHP extension or the polyfill provided by Symfony
- Fixed pdepend/pdepend#687 Parsing the correct comment for method doc-block (Allow correct SuppressWarnings annotation handling on PHPMD) (#914)
- Fixed pdepend/pdepend#694 Handle yield termination depending on context (#804)
Documented
Contributors to this release
Full Changelog: 2.14.1...2.15.0
PHPMD 2.14.1
Fixed
- Require pdepend/pdepend 2.15.1
- Fixed #1039 Re-allow empty compilation unit.
- Fixed #1037: Cache result also if there are no composer or baseline files.
Contributors to this release
Full Changelog: 2.14.0...2.14.1
PHPMD 2.14.0
Added
- Added #997: Add a follow on mastodon link to the footer on the website.
- Added #999: Add dev as keyword to the composer.json file.
- Added #1014: Add phar signing.
- Added #1011: Add support for cache results.
- Added internal #1017: Run PHPStan in CI.
- Added #1015: Add debug information to cache results.
- Added #1022: Add --verbose and --color options to text renderer.
- Added #1025: Support file globbing, and STDIN.
- Added #1023: Add trace of the error when debug verbosity.
- Added #1029: Added the option to the command line to set the number of extra lines in code snippets.
Fixed
- Fixed #924 in #983: Add exceptions and ignorepattern properties to BooleanArgumentFlag rule.
- Fixed #986: PHP 8.1 deprecation message when rendering html reports.
- Fixed #996: Global import from an array value.
- Fixed #1000: Correct url by removing leading slash.
- Fixed #1021: Fix typos
- Fixed #467 in #1026: Dedupe violation for CamelCaseVariableName.
- Fixed #1031: Fix call to undefined getParent() method.
- Fixed #989 in #990: Documentation about coma-separated syntax for multiple paths.
Changed
- Changed internal: #987 Decrease BooleanArgumentFlag complexity
- Changed internal: #972 Update phpunit_coverage.yml
- Changed documentation #989 in #990: Update documentation about filename/directory in CLI.
- Changed #1004 #1032: Update PDepend to version 2.15.0.
- Changed internal: #1012: Update GitHub Actions form v2 to v3.
- Changed #1005 and #1018: Update authors.
- Changed #1024: Run PHPCS 3 on GitHub Actions.
Consult the changelog for the full history of noteworthy changes or browse through the list of commits since the last release.
Contributors to this release
- @AJenbo
- @andrey-tech
- @DannyvdSluijs
- @frankdekker
- @JoshuaBehrens
- @JustMisha
- @kylekatarnls
- @mRoca
- @pieterocp
- @ravage84
- @szepeviktor
- @tvbeek
New Contributors
- @pieterocp made their first contribution in #986
- @andrey-tech made their first contribution in #990
- @mRoca made their first contribution in #996
- @JoshuaBehrens made their first contribution in #962
- @JustMisha made their first contribution in #1029
Full Changelog: 2.13.0...2.14.0
PHPMD 2.13.0
Added
- Require pdepend/pdepend 2.12
- Added PHP 8.1 and 8.2 syntax support
See full changes list: - PDepend 2.12.0
- PDepend 2.11.0
- Added PHP 8.1 and 8.2 syntax support
- Added #943 Static access add ignore pattern for methods
- Added #958 Add missing ruleset error message on baseline
- Added #955 Add Gitlab renderer for Gitlab CI
Fixed
- Fixed #4 Typo on Superglobals rule
- Fixed #976 Avoid deprecated exceptions
- Fixed #977 Add missing github & gitlab reportfile options
- Improved #954 npath complexity documentation with example
- Improved #946 Highlight readme code examples
Changed
- #969 Update codecov intergration
- #970 Remove Travis badge
- #976 Avoid deprecated exceptions
- #968 Optimize parseRuleNode steps order
New Contributors
- @jvipez made their first contribution in #946
- @modess made their first contribution in #954
- @metalmini made their first contribution in #957
- @koenhendriks made their first contribution in #978
Consult the changelog for the full history of noteworthy changes or browse through the list of commits since the last release.
Contributors to this release
We would like to thank all the contributors that helped make this release possible:
PHPMD 2.12.0
Added
Fixed
- Fixed #276 in #833: Disallow capital letter at the beginning in CamelCasePropertyName rule.
- Fixed typo in exclude-pattern.xml #944
New Contributors
- @franmomu made their first contribution in #930
- @emretepedev made their first contribution in #944
Consult the changelog for the full history of noteworthy changes or browse through the list of commits since the last release.
Contributors to this release
We would like to thank all the contributors that helped make this release possible:
PHPMD 2.11.1
Fixed
Consult the changelog for the full history of noteworthy changes or browse through the list of commits since the last release.
Contributors to this release
We would like to thank all the contributors that helped make this release possible:
PHPMD 2.11.0
Added
Fixed
- Fixed #884 in #905: Avoid unused parameters on PHP 8: Constructor property
- Fixed #870 in #906: False-positive message "Avoid using undefined variables" on a static variable
- Fixed #714 in #781: static:: and self:: properties access
Consult the changelog for the full history of noteworthy changes or browse through the list of commits since the last release.
Contributors to this release
We would like to thank all the contributors that helped make this release possible:
PHPMD 2.10.2
Added
Changed
Fixed
- Fixed #894: Fixed typo in DuplicatedArrayKey title incl. link
- Update PHP Depend to the latest version, this fixed different PHP 8 options: #889 #893 #896
Consult the changelog for the full history of noteworthy changes or browse through the list of commits since the last release.
Contributors to this release
We would like to thank all the contributors that helped make this release possible:
PHPMD 2.10.1
Implemented
- Implemented #885: Allowing 2.0 version of the composer/xdebug-handler
Contributors to this release
We would like to thank all the contributors that helped make this release possible:
PHPMD 2.10.0
Added
- Added #879: Documentation for Junit export with third party
- Added #836: Provide option to allow reference to a class in the root namespace without an import
- Added #856: Adds checkstyle compatible renderer, suitable for cs2pr or reviewdog
- Added #858 in #865: Add SARIF renderer.
- Added #873 and #876: Added option to baseline existing violations
- Added #861: Docs for GitHub renderer
- Added #868 In #869: Option to ignore globally-namespaced classes from MissingImport
- Added #834 : Add "tool" property to main "pmd" tag in XML report
Changed
- Changed #786: Add convenience method AbstractNode::findChildrenOfTypeVariable()
- Changed documentation: #874 #849 #724
- Changed #514 in #872: Change exit code on processing errors
- Changed: Internal code improvement #839 #875 #838 #862 #788 #830
- Changed #848 #864: Use GitHub actions
Fixed
- Fixed #673 in #782: Ignore dynamic class name from missing imports
- Fixed #577 in #844: Recognize compact variables with double quotes
- Fixed #818 in #822: Fix passing-by-reference detection
- Fixed #826 in #827: Consider foreach exception only for direct children
- Fixed #851 in #852: Fix multiple underscores in method name when allow-underscore-test is allowed
- Fixed #846 in #847: Catch DevelopmentCodeFragment with fully qualified functions
- Fixed #829 in #835: Fatal error while analyzing anonymous class
- Fixed #816 in #818: Fixed undefined index referring
Deprecated
- Deprecated: getIgnorePattern and setIgnorePattern on PHPMD\PHPMD see #772
Consult the changelog for the full history of noteworthy changes or browse through the list of commits since the last release.
Contributors to this release
We would like to thank all the contributors that helped make this release possible:
- @a-menshchikov
- @babanesma
- @ComiR
- @danepowell
- @ffflabs
- @frankdekker
- @kamioftea
- @kdebisschop
- @kylekatarnls
- @lukasbestle
- @martzd
- @ravage84
- @SanderSander
- @tvbeek
Also, we are very grateful to contributors that opened issues, created pull requests or participated as our community.