a11ybuddy
a11ybuddy copied to clipboard
Bump phpstan/phpstan from 1.11.9 to 1.11.10
Bumps phpstan/phpstan from 1.11.9 to 1.11.10.
Release notes
Sourced from phpstan/phpstan's releases.
1.11.10
Bleeding edge 🔪
- Precise array shape for
preg_replace_callback()$matches(#3281), thanks@staabm!- Report invalid exclude paths in PHP config (https://github.com/phpstan/phpstan-src/commit/9718c14f1ffac81ba3d2bf331b4e8b4041a4d004)
If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's
phpstan.neon:includes: - vendor/phpstan/phpstan/conf/bleedingEdge.neonOf course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more
Improvements 🔧
- Allow nonexistent paths in excludePaths by appending
(?)(https://github.com/phpstan/phpstan-src/commit/39649c2b9db016edabdb813dfe39ae0fd46e0c09, https://github.com/phpstan/phpstan-src/commit/be65babffe40c48c303411abf8a56116a274b893), #11436- Do not report nonexistent paths in ignoreErrors if
reportUnmatchedIgnoredErrors: false(https://github.com/phpstan/phpstan-src/commit/b7fe9900d5933ffdbdeeb2b10877fd2764cb8bb8), #11436- Narrow tagged unions based on
count()with array size (#3302), thanks@staabm!Bugfixes 🐛
- RegularExpressionPatternRule: fix false positive in preg_quote() handling (#3280), #11432, thanks
@staabm!- Support literal strings in RegexGroupParser (#3284), thanks
@staabm!- Support classes of literal strings in RegexGroupParser (#3285), thanks
@staabm!- Don't infer constant types for "i"-modfied patterns (#3288), thanks
@staabm!- Support non-falsy-string in RegexGroupParser (#3289), thanks
@staabm!- RegexGroupParser: Ignore whitespaces on "x"-modified patterns (#3291) (#3291), thanks
@staabm!- RegexArrayShapeMatcher: fix preg_match_all with PREG_OFFSET_CAPTURE (#3292), #11457, thanks
@staabm!- RegexArrayShapeMatcher - Fix subject types (#3300), thanks
@staabm!- Fix
ConstantArrayType::isSuperTypeOf()for empty array (https://github.com/phpstan/phpstan-src/commit/ed6bc0b93499b5c7463ba05aefb1377b9eb9d1e0)- is_resource: adjust type specification for truthy context only (#3298), #9687, thanks
@janedbal!- Fix loose comparison between '1' and '+1' (#3301), thanks
@thg2k!Function signature fixes 🤖
- Update some mysqli function return types (#3279), #8345, thanks
@mattschlosser!Internals 🔍
- Extracted RegexGroupParser from RegexArrayShapeMatcher (#3278), thanks
@staabm!- E2E test about path validation in ignoreErrors and excludePaths (https://github.com/phpstan/phpstan-src/commit/9246976958fb22e3464f7a25ef2ab97caed5aa44)
- RegularExpressionPatternRuleTest: utilize
preg_match()array shape tests (#3290), thanks@staabm!- Simplify RegexArrayShapeMatcher (#3293), thanks
@staabm!
... (truncated)
Commits
640410bPHPStan 1.11.10b7fe990Updated PHPStan to commit b7fe9900d5933ffdbdeeb2b10877fd2764cb8bb8b7ec800Updated PHPStan to commit b7ec800b059316d33fb1cc370229bfe5b4143123ed6bc0bUpdated PHPStan to commit ed6bc0b93499b5c7463ba05aefb1377b9eb9d1e06321600Updated PHPStan to commit 63216003befc80712b927c54235dc70cd2c3d134080280fUpdated PHPStan to commit 080280f549bad9bd285de3ea720d34021d165ca4285ca8bUpdated PHPStan to commit 285ca8b7117a46008039adea0c4806c7d52f21dc9a3c102Updated PHPStan to commit 9a3c102fec4ab55bdd5c97e785dc92b368b5a9beabf47daUpdate baselines2acc115Updated PHPStan to commit 2acc115f97bfba95af0f3ef2e0134d84c7897fe3- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)