Bump phpstan/phpstan from 1.4.6 to 1.4.8
Created by: dependabot[bot]
Bumps phpstan/phpstan from 1.4.6 to 1.4.8.
Release notes
Sourced from phpstan/phpstan's releases.
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)
- Implemented ConstantStringType inference for
str_repeat
(#1030), #6679, thanks@staabm
!- Deprecate
TypeUtils::generalizeType()
(https://github.com/phpstan/phpstan-src/commit/267457712854e8ed1de9c6b99e918e2d9d1219d3)- Date format return type extensions (https://github.com/phpstan/phpstan-src/commit/b49df58105e5300d4a2d7b0ff44a5a6f5806f240), #6550
- Infer explicit mixed when instantiating generic class with unknown template types (bleeding edge) (https://github.com/phpstan/phpstan-src/commit/089d4c6fb6eb709c44123548d33990113d174b86), #6398
Bugfixes
🐛
- Fix incorrect array
sizeof()
when usingunset()
(#971), #6488, thanks@staabm
!- Split
TemplateType::isSubTypeOf()
andTemplateType::isAcceptedBy()
(#1001), #6589, thanks@arnaud-lb
!- Use a BenovolentUnionType for properties in SimpleXMLElement (#76), #2784, #6020, thanks
@orklah
!- Binary operations on
non-empty-string
andstring
should error (#1011), #6624, thanks@staabm
!- No longer verify types when
TypeSpecifyingExtension
uses$overwrite=true
(#1011), #6620, thanks@staabm
!- Normalize specified types before intersection (#1016), #6329, thanks
@herndlm
!- Improve intersect and union of SubtractableTypes (#1028), #6672, thanks
@herndlm
!- Ignore
@template
above a property (https://github.com/phpstan/phpstan-src/commit/53563e9429f9559120aa8e043d9283c6b4c2d0a9)- Add missing
SpecifiedTypes
forcount()
andstrlen()
in===
expressions (#1021), thanks@herndlm
!- Detect closure parameter types when passing closure in a union (#1019), #5675, #6629, thanks
@axlon
!- Fix another BooleanOr issue (https://github.com/phpstan/phpstan-src/commit/cc6655f9311a738bc2dec6bad2c6e6b6b8173c81), #6696, #6112, #5749
- Fix anonymous class reflection error (https://github.com/phpstan/phpstan-src/commit/0e5d58604e4cfdc5f9c2742736a05c1434de8821), #6681
- OptimizedDirectorySourceLocator - fix bug with uppercase Enum keyword (https://github.com/phpstan/phpstan-src/commit/7110a088ffb28e368b4ba23f73c23b936e4ff05c)
- Template tag without bound is explicit mixed (https://github.com/phpstan/phpstan-src/commit/0808a89469a0d28bebd0b8d7b14af1639e441215)
- Fix isSmallerThan etc. in BenevolentUnionType (https://github.com/phpstan/phpstan-src/commit/dd5633f1835d58f67edb95858185b7791a13220c), #5969, #5295
... (truncated)
Commits
-
2a6d670
PHPStan 1.4.8 -
a807a3f
Updated PHPStan to commit 156cb69be747b7821275803717ef840fae636602 -
db64d2c
Updated PHPStan to commit d3179f4dcdaeaef1dd57a796f7c6a7a74242a8d3 -
2559eff
Updated PHPStan to commit 98ee71561c35dab46b626d467b7135e9e7875810 -
1e699ce
Updated PHPStan to commit 3581d69cc8b4c248476a242e73e65c94458d66ee -
c083294
Updated PHPStan to commit 0a8ac3d754ab555b40bd8914b4d4084fee2b04d3 -
445c882
Updated PHPStan to commit a84465bb2b4b69df2a81eef943843f50ee08282f -
5091ab0
Updated PHPStan to commit c2b9e713daa09db18111d28ba5c8cd79beeaeec5 -
16d01e7
Updated PHPStan to commit 1658bf34e27914c0ff2cea99622321415d774046 -
10cca0c
Updated PHPStan to commit d921d067702acb1cc0451753dcdf3be142b29aed - 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)