reliforp / reli-prof

A sampling profiler or a memory profiler for PHP written in PHP, which reads information about running PHP VM from outside the process. You can find performance bottlenecks or memory leaks of your scripts without changing the target script or loading extensions.
MIT License
461 stars 15 forks source link

Update dependency squizlabs/php_codesniffer to v3.10.3 #469

Open renovate[bot] opened 3 months ago

renovate[bot] commented 3 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
squizlabs/php_codesniffer 3.10.1 -> 3.10.3 age adoption passing confidence

Release Notes

PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer) ### [`v3.10.3`](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/CHANGELOG.md#3103---2024-09-18) [Compare Source](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.2...3.10.3) ##### Changed - Various housekeeping, including improvements to the tests and documentation. - Thanks to \[Rodrigo Primo]\[[@​rodrigoprimo](https://redirect.github.com/rodrigoprimo)] and \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for their contributions. ##### Fixed - Fixed bug [#​553] : Squiz.Classes.SelfMemberReference: false negative(s) when namespace operator was encountered between the namespace declaration and the OO declaration. - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch - Fixed bug [#​579] : AbstractPatternSniff: potential PHP notice during live coding. - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch - Fixed bug [#​580] : Squiz.Formatting.OperatorBracket: potential PHP notice during live coding. - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch - Fixed bug [#​581] : PSR12.ControlStructures.ControlStructureSpacing: prevent fixer conflict by correctly handling multiple empty newlines before the first condition in a multi-line control structure. - Thanks to \[Dan Wallis]\[[@​fredden](https://redirect.github.com/fredden)] for the patch. - Fixed bug [#​585] : Tokenizer not applying tab replacement in heredoc/nowdoc openers. - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch - Fixed bug [#​588] : Squiz.PHP.EmbeddedPhp false positive when checking spaces after a PHP short open tag. - Thanks to \[Rodrigo Primo]\[[@​rodrigoprimo](https://redirect.github.com/rodrigoprimo)] for the patch. - Fixed bug [#​597] : Generic.PHP.LowerCaseKeyword did not flag nor fix non-lowercase anonymous class keywords. - Thanks to \[Marek Štípek]\[[@​maryo](https://redirect.github.com/maryo)] for the patch. - Fixed bug [#​598] : Squiz.PHP.DisallowMultipleAssignments: false positive on assignments to variable property on object stored in array. - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch - Fixed bug [#​608] : Squiz.Functions.MultiLineFunctionDeclaration did not take (parameter) attributes into account when checking for one parameter per line. - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch ##### Other - The provenance of PHAR files associated with a release can now be verified via [GitHub Artifact Attestations][ghattest] using the [GitHub CLI tool][ghcli] with the following command: `gh attestation verify [phpcs|phpcbf].phar -o PHPCSStandards`. [#​574] - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch. [#​553]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/553 [#​574]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/574 [#​579]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/579 [#​580]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/580 [#​581]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/581 [#​585]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/585 [#​588]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/588 [#​597]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/597 [#​598]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/598 [#​608]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/608 [ghcli]: https://cli.github.com/ [ghattest]: https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds ### [`v3.10.2`](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/CHANGELOG.md#3102---2024-07-22) [Compare Source](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.1...3.10.2) ##### Changed - The following sniff(s) have received efficiency improvements: - Generic.Functions.FunctionCallArgumentSpacing - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch. - The array format of the information passed to the `Reports::generateFileReport()` method is now documented in the Reports interface. [#​523] - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch. - Various housekeeping, including improvements to the tests and documentation. - Thanks to \[Bill Ruddock]\[[@​biinari](https://redirect.github.com/biinari)], \[Dan Wallis]\[[@​fredden](https://redirect.github.com/fredden)], \[Klaus Purer]\[[@​klausi](https://redirect.github.com/klausi)], \[Rodrigo Primo]\[[@​rodrigoprimo](https://redirect.github.com/rodrigoprimo)] and \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for their contributions. ##### Fixed - Fixed bug [#​513] : Generic.Functions.FunctionCallArgumentSpacing did not ignore the body of a match expressions passed as a function argument, which could lead to false positives. - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch - Fixed bug [#​533] : Generic.WhiteSpace.DisallowTabIndent: tab indentation for heredoc/nowdoc closers will no longer be auto-fixed to prevent parse errors. The issue will still be reported. - The error code for heredoc/nowdoc indentation using tabs has been made more specific - `TabsUsedHeredocCloser` - to allow for selectively excluding the indentation check for heredoc/nowdoc closers. - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch - Fixed bug [#​534] : Generic.WhiteSpace.DisallowSpaceIndent did not report on space indentation for PHP 7.3 flexible heredoc/nowdoc closers. - Closers using space indentation will be reported with a dedicated error code: `SpacesUsedHeredocCloser`. - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch - Fixed bug [#​537] : Squiz.PHP.DisallowMultipleAssignments false positive for list assignments at the start of a new PHP block after an embedded PHP statement. - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch - Fixed bug [#​551] : Squiz.PHP.DisallowMultipleAssignments prevent false positive for function parameters during live coding. - Thanks to \[Rodrigo Primo]\[[@​rodrigoprimo](https://redirect.github.com/rodrigoprimo)] for the patch. - Fixed bug [#​554] : Generic.CodeAnalysis.UselessOverridingMethod edge case false negative when the call to the parent method would end on a PHP close tag. - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch - Fixed bug [#​555] : Squiz.Classes.SelfMemberReference edge case false negative when the namespace declaration would end on a PHP close tag. - Thanks to \[Juliette Reinders Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the patch [#​513]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/513 [#​523]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/523 [#​533]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/533 [#​534]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/534 [#​537]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/537 [#​551]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/551 [#​554]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/554 [#​555]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/555

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 becomes conflicted, 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.

coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 10033683384

Details


Totals Coverage Status
Change from base Build 9330867875: 0.0%
Covered Lines: 5554
Relevant Lines: 6785

💛 - Coveralls