Open renovate[bot] opened 4 years ago
Author | Lines lost | Rating change | New rating |
---|---|---|---|
29139614+renovate[bot]@users.noreply.github.com | 1 | -0.50 | 1499.50 |
bot@renovateapp.com | the performer | 0.50 | 1500.50 |
See the whole leaderboard
The PR effort: 2.00 for 1 new lines with 1500.00 rating (50.00 % percentile). Learn more These updates are not final. Post
devrating ignore
comment before merging to prevent the rating update.
This PR contains the following updates:
2.8.2
->2.15.0
Release Notes
phpmd/phpmd (phpmd/phpmd)
### [`v2.15.0`](https://redirect.github.com/phpmd/phpmd/blob/HEAD/CHANGELOG#phpmd-2150-20231211) [Compare Source](https://redirect.github.com/phpmd/phpmd/compare/2.14.1...2.15.0) \======================== - Added [#1036](https://redirect.github.com/phpmd/phpmd/issues/1036) \[CLI] Allow option and value separated with equal sign - Require pdepend/pdepend 2.16.1 - Support PHP 8.3 [pdepend/pdepend#699](https://redirect.github.com/pdepend/pdepend/issues/699) - Support Symfony 7 [pdepend/pdepend#692](https://redirect.github.com/pdepend/pdepend/issues/692) - Fixed [pdepend/pdepend#691](https://redirect.github.com/pdepend/pdepend/issues/691) Float parsing for number starting with 0. - Fixed [pdepend/pdepend#689](https://redirect.github.com/pdepend/pdepend/issues/689) Handle conversion to/detection of UTF-8 encoding using either mbstring PHP extension or the polyfill provided by Symfony - Fixed [pdepend/pdepend#687](https://redirect.github.com/pdepend/pdepend/issues/687) Parsing the correct comment for method doc-block (Allow correct SuppressWarnings annotation handling on PHPMD) ([https://github.com/phpmd/phpmd/issues/914](https://redirect.github.com/phpmd/phpmd/issues/914)) - Fixed [pdepend/pdepend#694](https://redirect.github.com/pdepend/pdepend/issues/694) Handle yield termination depending on context ([https://github.com/phpmd/phpmd/issues/804](https://redirect.github.com/phpmd/phpmd/issues/804)) - Fixed [#1044](https://redirect.github.com/phpmd/phpmd/issues/1044) strict option on applyOnClassMethods - Documented [#1041](https://redirect.github.com/phpmd/phpmd/issues/1041) Mention public key used for signing the Phars - Documented [#1042](https://redirect.github.com/phpmd/phpmd/issues/1042) Document installation with PHIVE ### [`v2.14.1`](https://redirect.github.com/phpmd/phpmd/blob/HEAD/CHANGELOG#phpmd-2141-20230928) [Compare Source](https://redirect.github.com/phpmd/phpmd/compare/2.14.0...2.14.1) \======================== - Require pdepend/pdepend 2.15.1 - Fixed [#1039](https://redirect.github.com/phpmd/phpmd/issues/1039) Re-allow empty compilation unit. - Fixed [#1037](https://redirect.github.com/phpmd/phpmd/issues/1037): Cache result also if there are no composer or baseline files. ### [`v2.14.0`](https://redirect.github.com/phpmd/phpmd/blob/HEAD/CHANGELOG#phpmd-2140-20230926) [Compare Source](https://redirect.github.com/phpmd/phpmd/compare/2.13.0...2.14.0) \======================== - Require pdepend/pdepend 2.15 - https://github.com/pdepend/pdepend/releases/tag/2.15.0 - https://github.com/pdepend/pdepend/releases/tag/2.14.0 - https://github.com/pdepend/pdepend/releases/tag/2.13.0 - Added [#997](https://redirect.github.com/phpmd/phpmd/issues/997): Add a follow on mastodon link to the footer on the website. - Added [#999](https://redirect.github.com/phpmd/phpmd/issues/999): Add dev as keyword to the composer.json file. - Added [#1014](https://redirect.github.com/phpmd/phpmd/issues/1014): Add phar signing. - Added [#1011](https://redirect.github.com/phpmd/phpmd/issues/1011): Add support for cache results. - Added internal [#1017](https://redirect.github.com/phpmd/phpmd/issues/1017): Run PHPStan in CI. - Added [#1015](https://redirect.github.com/phpmd/phpmd/issues/1015): Add debug information to cache results. - Added [#1022](https://redirect.github.com/phpmd/phpmd/issues/1022): Add --verbose and --color options to text renderer. - Added [#1025](https://redirect.github.com/phpmd/phpmd/issues/1025): Support file globbing, and STDIN. - Added [#1023](https://redirect.github.com/phpmd/phpmd/issues/1023): Add trace of the error when debug verbosity. - Added [#1029](https://redirect.github.com/phpmd/phpmd/issues/1029): Added the option to the command line to set the number of extra lines in code snippets. - Fixed [#924](https://redirect.github.com/phpmd/phpmd/issues/924) in [#983](https://redirect.github.com/phpmd/phpmd/issues/983): Add exceptions and ignorepattern properties to BooleanArgumentFlag rule. - Fixed [#986](https://redirect.github.com/phpmd/phpmd/issues/986): PHP 8.1 deprecation message when rendering html reports. - Fixed [#996](https://redirect.github.com/phpmd/phpmd/issues/996): Global import from an array value. - Fixed [#1000](https://redirect.github.com/phpmd/phpmd/issues/1000): Correct url by removing leading slash. - Fixed [#1021](https://redirect.github.com/phpmd/phpmd/issues/1021): Fix typos - Fixed [#467](https://redirect.github.com/phpmd/phpmd/issues/467) in [#1026](https://redirect.github.com/phpmd/phpmd/issues/1026): Dedupe violation for CamelCaseVariableName. - Fixed [#1031](https://redirect.github.com/phpmd/phpmd/issues/1031): Fix call to undefined getParent() method. - Fixed [#989](https://redirect.github.com/phpmd/phpmd/issues/989) in [#990](https://redirect.github.com/phpmd/phpmd/issues/990): Documentation about coma-separated syntax for multiple paths. ### [`v2.13.0`](https://redirect.github.com/phpmd/phpmd/blob/HEAD/CHANGELOG#phpmd-2130-20220910) [Compare Source](https://redirect.github.com/phpmd/phpmd/compare/2.12.0...2.13.0) \======================== - Require pdepend/pdepend 2.12 - Added PHP 8.1 and 8.2 syntax support See full changes list: - https://github.com/pdepend/pdepend/releases/tag/2.12.0 - https://github.com/pdepend/pdepend/releases/tag/2.11.0 - Added [#943](https://redirect.github.com/phpmd/phpmd/issues/943) Static access add ignore pattern for methods - Added [#958](https://redirect.github.com/phpmd/phpmd/issues/958) Add missing ruleset error message on baseline - Added [#955](https://redirect.github.com/phpmd/phpmd/issues/955) Add Gitlab renderer for Gitlab CI - Fixed [#4](https://redirect.github.com/phpmd/phpmd/issues/4) Typo on Superglobals rule - Fixed [#976](https://redirect.github.com/phpmd/phpmd/issues/976) Avoid deprecated exceptions - Fixed [#977](https://redirect.github.com/phpmd/phpmd/issues/977) Add missing github & gitlab reportfile options - Improved [#954](https://redirect.github.com/phpmd/phpmd/issues/954) npath complexity documentation with example - Improved [#946](https://redirect.github.com/phpmd/phpmd/issues/946) Highlight readme code examples ### [`v2.12.0`](https://redirect.github.com/phpmd/phpmd/blob/HEAD/CHANGELOG#phpmd-2120-20220324) [Compare Source](https://redirect.github.com/phpmd/phpmd/compare/2.11.1...2.12.0) \======================== - Added composer/xdebug-handler 3 support [#930](https://redirect.github.com/phpmd/phpmd/issues/930) - Added GitHub action config for PHP 8.1 [#918](https://redirect.github.com/phpmd/phpmd/issues/918) [#942](https://redirect.github.com/phpmd/phpmd/issues/942) - Fixed [#276](https://redirect.github.com/phpmd/phpmd/issues/276) in [#833](https://redirect.github.com/phpmd/phpmd/issues/833): Disallow capital letter at the beginning in CamelCasePropertyName rule. - Fixed typo in exclude-pattern.xml [#944](https://redirect.github.com/phpmd/phpmd/issues/944) ### [`v2.11.1`](https://redirect.github.com/phpmd/phpmd/blob/HEAD/CHANGELOG#phpmd-2111-20211217) [Compare Source](https://redirect.github.com/phpmd/phpmd/compare/2.11.0...2.11.1) \======================== - Fixed [#925](https://redirect.github.com/phpmd/phpmd/issues/925) [#926](https://redirect.github.com/phpmd/phpmd/issues/926) [#928](https://redirect.github.com/phpmd/phpmd/issues/928): PHP 8.1 deprecation notices ### [`v2.11.0`](https://redirect.github.com/phpmd/phpmd/blob/HEAD/CHANGELOG#phpmd-2110-20211129) [Compare Source](https://redirect.github.com/phpmd/phpmd/compare/2.10.2...2.11.0) \======================== - Added [#815](https://redirect.github.com/phpmd/phpmd/issues/815) in [#817](https://redirect.github.com/phpmd/phpmd/issues/817): Rule name in text output - Fixed [#884](https://redirect.github.com/phpmd/phpmd/issues/884) in [#905](https://redirect.github.com/phpmd/phpmd/issues/905): Avoid unused parameters on PHP 8: Constructor property - Fixed [#870](https://redirect.github.com/phpmd/phpmd/issues/870) in [#906](https://redirect.github.com/phpmd/phpmd/issues/906): False-positive message "Avoid using undefined variables" on a static variable - Fixed [#714](https://redirect.github.com/phpmd/phpmd/issues/714) in [#781](https://redirect.github.com/phpmd/phpmd/issues/781): static:: and self:: properties access ### [`v2.10.2`](https://redirect.github.com/phpmd/phpmd/blob/HEAD/CHANGELOG#phpmd-2102-20210722) [Compare Source](https://redirect.github.com/phpmd/phpmd/compare/2.10.1...2.10.2) \======================== - Added [#898](https://redirect.github.com/phpmd/phpmd/issues/898) in [#902](https://redirect.github.com/phpmd/phpmd/issues/902): Added newline for better ANSI output - Changed [#901](https://redirect.github.com/phpmd/phpmd/issues/901) in [#903](https://redirect.github.com/phpmd/phpmd/issues/903): Improve baseline basepath calculation - Fixed [#894](https://redirect.github.com/phpmd/phpmd/issues/894): Fixed typo in DuplicatedArrayKey title incl. link - Fixed Update PHP Depend to the latest version, this fixed different PHP 8 options: [#889](https://redirect.github.com/phpmd/phpmd/issues/889) [#893](https://redirect.github.com/phpmd/phpmd/issues/893) [#896](https://redirect.github.com/phpmd/phpmd/issues/896) ### [`v2.10.1`](https://redirect.github.com/phpmd/phpmd/blob/HEAD/CHANGELOG#phpmd-2101-20210511) [Compare Source](https://redirect.github.com/phpmd/phpmd/compare/2.10.0...2.10.1) \======================== - Implemented [#885](https://redirect.github.com/phpmd/phpmd/issues/885): Allowing 2.0 version of the composer/xdebug-handler ### [`v2.10.0`](https://redirect.github.com/phpmd/phpmd/blob/HEAD/CHANGELOG#phpmd-2100-20210426) [Compare Source](https://redirect.github.com/phpmd/phpmd/compare/2.9.1...2.10.0) \======================== - Added [#879](https://redirect.github.com/phpmd/phpmd/issues/879): Documentation for Junit export with third party - Added [#836](https://redirect.github.com/phpmd/phpmd/issues/836): Provide option to allow reference to a class in the root namespace without an import - Added [#856](https://redirect.github.com/phpmd/phpmd/issues/856): Adds checkstyle compatible renderer, suitable for cs2pr or reviewdog - Added [#858](https://redirect.github.com/phpmd/phpmd/issues/858) in [#865](https://redirect.github.com/phpmd/phpmd/issues/865): Add SARIF renderer. - Added [#873](https://redirect.github.com/phpmd/phpmd/issues/873) and [#876](https://redirect.github.com/phpmd/phpmd/issues/876): Added option to baseline existing violations - Added [#861](https://redirect.github.com/phpmd/phpmd/issues/861): Docs for GitHub renderer - Added [#868](https://redirect.github.com/phpmd/phpmd/issues/868) In [#869](https://redirect.github.com/phpmd/phpmd/issues/869): Option to ignore globally-namespaced classes from MissingImport - Added [#834](https://redirect.github.com/phpmd/phpmd/issues/834) : Add "tool" property to main "pmd" tag in XML report - Fixed [#673](https://redirect.github.com/phpmd/phpmd/issues/673) in [#782](https://redirect.github.com/phpmd/phpmd/issues/782): Ignore dynamic class name from missing imports - Fixed [#577](https://redirect.github.com/phpmd/phpmd/issues/577) in [#844](https://redirect.github.com/phpmd/phpmd/issues/844): Recognize compact variables with double quotes - Fixed [#818](https://redirect.github.com/phpmd/phpmd/issues/818) in [#822](https://redirect.github.com/phpmd/phpmd/issues/822): Fix passing-by-reference detection - Fixed [#826](https://redirect.github.com/phpmd/phpmd/issues/826) in [#827](https://redirect.github.com/phpmd/phpmd/issues/827): Consider foreach exception only for direct children - Fixed [#851](https://redirect.github.com/phpmd/phpmd/issues/851) in [#852](https://redirect.github.com/phpmd/phpmd/issues/852): Fix multiple underscores in method name when allow-underscore-test is allowed - Fixed [#846](https://redirect.github.com/phpmd/phpmd/issues/846) in [#847](https://redirect.github.com/phpmd/phpmd/issues/847): Catch DevelopmentCodeFragment with fully qualified functions - Fixed [#829](https://redirect.github.com/phpmd/phpmd/issues/829) in [#835](https://redirect.github.com/phpmd/phpmd/issues/835): Fatal error while analyzing anonymous class - Fixed [#816](https://redirect.github.com/phpmd/phpmd/issues/816) in [#818](https://redirect.github.com/phpmd/phpmd/issues/818): Fixed undefined index referring - Changed [#786](https://redirect.github.com/phpmd/phpmd/issues/786): Add convenience method AbstractNode::findChildrenOfTypeVariable() - Changed documentation: [#874](https://redirect.github.com/phpmd/phpmd/issues/874) [#849](https://redirect.github.com/phpmd/phpmd/issues/849) [#724](https://redirect.github.com/phpmd/phpmd/issues/724) - Changed [#514](https://redirect.github.com/phpmd/phpmd/issues/514) in [#872](https://redirect.github.com/phpmd/phpmd/issues/872): Change exit code on processing errors - Changed: Internal code improvement [#839](https://redirect.github.com/phpmd/phpmd/issues/839) [#875](https://redirect.github.com/phpmd/phpmd/issues/875) [#838](https://redirect.github.com/phpmd/phpmd/issues/838) [#862](https://redirect.github.com/phpmd/phpmd/issues/862) [#788](https://redirect.github.com/phpmd/phpmd/issues/788) [#830](https://redirect.github.com/phpmd/phpmd/issues/830) - Changed [#848](https://redirect.github.com/phpmd/phpmd/issues/848) [#864](https://redirect.github.com/phpmd/phpmd/issues/864): Use GitHub actions - Deprecated: getIgnorePattern and setIgnorePattern on PHPMD\PHPMD see [#772](https://redirect.github.com/phpmd/phpmd/issues/772) ### [`v2.9.1`](https://redirect.github.com/phpmd/phpmd/blob/HEAD/CHANGELOG#phpmd-291-20200923) [Compare Source](https://redirect.github.com/phpmd/phpmd/compare/2.9.0...2.9.1) \======================== - Fixed [#714](https://redirect.github.com/phpmd/phpmd/issues/714): Improved static member detection - Fixed [#816](https://redirect.github.com/phpmd/phpmd/issues/816): Fixed undefined index referring ### [`v2.9.0`](https://redirect.github.com/phpmd/phpmd/blob/HEAD/CHANGELOG#phpmd-290-20200902) [Compare Source](https://redirect.github.com/phpmd/phpmd/compare/2.8.2...2.9.0) \======================== - Added [#496](https://redirect.github.com/phpmd/phpmd/issues/496): Added rule for PHP's @ operator - Added [#737](https://redirect.github.com/phpmd/phpmd/issues/737): Allowed custom exclusion for StaticAccess by extending the class - Added [#749](https://redirect.github.com/phpmd/phpmd/issues/749): Added allow-underscore option for CamelCaseParameterName & CamelCaseVariableName - Added [#747](https://redirect.github.com/phpmd/phpmd/issues/747): Long variable subtract suffix - Added [#763](https://redirect.github.com/phpmd/phpmd/issues/763) via [#765](https://redirect.github.com/phpmd/phpmd/issues/765): Added rules LongClassName and ShortClassName - Fixed [#743](https://redirect.github.com/phpmd/phpmd/issues/743): Output for version - Fixed [#754](https://redirect.github.com/phpmd/phpmd/issues/754): Fixed [#720](https://redirect.github.com/phpmd/phpmd/issues/720) undefined variable in foreach when passed by reference - Fixed [#764](https://redirect.github.com/phpmd/phpmd/issues/764): Fixed [#718](https://redirect.github.com/phpmd/phpmd/issues/718) Handle anonymous class in "undefined variable" rule - Fixed [#770](https://redirect.github.com/phpmd/phpmd/issues/770): Fixed [#769](https://redirect.github.com/phpmd/phpmd/issues/769) Handle deconstruction assignation for undefined variable - Fixed [#781](https://redirect.github.com/phpmd/phpmd/issues/781): Fixed [#714](https://redirect.github.com/phpmd/phpmd/issues/714) static:: and self:: properties access - Fixed [#784](https://redirect.github.com/phpmd/phpmd/issues/784): Fixed [#672](https://redirect.github.com/phpmd/phpmd/issues/672) Handle passing-by-reference in native PHP functions - Fixed [#793](https://redirect.github.com/phpmd/phpmd/issues/793): Fixed [#580](https://redirect.github.com/phpmd/phpmd/issues/580) Raise UnusedFormalParameter instead UnusedLocalVariable for unused closure parameter - Fixed [#794](https://redirect.github.com/phpmd/phpmd/issues/794): Fixed [#540](https://redirect.github.com/phpmd/phpmd/issues/540) Detect unused variable declared multiple times - Fixed [#805](https://redirect.github.com/phpmd/phpmd/issues/805): Fixed [#802](https://redirect.github.com/phpmd/phpmd/issues/802) Prevent an error with nested arrays - Fixed [#807](https://redirect.github.com/phpmd/phpmd/issues/807): Fixed [#790](https://redirect.github.com/phpmd/phpmd/issues/790) Fix for short variables rule inside foreach statements - Fixed [#809](https://redirect.github.com/phpmd/phpmd/issues/809): Fixed [#808](https://redirect.github.com/phpmd/phpmd/issues/808) Ignore rule path for suppression annotation - Updated different parts of the documentation. [#717](https://redirect.github.com/phpmd/phpmd/issues/717) [#736](https://redirect.github.com/phpmd/phpmd/issues/736) [#748](https://redirect.github.com/phpmd/phpmd/issues/748) [#811](https://redirect.github.com/phpmd/phpmd/issues/811) - Changed: [#529](https://redirect.github.com/phpmd/phpmd/issues/529) : Replaced HTML renderer with new "pretty HTML" renderer - Changed: [#806](https://redirect.github.com/phpmd/phpmd/issues/806) : Changed [#44](https://redirect.github.com/phpmd/phpmd/issues/44) Change private methods to protected in rules. Make rules extendable - Changed: Internal code improvement [#750](https://redirect.github.com/phpmd/phpmd/issues/750) [#752](https://redirect.github.com/phpmd/phpmd/issues/752) [#756](https://redirect.github.com/phpmd/phpmd/issues/756) [#757](https://redirect.github.com/phpmd/phpmd/issues/757) [#758](https://redirect.github.com/phpmd/phpmd/issues/758) [#759](https://redirect.github.com/phpmd/phpmd/issues/759) [#768](https://redirect.github.com/phpmd/phpmd/issues/768) [#773](https://redirect.github.com/phpmd/phpmd/issues/773) [#775](https://redirect.github.com/phpmd/phpmd/issues/775) [#785](https://redirect.github.com/phpmd/phpmd/issues/785) [#787](https://redirect.github.com/phpmd/phpmd/issues/787) [#791](https://redirect.github.com/phpmd/phpmd/issues/791) [#792](https://redirect.github.com/phpmd/phpmd/issues/792) - Deprecated all the PHPMD exceptions that aren't part of the PHPMD\Exceptions namespace. See [#775](https://redirect.github.com/phpmd/phpmd/issues/775) ##### A potential BC change: With the clean-up in [#768](https://redirect.github.com/phpmd/phpmd/issues/768) we have a potential BC break in an unsupported part that we want to give attention for. > The class aliases `PHP_PMD_*` used for PHPMD 1.x backwards PEAR compatibility were removed. If you happen to still depend on these, please adjust your code like so: > > From `PHP_PMD_[Component]_[Class]'` to `PHPMD\[Component]\[Class]`, > as in `PHP_PMD_Renderer_HTMLRenderer'` to `PHPMD\Renderer\HTMLRenderer`. > See [#768](https://redirect.github.com/phpmd/phpmd/issues/768)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.