Bump phpstan/phpstan from 1.3.0 to 1.4.2
Created by: dependabot[bot]
Bumps phpstan/phpstan from 1.3.0 to 1.4.2.
Release notes
Sourced from phpstan/phpstan's releases.
1.4.2
- CleaningParser - remove conditional code by
PHP_VERSION_ID
(https://github.com/phpstan/phpstan-src/commit/433511a3eb526b0a340277aeb48ff20f292922d1), #6386, api-platform/core#4614, api-platform/api-platform#2101- Enums will no longer crash the playground (https://github.com/phpstan/phpstan-src/commit/121e0212db869fe0c42307a1485f27054d492041)
- Fix
ObjectType::equals()
when compared toEnumCaseObjectType
(https://github.com/phpstan/phpstan-src/commit/ab0245c49a16609da528d8e91dc5124b2c911ecb), #6394- Fix calling method statically on string (https://github.com/phpstan/phpstan-src/commit/3aa878f2b22907b440055a714c605e8bb6e3de58), #6404
- Fix native type of variadic parameter (https://github.com/phpstan/phpstan-src/commit/a5447db695e55151c52d5cf67b489fceb7d51c43), #6393, #5698
- Update PhpStorm stubs (#930)
1.4.1
Improvements
🔧
- TypeSpecifier - understand
==
operator for the same types on both sides (https://github.com/phpstan/phpstan-src/commit/e40eff0a8e34ceae776e38d48a31efbe67ea399a), #6370, #4413- Add
ClassReflection::getBackedEnumType()
method (https://github.com/phpstan/phpstan-src/commit/a0ed2d304e0344df34b49e010d5f491f0d321d3a)- Achieve
BenevolentUnionType
return type without dynamic return type extension (https://github.com/phpstan/phpstan-src/commit/723dfc51eab190ff940d0b0130b9986eb1b5d36a), https://github.com/phpstan/phpstan/discussions/6391Bugfixes
🐛
- Allow readonly property write in
__unserialize
(#929), thanks@ruudk
!- Fix missing properties on
UnitEnum
andBackedEnum
(https://github.com/phpstan/phpstan-src/commit/67d3a882a85e53f36158e60a8cb30e997aca293c), #6385ConstantArrayTypeBuilder
- fix for potential performance problems (https://github.com/phpstan/phpstan-src/commit/86b93068ae863a0377118dfe93c3b1286a8673b7), #6375Function signature fixes
🤖
- Add missing
Set::map()
method to functionMap (#923), thanks@simPod
!gnupg_verify()
accepts false fot its signature param (#925), thanks@spaze
!- Improve signature of
random_bytes()
(#926), thanks@staabm
!- More precise
count_chars()
mode-param (#927), thanks@staabm
!- More precise
getdate()
return type (#928), thanks@staabm
!1.4.0
This release fixes 25 issues!
🎉 Major new features
🚀
- Support for PHP 8.1
readonly
properties (RFC)
- Readonly properties must be assigned in the constructor of the declaring class
- Memoized type of a readonly property is not invalidated even when calling a method with side effects
- Readonly properties cannot be passed by reference
- Improved detection of incorrect types assigned to properties:
Improvements
🔧
ParametersAcceptorSelector
- message forShouldNotHappenException
(https://github.com/phpstan/phpstan-src/commit/d3c34832c7e27ee068cef99c437add30cce5ad23), #6328- Constructor of
BenevolentUnionType
is covered by BC promise (https://github.com/phpstan/phpstan-src/commit/8f28dc8453f0da1f1476fe2f732e7be3f209d726)
... (truncated)
Commits
-
1dd8f3e
PHPStan 1.4.2 -
526474c
Updated PHPStan to commit 70b6e53dc5fb95a98453a92b489ef6bea40a1bdb -
c7cefa5
Updated PHPStan to commit 00cbf7341b8ef530e442bac4a643eff1619b6b53 -
b11c004
Updated PHPStan to commit a5447db695e55151c52d5cf67b489fceb7d51c43 -
efac798
Updated PHPStan to commit 3aa878f2b22907b440055a714c605e8bb6e3de58 -
5aff6a7
Updated PHPStan to commit ab0245c49a16609da528d8e91dc5124b2c911ecb -
1fa5c7b
Updated PHPStan to commit 121e0212db869fe0c42307a1485f27054d492041 -
e1bd35d
Updated PHPStan to commit c001f662c3648cdbb679b0cbe71e35c918c99cdf -
7d5ab01
Updated PHPStan to commit 847ce15d19219948715839938967dd45232ee992 -
fc67391
Updated PHPStan to commit 3d8bbb6a666236f8ae3f9fe2827ba19e3172557d - 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)