DictionaryBundle
DictionaryBundle copied to clipboard
chore(deps-dev): update phpstan/phpstan requirement from 1.11.3 to 1.12.1
Updates the requirements on phpstan/phpstan to permit the latest version.
Release notes
Sourced from phpstan/phpstan's releases.
1.12.1
Bleeding edge 🔪
- Check if required file exists (#3294), #3397, thanks
@Bellangelo
!- Check generics
@method
@template
tags above traits (https://github.com/phpstan/phpstan-src/commit/aadbf62d3ae4517fc7a212b07130bedcef8d13ac)- Check
@mixin
PHPDoc tag above traits (https://github.com/phpstan/phpstan-src/commit/0d0de946900adf4eb3c799b1b547567536e23147)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.neon
Of 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 dot-prefixed config files (#3354), thanks
@sreichel
!
- Respect dist order over dot order (#3379), thanks
@VincentLanglet
!- Update PhpStorm stubs + refactor WithoutSideEffectsRule classes (#3377), thanks
@VincentLanglet
!- TypeSpecifier: Narrow
(bool) $expr
like$expr != false
(#3380), #8881, #7685, #6006, #10528, thanks@staabm
!- TypeSpecifier: Narrow
(string) $expr
like$expr != false
(#3387), thanks@staabm
!- TypeSpecifier: Narrow
(int) $expr
like$expr != false
(#3384), thanks@staabm
!- TypeSpecifier: Narrow
(float) $expr
like$expr != false
(#3391), thanks@staabm
!- Add missing rule to StubValidator (https://github.com/phpstan/phpstan-src/commit/085fcf40fefa63fc3672897276e460a6405206fb)
- Support
@mixin
above traits (https://github.com/phpstan/phpstan-src/commit/f5e2e32932644d61b3745e3b0f2c0910f722a86d)Bugfixes 🐛
- Fix
array_filter
with callback optional persistance (#3366), #11570, thanks@robotomarvin
!- RegexArrayShapeMatcher - infer constant string types in alternations (#3369), #11222, thanks
@staabm
!- RegexArrayShapeMatcher - improve type inference in alternations (#3375), thanks
@staabm
!- Fix error on offset assignment to specialized strings (#3365), #11572, thanks
@staabm
!- Narrow string on
strlen() ==
and===
comparison with integer range (#3342), #11548, thanks@staabm
!- Fix
get_debug_type
produces wrong type for anonymous classes with parent (#3374), #11562, thanks@patrickkusebauch
!- Fix preserving list when setting union offset type to a ConstantArrayTypeBuilder (#3382), thanks
@VincentLanglet
!- Fix
preg_replace()
return type (#3338), #11547, thanks@staabm
!- Detect function variadic-ness anywhere deep in the declaration file (#3370), #11559, #4753, thanks
@staabm
!- Add DateTimeSubMethodThrowTypeExtension (#3378), #11503, thanks
@VincentLanglet
!- Do not report
static
in PHPDoc tags above traits as an error (https://github.com/phpstan/phpstan-src/commit/777a82a0dc9d6a64a709c30a2e5bdb030b634464), #11591- RegexArrayShapeMatcher - Fix alternations containing a
$
-only case (#3394), #11622, thanks@staabm
!- Do not report missing implementation abstract method from trait when it's implicitly implemented by enum (https://github.com/phpstan/phpstan-src/commit/c50b71fd961e9009419b8fddac835b15696f4ff5), #11592
- Fix how well conditional types play with pre-existing
@param-out
variable after assignment (https://github.com/phpstan/phpstan-src/commit/5892e8debfbe2f44306e6707c457665784b7dacd), #11580, #6642
... (truncated)
Commits
d8ed7ff
PHPStan 1.12.15892e8d
Updated PHPStan to commit 5892e8debfbe2f44306e6707c457665784b7dacd9e61f32
Update errors identifiers5909fb2
Updated PHPStan to commit 5909fb2dc78cbee46927c2cb23f7491dfef341652867030
Update errors identifiersc50b71f
Updated PHPStan to commit c50b71fd961e9009419b8fddac835b15696f4ff50f026c5
Update errors identifiersf5e2e32
Updated PHPStan to commit f5e2e32932644d61b3745e3b0f2c0910f722a86d058e74f
Updated PHPStan to commit 058e74f2b27e8f58669f7fb115741d6b27c50c805aeb128
Update errors identifiers- 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 this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)