cli
cli copied to clipboard
Bump the dependencies group with 3 updates
Bumps the dependencies group with 3 updates: composer/semver, phpstan/phpstan and squizlabs/php_codesniffer.
Updates composer/semver
from 3.4.2 to 3.4.3
Release notes
Sourced from composer/semver's releases.
3.4.3
- Fixed some type annotations
Full Changelog: https://github.com/composer/semver/compare/3.4.2...3.4.3
Commits
4313d26
Update changelog578f80e
Fix types6656025
Update CI (#167)df37d00
Bump actions/cache from 2 to 4 (#165)9f46b40
Bump actions/checkout from 2 to 4 (#166)3f29591
Enable dependabot, remove deprecated GH actions code2d9c536
Add PHP 8.3 to GitHub workflows (#164)4b9538f
Prepare tests for PHPUnit 10 (#162)9569a83
Mark all data providers as static (#163)420071a
Fix: resolve PHP 8.3 deprecation in test suite (#161)- See full diff in compare view
Updates phpstan/phpstan
from 1.12.3 to 1.12.4
Release notes
Sourced from phpstan/phpstan's releases.
1.12.4
Improvements 🔧
- Special internal error message for Larastan & Laravel (https://github.com/phpstan/phpstan-src/commit/475a18ce8e0e14e340d7a0939906fffa6dd28e8d), #11641
- Do not truncate offset key in error tip message (#3437), thanks
@ruudk
!- Errors with
argument.named
are ignorable now (https://github.com/phpstan/phpstan-src/commit/193b4f518d53eb3648b09ff131f83979067fec59)- Normalize path in TypeInferenceTestCase (#3449), thanks
@staabm
!- Fix duplicate paths in
composerAutoloaderProjectPaths
on Windows (#3451), thanks@staabm
!- Update nikic/php-parser to 4.19.2 (https://github.com/phpstan/phpstan-src/commit/05630e67fa3809191253e660765573263daab2b9)
- Allow toggling
treatPhpDocTypesAsCertain
tip (#3452), #11689, thanks@ruudk
!Bugfixes 🐛
- Fix conditional types in
array_map()
return value (#3425), #10715, #11056, #10685, thanks@rvanvelzen
!- Fix false positive when extending SplObjectStorage on PHP < 8.4 by updating BetterReflection (Roave/BetterReflection#1448, https://github.com/phpstan/phpstan-src/commit/fd25c2779ca7fd4decee7038282ab9743b16d167), #11665, thanks
@VincentLanglet
!- Prevent warning in
range()
on PHP 7.x (#3424), thanks@staabm
!- Process expression assignments other than Variable in by-ref parameters (https://github.com/phpstan/phpstan-src/commit/d3a2a92fcd612bf42bbfd19cd3a5625481ff7522), #11667, #8781
- Allow nonexistent other-than-Variable expressions in by-ref parameters (https://github.com/phpstan/phpstan-src/commit/00d2caf39514380610899b0a305413f60c1c5830), #11617, #5077, #9361, #7251, #2313, #11655, #2634
- Fix false positive when type casting in If_ statement (#3431), #11674, thanks
@staabm
!- Simplify abs return type (#3433), #9224, thanks
@rvanvelzen
!- Fix late static binding calls (#3361), #10469, thanks
@mvorisek
!- Fix string types sorting (#3441), thanks
@VincentLanglet
!- RegexArrayShapeMatcher - Fix matching literal dot character (#3444), #11699, thanks
@staabm
!- Fix infer new templated type from initial assign into static property (#3364), #5551, thanks
@mvorisek
!range()
with float step should return an array of floats (#3447), #11692, thanks@staabm
!- Narrow string on
*strlen()
with positive-int (#3407), #11558, thanks@staabm
!- Fix late static binding calls for first class callable (#3435), thanks
@mvorisek
!- E_ALL value is different on PHP 8.4 (https://github.com/phpstan/phpstan-src/commit/cb8f9103f4191f176d1b52cc45f661c3326f194f)
Function signature fixes 🤖
- Fix SplObjectStorage generic stub for PHP 8.4 (https://github.com/phpstan/phpstan-src/commit/9d9fb560907fcd4f6dd16789af4278ac7f683736)
Internals 🔍
- Extract getMessageFromInternalError (https://github.com/phpstan/phpstan-src/commit/d047c7f8ef8da296d0498696635735eed1762a4e)
- Optimize NodeScopeResolverTest when running with
paratest
(#3440), thanks@schlndh
!- Expose
Output::isDecorated
andOutput::isVeryVerbose
(#3436), thanks@ruudk
!- Simplify SubstrDynamicReturnTypeExtension (#3439), thanks
@VincentLanglet
!- CollectedDataNode is VirtualNode (https://github.com/phpstan/phpstan-src/commit/2d613997f5a9298b2446d1a0b2f01a565ed8a457)
Commits
ffa517c
PHPStan 1.12.4cb8f910
Updated PHPStan to commit cb8f9103f4191f176d1b52cc45f661c3326f194f9263039
Updated PHPStan to commit 9263039c312f14097dc46fe844c474f3a87eb9115582803
Updated PHPStan to commit 558280316de22a60fcc5850dcce3a094a32ea7607a6a0fa
Updated PHPStan to commit 7a6a0fa20110a99adb61748d97b3f9e0f9dbef8a988f058
Updated PHPStan to commit 988f058478eeb00548d6e1a1e84a629c7934ff9305630e6
Updated PHPStan to commit 05630e67fa3809191253e660765573263daab2b984a7397
Updated PHPStan to commit 84a7397193c250444681437670e3e095eb389787b3aec7c
Updated PHPStan to commit b3aec7cd39bd1c00ed718cf909b38862def0348783bf3ab
Updated PHPStan to commit 83bf3abd885baf88051da651bef4f531ccaebe2d- Additional commits viewable in compare view
Updates squizlabs/php_codesniffer
from 3.10.2 to 3.10.3
Release notes
Sourced from squizlabs/php_codesniffer's releases.
3.10.3 - 2024-09-18
Changed
- Various housekeeping, including improvements to the tests and documentation.
- Thanks to Rodrigo Primo and Juliette Reinders Folmer 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 for the patch
- Fixed bug #579 : AbstractPatternSniff: potential PHP notice during live coding.
- Thanks to Juliette Reinders Folmer for the patch
- Fixed bug #580 : Squiz.Formatting.OperatorBracket: potential PHP notice during live coding.
- Thanks to Juliette Reinders Folmer 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 for the patch.
- Fixed bug #585 : Tokenizer not applying tab replacement in heredoc/nowdoc openers.
- Thanks to Juliette Reinders Folmer for the patch
- Fixed bug #588 : Squiz.PHP.EmbeddedPhp false positive when checking spaces after a PHP short open tag.
- Thanks to Rodrigo Primo for the patch.
- Fixed bug #597 : Generic.PHP.LowerCaseKeyword did not flag nor fix non-lowercase anonymous class keywords.
- Thanks to Marek Štípek 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 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 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 for the patch.
New Contributors
The PHP_CodeSniffer project is happy to welcome the following new contributors:
@maryo
Statistics
Closed: 4 issues Merged: 19 pull requests
If you like to stay informed about releases and more, follow
@phpcs on Mastodon
or@PHP_CodeSniffer on X
.Please consider funding the PHP_CodeSniffer project. If you already do so: thank you!
Changelog
Sourced from squizlabs/php_codesniffer's changelog.
[3.10.3] - 2024-09-18
Changed
- 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.
- Thanks to [Dan Wallis][
@fredden
] for the patch.- Fixed bug #585 : Tokenizer not applying tab replacement in heredoc/nowdoc openers.
- Thanks to [Juliette Reinders Folmer][
@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
] 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
] 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
] 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 patchOther
- 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.#553: PHPCSStandards/PHP_CodeSniffer#553 #574: PHPCSStandards/PHP_CodeSniffer#574 #579: PHPCSStandards/PHP_CodeSniffer#579 #580: PHPCSStandards/PHP_CodeSniffer#580 #581: PHPCSStandards/PHP_CodeSniffer#581 #585: PHPCSStandards/PHP_CodeSniffer#585 #588: PHPCSStandards/PHP_CodeSniffer#588 #597: PHPCSStandards/PHP_CodeSniffer#597 #598: PHPCSStandards/PHP_CodeSniffer#598 #608: PHPCSStandards/PHP_CodeSniffer#608
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 attributes- Additional commits viewable in compare view
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 <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore <dependency name> 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 <dependency name> 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 <dependency name>
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 <dependency name>
will remove all of the ignore conditions of the specified dependency -
@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions