Bump phpstan/phpstan from 1.3.0 to 1.4.1
Created by: dependabot[bot]
Bumps phpstan/phpstan from 1.3.0 to 1.4.1.
Release notes
Sourced from phpstan/phpstan's releases.
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)Bugfixes
🐛
- Fix PHPDocs with
require
statement (https://github.com/phpstan/phpstan-src/commit/b5a2c8f2b5f0b87c09f87a1457610212e688d6e2), #6348- Fix inferring template types in
ClosureType
(#921), thanks@canvural
!- Fix
random_int()
without args crash (https://github.com/phpstan/phpstan-src/commit/6d7ba0f0db550df34aac51af3a0f8f13e710ca0c), #6361
... (truncated)
Commits
-
5bd02c8
PHPStan 1.4.1 -
ab79d61
Updated PHPStan to commit 723dfc51eab190ff940d0b0130b9986eb1b5d36a -
3f03559
Updated PHPStan to commit f7197a88ee5e7cdcb9fc7f94949677cb2f579440 -
7131357
Updated PHPStan to commit f6e728683d16c102a453322a7c245dccde10b693 -
81332f0
Updated PHPStan to commit 86b93068ae863a0377118dfe93c3b1286a8673b7 -
0c28ad6
Updated PHPStan to commit 67d3a882a85e53f36158e60a8cb30e997aca293c -
93d4221
Update update-playground-runner.yml -
a2d346d
Updated PHPStan to commit a712907ceecb8389eb3a73ce315475574b54e743 -
b7f697a
Update playground-runner to PHP 8.1 -
c070c4b
Updated PHPStan to commit b81066d7acd6ab5c003c406c187d4f06283a618c - 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)