Bump phpstan/phpstan from 0.12.98 to 0.12.99
Created by: dependabot[bot]
Bumps phpstan/phpstan from 0.12.98 to 0.12.99.
Release notes
Sourced from phpstan/phpstan's releases.
0.12.99
Improvements
🔧
CompoundTypeHelper
is deprecated (https://github.com/phpstan/phpstan-src/commit/fff85f3c08a38110bca6a13d341778bbd79a2108)- Update
phpstorm-stubs
(https://github.com/phpstan/phpstan-src/commit/6fa12857c88dccfcf58492fc20aaa1f8aaa60535)- Add support for multiple wildcards in const type annotations (#658), #5534,thanks
@Seldaek
!Bleeding edge
🔪
empty()
rule (https://github.com/phpstan/phpstan-src/commit/601460ccecfd72888d96e9c53d21cc3a8b66c719)MissingReturnRule
- make the error non-ignorable for native typehints (https://github.com/phpstan/phpstan-src/commit/9ecefd56d8b1d5cf0100c50d6e620285d5312291)- Check callable parameter types for
array_map()
andarray_filter()
calls, #5609, #5356, #1954- Teach
IssetRule
everything whatVariableCertaintyInIssetRule
does (https://github.com/phpstan/phpstan-src/commit/9689fbd0ed9f8438afc8679c90df61ee48a638fe), #970- Teach
CatchWithUnthrownExceptionRule
everything whatDeadCatchRule
does (https://github.com/phpstan/phpstan-src/commit/165504cf9c4ae6e2dcfc2c3570a631441a411615)- Check that function with
@throws void
does not have an explicit throw point (https://github.com/phpstan/phpstan-src/commit/8b3382aceac801b9801fccda253033d8e8e5f655)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
Bugfixes
🐛
- Fix false-positive when merging unions with plus operator (#657), #5584, thanks
@staabm
!checkExplicitMixed
- replace mixed type recursively (https://github.com/phpstan/phpstan-src/commit/b4f81dbd777f071d78ccfc453c12e82b6f950f11), #5218- Fixed
checkExplicitMixed
withTemplateMixedType
(https://github.com/phpstan/phpstan-src/commit/6ba9ef29cb5ccd5b540815e899c95e6a1602ccad), #3566BaselineNeonErrorFormatter
: Sort errors by normalized relative path (#536), #5085, thanks@dktapps
!- Enter assignment of property fetch's var when in null coalesce operator (https://github.com/phpstan/phpstan-src/commit/7ddfa174a60a15e584c7e6f4fec82237ccd70da8), #3283
- Pass-by-ref argument type passed to callable should be mixed after calling the callable (https://github.com/phpstan/phpstan-src/commit/109bf999b8791f512f2fe82b026ccd67d1f152a2), #5615, #5428, #2191
StubSourceLocatorFactory
- always use PHP 8 parser for PhpStorm stubs (https://github.com/phpstan/phpstan-src/commit/731ce1dd8d65537a61dddac417d5f5169f4bfce6)- support unary-minus on
IntegerRangeType
(#669), thanks@staabm
!array_map
- understand call with multiple arrays (https://github.com/phpstan/phpstan-src/commit/3e0ecec8fc2482e412f67f6a62bdb6542be0fe5d), #5039range()
ofnumeric-string
s can produce array of float|int (https://github.com/phpstan/phpstan-src/commit/3b6f0bf739c77e1fb8fb5116ae89cd70a2ac96c2)Function signature fixes
🤖
- Fix parameter definition for
Grpc\ChannelCredentials::createSsl
(#665), thanks@howyi
!- Make
SimpleXMLElement
stub more specific (#666), thanks@devbanana
!
Commits
-
b4d40f1
PHPStan 0.12.99 -
f92b072
Updated PHPStan to commit 76800bfb578426817fabcedba5ba7ff695bdc74a -
644ea1d
Updated PHPStan to commit 3b6f0bf739c77e1fb8fb5116ae89cd70a2ac96c2 -
65093a3
Updated PHPStan to commit 9c19d6f6fb29a8dbd297b01c841557291e288f20 -
55e6ba5
Updated PHPStan to commit 8b3382aceac801b9801fccda253033d8e8e5f655 -
e5fd67a
Updated PHPStan to commit 8596663270b7b45d227e2184264a1fed7f5e8a57 -
6f7da91
Updated PHPStan to commit 3e0ecec8fc2482e412f67f6a62bdb6542be0fe5d -
7f7c8fc
Revert "Update PMMP baseline" -
d0fde15
Updated PHPStan to commit 9c3b76539a10453fffc5c30e213ffab9dd03c737 -
2c9ae7d
Update PMMP baseline - 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 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)