Bump phpstan/phpstan from 1.4.6 to 1.4.7
Created by: dependabot[bot]
Bumps phpstan/phpstan from 1.4.6 to 1.4.7.
Release notes
Sourced from phpstan/phpstan's releases.
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
- Do not generalize
class-string
during template type inference (#1038), #6505, #6699, thanks@arnaud-lb
!- Support for
class-string
$class
parameter inis_subclass_of()
(#1039), #6698, #5369, thanks@arnaud-lb
!- Fix generalization of
EnumCaseObjectType
(https://github.com/phpstan/phpstan-src/commit/9e428966d8f985db3199a234406c6799abd18617), #6695, #6433- Duplicate and adapt solution from
is_subclass_of()
foris_a()
(#1040), #6704, thanks@herndlm
!- ImplodeFunctionReturnTypeExtension - fix handling optional keys in ConstantArrayType (https://github.com/phpstan/phpstan-src/commit/7f643c5866c3aab51a93e971ab0a7cf471111edf), #6715
- Improve
ArrayType::castToArrayKeyType()
for booleans (#1033), thanks@jlherren
!- Fix
ArrayColumnFunctionReturnTypeExtension
producing array key types (#1033), #6682, thanks@jlherren
!- Fix
in_array()
for arrays with union value type (https://github.com/phpstan/phpstan-src/commit/4321374cadc2d0a2a738fa322888e15d61116d56), #6705, #5668, #5759, #3314, #5496, #4666, #3892, #5354, #2870Function signature fixes
🤖
- Add FilterIterator stub (https://github.com/phpstan/phpstan-src/commit/c5f4c3b1693b8e0b3bcab5705d4f301999c523b3)
- Add CallbackFilterIterator stub (https://github.com/phpstan/phpstan-src/commit/868720e093f4246748846f7629dc57391d7daaff)
- Add RecursiveCallbackFilterIterator stub (https://github.com/phpstan/phpstan-src/commit/86a63ff1f07352fffe84b2ad0468d5d14a0fc2d3)
- Correct the case for various class names. (#1007), thanks
@johnbillion
!- Update the signature for
set_error_handler()
. (#1008), #6619, thanks@johnbillion
!
... (truncated)
Commits
-
1508767
PHPStan 1.4.7 -
04bb27d
Updated PHPStan to commit 9dde7d81b005cc3c4f587027f4bd01595ec302eb -
a34be86
Updated PHPStan to commit e9b482c571095ac3ef01bd3dcdfaa697b7db40dc -
d833f04
Updated PHPStan to commit f3c13dd282fd62dde75cd7e33cccfdc432e8d581 -
112b17d
Updated PHPStan to commit 4321374cadc2d0a2a738fa322888e15d61116d56 -
1d9ab17
Updated PHPStan to commit b7b66559c83a6e4b8f6b04f3dcfd0567ea13be4f -
48e5b60
Updated PHPStan to commit b384384c8f3267ca6e40866d3a459f6bcac39a56 -
71c7c94
Updated PHPStan to commit 265e181e6b9e6ca88d18b863d9c50dfb140c7029 -
97d46dc
Updated PHPStan to commit 7f643c5866c3aab51a93e971ab0a7cf471111edf -
c5bd1ed
Updated PHPStan to commit 05a28d76d0d7111aa499e837726af4686f804036 - 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)