Bump phpstan/phpstan from 1.4.6 to 1.4.9
Created by: dependabot[bot]
Bumps phpstan/phpstan from 1.4.6 to 1.4.9.
Release notes
Sourced from phpstan/phpstan's releases.
1.4.9
Improvements
🔧
Identical
(===
and!==
) andEqual
(==
and!=
) with the same variables resolve toConstantBooleanType
(https://github.com/phpstan/phpstan-src/commit/98c4d84ec983fb36992119d4c393d7192a2a99b6)- Scalars of the same type on both of
Equal
(==
and!=
) are delegated toIdentical
(===
and!==
) (https://github.com/phpstan/phpstan-src/commit/316f269d6e81fcfa435f74cb1155076e349f053f)Bugfixes
🐛
- Fix trait detection recursion (#1050), #6740, thanks
@herndlm
!- Do not add
null
to a template type for a default parameter valuenull
(https://github.com/phpstan/phpstan-src/commit/7a66cb6eda85703811c7dce472355e036d70c144), #6584- Fix nullable closure parameter type (https://github.com/phpstan/phpstan-src/commit/c05ba984a08d1fa50e0edf63e99a9a893e78e821), #6701
- TemplateType - fix description for subtracted mixed bound (https://github.com/phpstan/phpstan-src/commit/6525d6805b1beece69ec97802bdf16dd8545cfdf)
- Fix dead catch when iterating objects (#1051), #5903, thanks
@rajyan
!- Fix false positive dead catch on property assignment (#1047), #6256, thanks
@rajyan
!- Fix template type subtraction and union (https://github.com/phpstan/phpstan-src/commit/51e2df38ee7fbda5416e1c5c1091dacf8618f3e1), #6591
- Simulate
offsetSet
to get throw points for ArrayAccess assignment (#1054), #4852, thanks@rajyan
!- Make return type extension for
array_column()
aware of PHP version (#1053), thanks@jlherren
!- Fix Unused private constant with an indirect access (#1059), #6758, thanks
@rajyan
!- Fix
Equal
(==
and!=
) handling in TypeSpecifier (https://github.com/phpstan/phpstan-src/commit/10b295f3cde7d91cc2b2784fc012910be6a06fb8)- Fix more TypeSpecifier issues regarding
Identical
(===
and!==
) (#1058)1.4.8
Improvements
🔧
- Validate
ignoreErrors
regexes during DIC compilation (save time in each run) (https://github.com/phpstan/phpstan-src/commit/692158c194eff722167f5316d31369a188a88a72), #6693- Validate
parametersSchema
only during DIC compilation (https://github.com/phpstan/phpstan-src/commit/50f25e95ad2f99d9fb73e512ac9b54599653305b)- Retain left and right types in
==
and===
expression (#1046), thanks@herndlm
!- Add support for integer ranges in
strtotime()
with constant strings (#1045), thanks@Seldaek
!Bugfixes
🐛
- Fix
is_subclass_of
with same class (#1044), #6305, thanks@herndlm
!- Fix Incorrectly nested style tag found for narrow terminals (https://github.com/phpstan/phpstan-src/commit/d921d067702acb1cc0451753dcdf3be142b29aed), #6724, #6727
- Empty array infers key and value type as never (https://github.com/phpstan/phpstan-src/commit/c2b9e713daa09db18111d28ba5c8cd79beeaeec5), #3400, #6353, #5757, #5065
ArrayType::traverse()
- create emptyConstantArrayType
in case ofnever
(https://github.com/phpstan/phpstan-src/commit/8c1dfc1afb3f381c8e50befe38e8abc581c67db2)1.4.7
This release fixes 43 issues!
🎉 Improvements
🔧
- Run the parallel worker even for a low number of files (#686), #6606
- Autodiscover
phpstan.dist.neon
as a config file (#1006), #6561, thanks@b1rdex
!- Make editor links clickable for terminals supporting hrefs (#1013, https://github.com/phpstan/phpstan-src/commit/bbf14bf635e91aad4be81ad6eacc8b18fb3b31ed), thanks
@Seldaek
!- Table format error output - improve table wrapping (https://github.com/phpstan/phpstan-src/commit/bc481b74fb54f494d616e5f7bb04053b7fffc28f)
... (truncated)
Commits
-
1a45f44
PHPStan 1.4.9 -
443886f
Updated PHPStan to commit d26496e2d853bc129449ba9225db936c56165341 -
2828999
Updated PHPStan to commit 611764010e9dccb87b3abfc486534455845be1b5 -
3af07be
Updated PHPStan to commit 10b295f3cde7d91cc2b2784fc012910be6a06fb8 -
5a1e85c
Updated PHPStan to commit 9338d41c93f46f13878f176014d5b66d224e8448 -
b6e472d
Updated PHPStan to commit e9c4610a4eee877ed5a6fba16f34caa3ece8c33a -
c879f51
Updated PHPStan to commit 7449b6862717ac4015304407fab76be35fe43950 -
996a6c6
Updated PHPStan to commit d0ab72ac815f4a8716fa110d5c1e6caba6ceeb47 -
003ccfd
Updated PHPStan to commit 51e2df38ee7fbda5416e1c5c1091dacf8618f3e1 -
41c95cd
Updated PHPStan to commit ec1aa0285a757b7fd4bec01e62fa257035f07f90 - 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)