FlyFinder
FlyFinder copied to clipboard
Bump phpstan/phpstan from 1.12.3 to 1.12.5
Bumps phpstan/phpstan from 1.12.3 to 1.12.5.
Release notes
Sourced from phpstan/phpstan's releases.
1.12.5
Improvements 🔧
- Deprecate
ParametersAcceptorSelector::selectSingle()(https://github.com/phpstan/phpstan-src/commit/23c53a2210b715f672ad3087dd476faf34bdec6e)- Introduce
lowercase-string(#3438), thanks@VincentLanglet!- More precise mixed-type subtraction in
toInteger()(#3434), thanks@staabm!- More precise
MixedType::toString()with subtracted type (#3420), thanks@staabm!- More precise
MixedType::toBoolean()with subtracted type (#3471), thanks@staabm!- Improve loose comparison for integer ranges (#3465), #11694, thanks
@VincentLanglet!- Truthy
isset($arr[$k])should narrow$k(#3453), #11716, #8559, thanks@staabm!isset()narrows string-key in int-keyed-array to numeric-string (#3472), thanks@staabm!Bugfixes 🐛
- Add generic types for array_values (#3456), thanks
@schlndh!- Support IntegerRangeType in ConstantStringType offset-value-type handling (#3462), thanks
@staabm!- Fix bug with oversized array (#3461), #11703, thanks
@VincentLanglet!- Fix ErrorType after ArrayDimFetch (#3460), thanks
@staabm!- Implement ClosureType::getReferencedTemplateTypes() (#3458), #10609, thanks
@jiripudil!- Fix substracted union type describe (#3360), #10227, thanks
@mvorisek!- Fix including relative path (https://github.com/phpstan/phpstan-src/commit/098fb9416779240fab9b2dea1ee730da69668014), #11738
- Fix
sprintf()inference for constant values with format-width in pattern (#3474), thanks@staabm!- Drop wrong float comparison for
filter_var()(#2656), thanks@mvorisek!Function signature fixes 🤖
- Change
iptcparsereturn type (#3483), thanks@ManuelHu!Internals 🔍
- More specific return type for methods used to analyse currently entered function or method (https://github.com/phpstan/phpstan-src/commit/0e2587fae6e65be54ecbd47d33277d3f529d44d1)
- PhpFunctionFromParserNodeReflection becomes ParametersAcceptorWithPhpDocs (https://github.com/phpstan/phpstan-src/commit/1bea5c79d53e06f6cdd481decba73b504fb4bec0)
- Use methods directly on PhpFunctionFromParserNodeReflection instead of
selectSingle()when analysing function body in rules (https://github.com/phpstan/phpstan-src/commit/41916ba39d429d096d5234acedcfe75f22025785)- Use methods directly on PhpFunctionFromParserNodeReflection instead of
selectSingle()in MutatingScope (https://github.com/phpstan/phpstan-src/commit/865c618f82030cbc2e915c6da6bd424bc9b8aa41)- Use
ParametersAcceptorSelector::selectFromArgs()instead ofselectSingle()wherever possible (https://github.com/phpstan/phpstan-src/commit/e283d3a6df7df502f3c3e70bc086dd2018dc965b)- Use PhpFunctionFromParserNodeReflection as ParametersAcceptor in DependencyResolver (https://github.com/phpstan/phpstan-src/commit/7e216a274f00bf0a77a72628c884fdd4cb6c24c6)
- Use methods directly on PhpFunctionFromParserNodeReflection instead of
selectSingle()in ParametersAcceptorSelector (https://github.com/phpstan/phpstan-src/commit/1322aaf1d029c8db49c4c72742cb3d46f56be132)- Introduce
@internalgetOnlyVariant()method on FunctionReflection/ExtendedMethodReflection to use instead ofselectSingle()(https://github.com/phpstan/phpstan-src/commit/714877be8cafc1ba08610929e4dcb0d43273cc8d)- Add
Type::chunkArray()(#3408), thanks@herndlm!- Add more mixed-type bool subtraction tests (#3421), thanks
@staabm!- Made IssetExpr part of BC promise (https://github.com/phpstan/phpstan-src/commit/5677025877c6a8aef51b500cd461e8dbda6dab8c)
- Refactor RegexGroupParser for more immutability and less pass-by-ref (#3479), thanks
@staabm!
... (truncated)
Commits
7e6c6cbPHPStan 1.12.55ff4cabUpdated PHPStan to commit 5ff4cab1296b9a447bb1e39de601208a80733e9b23c53a2Updated PHPStan to commit 23c53a2210b715f672ad3087dd476faf34bdec6e714877bUpdated PHPStan to commit 714877be8cafc1ba08610929e4dcb0d43273cc8dc83196bUpdated PHPStan to commit c83196bef4ab9f48591c25d2a216c90b51fa6740fd304caUpdated PHPStan to commit fd304ca33f9653bdb30b3f6a4f1cddaed34c7343ae53f11Updated PHPStan to commit ae53f11329d9203dd4ac83df2d7338ed1a4c2d839f13233Updated PHPStan to commit 9f13233ec7c1caa6554867ca5be63552e5914ec931362ebUpdated PHPStan to commit 31362eb1971a0d408bf4565da077397adaa0733f18196e9Updated PHPStan to commit 18196e9ec47ef933cb65a7e97d2b37d7ecc4518b- 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)