Bump phpstan/phpstan from 1.4.6 to 1.5.2
Created by: dependabot[bot]
Bumps phpstan/phpstan from 1.4.6 to 1.5.2.
Release notes
Sourced from phpstan/phpstan's releases.
1.5.2
Bugfixes
🐛
- Fix infinite recursion when caching types (#1137), #6896, #6911
- Fixing bugs by removing caching
😂 - Timewise performance optimizations (https://github.com/phpstan/phpstan-src/commit/22f755c6a0bf5fd551634419680070fabf571a07)
- Offseting the removal of PHPDocs cache
1.5.1
Bugfixes
🐛
is_subclass_of()
: do not infer anything when context is falsy (#1124), #6891, thanks@VincentLanglet
!- Fix inferring template types on intersection types (#1122), #6904, #6917, thanks
@rvanvelzen
!Function signature fixes
🤖
- more precise
getTrace()
return-type (#1123), thanks@staabm
!- Fix type definition of curl "certinfo" array (#1118), thanks
@cs278
!- Update various DB functions for more specific row counts (#1116), thanks
@Seldaek
!- small signature update (#1126), thanks
@staabm
!Internals
🔍
- tests: use unique namespace to prevent collisions (#1119), thanks
@staabm
!- ParaTest: leverage WrapperRunner for quicker tests (#1115), thanks
@Slamdunk
!- LevelsTestCase performance improvement - clear result cache just once (https://github.com/phpstan/phpstan-src/commit/0a3e1a79738070c95e3a69406b33d9277a49840c)
- Update phpdoc-parser to 1.4 (https://github.com/phpstan/phpstan-src/commit/6700eb69c1566190f3cad75fd5fa3edba64fce8e, https://github.com/phpstan/phpstan-src/commit/a3a7fad5b75dbf30e7685aac148e4b89b3e60509)
- Update BetterReflection to 5.3 (#1132)
1.5.0
This release fixes 26 issues!
🎉 Improvements
🔧
- Dropped support for PHP 7.1, PHPStan 1.5.0 runs on PHP 7.2-8.1. Users on PHP 7.1 accounted only for 0.8 % of installatoins.
- Allow null as a return value when resolving return types (#1061), #5855, thanks
@matthiasnoback
!- Output elapsed time per file in debug mode (#1062), #5294, thanks
@janedbal
!- A bit more precise concatenation of unions of literal strings (#937), #6439, thanks
@staabm
!OptimizedDirectorySourceLocator::locateIdentifiersByType()
returns all located classes or functions (#1080), thanks@tomasfejfar
!- Backward compatibility promise: ReflectionProvider cannot be extended/implemented by 3rd party code (https://github.com/phpstan/phpstan-src/commit/e60d6d6e9637db8a00bfd11cf446fabb3d545aa2)
- implement
ArraySearchFunctionTypeSpecifyingExtension
(#1086), #6863, thanks@staabm
!- added
ArrayReplaceFunctionReturnTypeExtension
(#1087), #5327, thanks@staabm
!- Dynamic return type extension for
curl_getinfo
(#1072), thanks@PrinsFrank
!- Support intersection types in template bounds (#1101), #6649, thanks
@rvanvelzen
!- Support
value-of<BackedEnum>
(#1082), #6775, thanks@staabm
!
... (truncated)
Commits
-
f32e95f
PHPStan 1.5.2 -
74869db
Updated PHPStan to commit 22f755c6a0bf5fd551634419680070fabf571a07 -
f3dbd26
Updated PHPStan to commit 35a374a2eeecd0e6686c745343413da6ef76c971 -
6293dd6
Updated PHPStan to commit 283915322e56a44eccab500d70b95ca9b4d6b759 -
cc67578
PHPStan 1.5.1 -
1cfc0ca
Update Composer baseline -
61b0466
Update Rector baseline -
d38df8c
Updated PHPStan to commit 367a316e4f963cfbde4f861010153dd27b6ab62c -
e87481b
Update version constraint -
c1b0859
Updated PHPStan to commit 6700eb69c1566190f3cad75fd5fa3edba64fce8e - 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)