Fixed bug #553 : Squiz.Classes.SelfMemberReference: false negative(s) when namespace operator was encountered between the namespace declaration and the OO declaration.
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.
Fixed bug #608 : Squiz.Functions.MultiLineFunctionDeclaration did not take (parameter) attributes into account when checking for one parameter per line.
The provenance of PHAR files associated with a release can now be verified via GitHub Artifact Attestations using the GitHub CLI tool with the following command: gh attestation verify [phpcs|phpcbf].phar -o PHPCSStandards. #574
Various housekeeping, including improvements to the tests and documentation.
Thanks to [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@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] for the patch
Fixed bug #579 : AbstractPatternSniff: potential PHP notice during live coding.
Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
Fixed bug #580 : Squiz.Formatting.OperatorBracket: potential PHP notice during live coding.
Thanks to [Juliette Reinders Folmer][@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.
Fixed bug #598 : Squiz.PHP.DisallowMultipleAssignments: false positive on assignments to variable property on object stored in array.
Thanks to [Juliette Reinders Folmer][@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] for the patch
Other
The provenance of PHAR files associated with a release can now be verified via GitHub Artifact Attestations using the GitHub CLI tool with the following command: gh attestation verify [phpcs|phpcbf].phar -o PHPCSStandards. #574
Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the dev-dependencies group with 3 updates: glpi-project/tools, phpstan/phpstan and squizlabs/php_codesniffer.
Updates
glpi-project/tools
from 0.7.3 to 0.7.4Changelog
Sourced from glpi-project/tools's changelog.
Commits
65a09a9
Update changelog5a66f06
Fix compatibility with Twig 3.12Updates
phpstan/phpstan
from 1.12.0 to 1.12.5Release notes
Sourced from phpstan/phpstan's releases.
... (truncated)
Commits
7e6c6cb
PHPStan 1.12.55ff4cab
Updated PHPStan to commit 5ff4cab1296b9a447bb1e39de601208a80733e9b23c53a2
Updated PHPStan to commit 23c53a2210b715f672ad3087dd476faf34bdec6e714877b
Updated PHPStan to commit 714877be8cafc1ba08610929e4dcb0d43273cc8dc83196b
Updated PHPStan to commit c83196bef4ab9f48591c25d2a216c90b51fa6740fd304ca
Updated PHPStan to commit fd304ca33f9653bdb30b3f6a4f1cddaed34c7343ae53f11
Updated PHPStan to commit ae53f11329d9203dd4ac83df2d7338ed1a4c2d839f13233
Updated PHPStan to commit 9f13233ec7c1caa6554867ca5be63552e5914ec931362eb
Updated PHPStan to commit 31362eb1971a0d408bf4565da077397adaa0733f18196e9
Updated PHPStan to commit 18196e9ec47ef933cb65a7e97d2b37d7ecc4518bUpdates
squizlabs/php_codesniffer
from 3.10.2 to 3.10.3Release notes
Sourced from squizlabs/php_codesniffer's releases.
Changelog
Sourced from squizlabs/php_codesniffer's changelog.
Commits
62d3299
Merge pull request #615 from PHPCSStandards/feature/changelog-3.10.3863be8c
Changelog for the 3.10.3 release2809074
Merge pull request #614 from PHPCSStandards/feature/docs-various-fixes35e259b
Docs: various minor fixes335318f
Merge pull request #612 from PHPCSStandards/dependabot/github_actions/DavidAn...5bc630c
GH Actions: Bump DavidAnson/markdownlint-cli2-action from 16 to 1716b6f35
Merge pull request #610 from PHPCSStandards/feature/598-squiz-disallowmultipl...0ab692a
Squiz/DisallowMultipleAssignments: bug fix - dynamic property assignment on o...b87dafd
Merge pull request #609 from PHPCSStandards/feature/608-squiz-multilinefuncti...f39847a
Squiz/MultiLineFunctionDeclaration: bug fix - skip over attributesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show