Bump phpstan/phpstan from 1.3.0 to 1.4.3
Created by: dependabot[bot]
Bumps phpstan/phpstan from 1.3.0 to 1.4.3.
Release notes
Sourced from phpstan/phpstan's releases.
1.4.3
Improvements
🔧
- Support for
--memory-limit
CLI option inclear-result-cache
command (https://github.com/phpstan/phpstan-src/commit/156700b5152ada253edba34b39cda955729e97a8), #6432- Pass verbosity to workers and show stack trace on error (#935), thanks
@benja-M-1
!- Move collecting errors from error handler from Analyser to FileAnalyser to be used in parallel runs too (https://github.com/phpstan/phpstan-src/commit/7dd699f9461704a8ef2f4505f1dec534f13e7ccd)
- Use memory limit management trick from Laravel instead of the current
.memory_limit
file (https://github.com/phpstan/phpstan-src/commit/daf7d5577bd8c796509768eb6a8d2862b6027a53), https://twitter.com/timacdonald87/status/1484804225658146823Bugfixes
🐛
- Fix unset() on intersection with hasOffset (https://github.com/phpstan/phpstan-src/commit/b43c057d2d34448b421cd879320974f393d992ac), #6399, #4357
- ConstantStringType - catch Error in setOffsetValueType (https://github.com/phpstan/phpstan-src/commit/54f67c5252fe1a4eff30703875b734111ab46e5a), #6231
- Fix reflection error for the attribute
#[ReturnTypeWillChange]
on PHP 7.1-7.4 (https://github.com/ondrejmirtes/BetterReflection/commit/bf362441dceecd766dbd54bd470c7b4c333e4c13, https://github.com/phpstan/phpstan-src/commit/639a055975fceffe94902fee9d90bff88ec11cf0), #6414- Fix
array_filter
with callback that always evaluates to false (#939), thanks@herndlm
!- Fix iterable key and value type - prefer generic type variables instead of key()/current() typehints (https://github.com/phpstan/phpstan-src/commit/a2acf64f793976a21f22babbfc27318a60fea4fa), #5817
- Fix trait detection recursion for anonymous classes (#946), thanks
@herndlm
!- Fix internal error with a big number in for loop condition (https://github.com/phpstan/phpstan-src/commit/f1734dc5318d1777c7ae6e77d4d3777182e845aa), #6466
Function signature fixes
🤖
- Add missing
Ds\Set::reduce()
to stubs (#942), thanks@ZebulanStanphill
!- Refine
*strlen()
return type to exclude negative integers (#945), thanks@staabm
!- Bugfix
DatePeriod::getEndDate
declaration (#951), thanks@nyamsprod
!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), #6375
... (truncated)
Commits
-
89d1083
PHPStan 1.4.3 -
83074a4
Updated PHPStan to commit daf7d5577bd8c796509768eb6a8d2862b6027a53 -
7d98df0
Updated PHPStan to commit 13cb99630f80005754e44c50d5ce939f53078f0e -
8ad2ce8
Updated PHPStan to commit 7dd699f9461704a8ef2f4505f1dec534f13e7ccd -
7f03bb7
Updated PHPStan to commit f1734dc5318d1777c7ae6e77d4d3777182e845aa -
b061227
Bump the version of Rector used in the integration tests -
fbcd4a8
Updated PHPStan to commit 06864d108a368e7ddf78459ed1cb089d419339e8 -
4153358
Try higher memory limit -
f90c182
Update Composer baseline -
af576fe
Update PHPUnit baseline - 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)