Skip to content

Releases: phpmd/phpmd

PHPMD 2.15.0

11 Dec 08:22
74a1f56
Compare
Choose a tag to compare

Added

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

  • #1041 Mention public key used for signing the Phars
  • #1042 Document installation with PHIVE

Contributors to this release

Full Changelog: 2.14.1...2.15.0

PHPMD 2.14.1

28 Sep 13:10
442fc2c
Compare
Choose a tag to compare

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

26 Sep 17:42
247f84e
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 2.13.0...2.14.0

PHPMD 2.13.0

10 Sep 08:46
dad0228
Compare
Choose a tag to compare

Added

  • Require pdepend/pdepend 2.12
  • 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

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

24 Mar 13:38
c0b678b
Compare
Choose a tag to compare

Added

  • Added composer/xdebug-handler 3 support #930
  • Added GitHub action config for PHP 8.1 #918 #942

Fixed

  • Fixed #276 in #833: Disallow capital letter at the beginning in CamelCasePropertyName rule.
  • Fixed typo in exclude-pattern.xml #944

New Contributors

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

17 Dec 11:25
08b60a2
Compare
Choose a tag to compare

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

29 Nov 14:23
3637949
Compare
Choose a tag to compare

Added

  • Added #815 in #817: Rule name in text output

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

22 Jul 10:17
1bc74db
Compare
Choose a tag to compare

Added

  • Added #898 in #902: Added newline for better ANSI output

Changed

  • Changed #901 in #903: Improve baseline basepath calculation

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

11 May 17:22
bd5ef43
Compare
Choose a tag to compare

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

26 Apr 18:48
58ef9e7
Compare
Choose a tag to compare

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:

Also, we are very grateful to contributors that opened issues, created pull requests or participated as our community.