Bump phpstan/phpstan from 1.8.5 to 1.8.6
Created by: dependabot[bot]
Bumps phpstan/phpstan from 1.8.5 to 1.8.6.
Release notes
Sourced from phpstan/phpstan's releases.
1.8.6
Improvements
🔧
- ignoreErrors: multiple messages and explicit
reportUnmatched
(#1686), thanks@MartinMystikJonas
!- Improve JUnit error formatter (#1722), #6772, thanks
@mcaskill
!- Implement template type inference from conditional return type (#1465), #7141, #7562, thanks
@rvanvelzen
!- Optimize
ConstantArrayType::isKeysSupersetOf()
(#1729), #8017, thanks@rvanvelzen
!- Enums cannot implement Serializable (#1713), thanks
@staabm
!- ConditionalTagsExtension: Multiple conditions support (#1697), thanks
@MartinMystikJonas
!- More precise
$argc
,$argv
global variables types (#1718), thanks@staabm
!- Improve folding of constant arrays (#1739), thanks
@rvanvelzen
!- Introduce
oversized-array
type to enfore max number ofHasOffsetValueType
accessory types (#1666), thanks@rvanvelzen
!- ClassReflection - do not execute properties extensions on PHP 8.2 if the class does not allow dynamic properties (https://github.com/phpstan/phpstan-src/commit/a628fb34293c84c807a1a561883811067e49ebcb)
- Improve
UnionTypeHelper::sortTypes()
stability (#1746), thanks@rvanvelzen
!Bleeding edge
🔪 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 checking empty constant arrays in array_pop and array_shift extensions (#1712), #7968, thanks
@herndlm
!- Fix array_filter result for non-trivial callbacks (#1725), #7993, thanks
@rvanvelzen
!- Improve type inference for coalesce (#1716), #7973, thanks
@rvanvelzen
!- Fix assigning generic object without a constructor (like SplObjectStorage) to a nullable property (#1730), #4526, #4680, thanks
@rvanvelzen
!- Accept
::class
as literal string (#1692), #7823, thanks@staabm
!- Fix array_unshift for union of constant arrays (#1738), thanks
@rvanvelzen
!- Improve intersection of generic class string (#1724), #7987, #7200, thanks
@rvanvelzen
!- Downgrade arrays less (https://github.com/phpstan/phpstan-src/commit/5f1a4a5b9c65b588fc4de91804e1ad941a680bd5), #7963
- Do not call
BuilderHelpers::normalizeValue()
, it's not needed (https://github.com/phpstan/phpstan-src/commit/ec286787e76b8cebe322d56dde5bdda65f3ebb74), #8029- Support autoloaders that rely on the include path and don't check file existence before trying to include a file (#1503), #7526, thanks
@pprkut
!Function signature fixes
🤖
gnupg::geterror
can return false (#1735), thanks@Firehed
!- Improve
pathinfo()
return type (#1734), #8033, thanks@rvanvelzen
!
... (truncated)
Commits
-
c386ab2
PHPStan 1.8.6 -
cbf2ce1
Update ignoring-errors.md -
0688dec
ignoreErrors: multiple messages in and explicit reportUnmatched -
ede35bb
Updated PHPStan to commit 8bd73706ed4cf064484d08803dd7e5b8c4f34993 -
2c7c2cd
Updated PHPStan to commit 2531ca32902479ceeaa9e0034aeacefb7335d2bf -
1da7f85
Reproduce Phalcon 5 problem -
60d2e24
Updated PHPStan to commit b0babd082514303ec62deb5f16cf330f845c1821 -
a98d279
Add integration test for autoload-psr (C-based autoloader) -
a6a7bc2
Updated PHPStan to commit a628fb34293c84c807a1a561883811067e49ebcb -
65b94f8
Fix - 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)