Fixed bug #366 : Generic.CodeAnalysis.UselessOverridingMethod : prevent false negative when the declared method name and the called method name do not use the same case.
Thanks to [Jay McPartland][@jonmcp] and [Rodrigo Primo][@rodrigoprimo] for the patches.
Changed
The following sniffs have received performance related improvements:
Generic.CodeAnalysis.UselessOverridingMethod
Generic.Files.ByteOrderMark
Thanks to [Rodrigo Primo][@rodrigoprimo] for the patches.
Performance improvement for the "Diff" report. Should be most notable for Windows users. #355
Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
The test suite has received some performance improvements. Should be most notable contributors using Windows. #351
External standards with sniff tests using the PHP_CodeSniffer native test framework will also benefit from these changes.
Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
Various housekeeping, including improvements to the tests and documentation.
Thanks to [Jay McPartland][@jonmcp], [João Pedro Oliveira][@jpoliveira08], [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions.
Fixed
Fixed bug #289 : Squiz.WhiteSpace.OperatorSpacing and PSR12.Operators.OperatorSpacing : improved fixer conflict protection by more strenuously avoiding handling operators in declare statements.
Fixed bug #366 : Generic.CodeAnalysis.UselessOverridingMethod : prevent false negative when the declared method name and the called method name do not use the same case.
Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch.
Fixed bug #368 : Squiz.Arrays.ArrayDeclaration fixer did not handle static closures correctly when moving array items to their own line.
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 2 updates: phpstan/phpstan and squizlabs/php_codesniffer.
Updates
phpstan/phpstan
from 1.10.59 to 1.10.66Release notes
Sourced from phpstan/phpstan's releases.
... (truncated)
Commits
94779c9
PHPStan 1.10.665473b67
Updated PHPStan to commit 5473b6701c1a9dd3ca1eb676b3b2c0dec43f2535927d71f
Updated PHPStan to commit 927d71f11365c774a95cb4d8f65a1b1077472fa4fd2e0a6
Updated PHPStan to commit fd2e0a6b7d599c4783d0a79831ecbae56999c765996f194
Updated PHPStan to commit 996f194ee0fd004bdee5b147e8a02c018ea4a72e40a20d2
Updated PHPStan to commit 40a20d2a3c5c6956b5df52d31855d64c463c3936986cbdf
Updated PHPStan to commit 986cbdfb2fd0c3de71b31ac3f212bd499d2131e1795a560
Updated PHPStan to commit 795a560e55022174e2fdf5ca8d72fd0506bae161f9d118f
Updated PHPStan to commit f9d118fc96c0d1dac84d649b07e13cfc688f346bb16dbaf
Updated PHPStan to commit b16dbafd51675a9b63e1f87f7f0bf57bde96024dUpdates
squizlabs/php_codesniffer
from 3.9.0 to 3.9.1Release notes
Sourced from squizlabs/php_codesniffer's releases.
Changelog
Sourced from squizlabs/php_codesniffer's changelog.
Commits
267a440
Merge pull request #428 from PHPCSStandards/feature/changelog-3.9.19daf6fb
Changelog for the 3.9.1 release218d2a5
Merge pull request #379 from michalbundyra/fix/followup-369fff9d82
Follow-up #369 - Squiz.Arrays.ArrayDeclaration for staticeeb5c29
Merge pull request #426 from PHPCSStandards/feature/tests-fix-invalid-testcase36aa41a
IsReferenceTest: fix invalid test casec5e1807
Merge pull request #422 from PHPCSStandards/feature/test-othercontextsensitiv...6f46b10
Tests/OtherContextSensitiveKeywordsTest: fix unintentional parse error846fbf0
Merge pull request #417 from PHPCSStandards/feature/contributing-add-note-abo...cf42e5b
CONTRIBUTING: add note about the community cc-listDependabot 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