Bump phpstan/phpstan from 1.4.6 to 1.5.4
Created by: dependabot[bot]
Bumps phpstan/phpstan from 1.4.6 to 1.5.4.
Release notes
Sourced from phpstan/phpstan's releases.
1.5.4
Bugfixes
🐛
- Support named arguments when resolving template parameters (#1151), #5262, thanks
@rvanvelzen
!- Various fixes for constant arrays (#1154), #4308, #6965, #6961, #6383, #5933, #5382, #6379, #3284
- Fix for arrays not being accepted when having an accessory type (https://github.com/phpstan/phpstan-src/commit/843ebbb1d889ac4d9a152a52f1f1ee9690d2e721), #6552
- Avoid describing ConstantArrayType values twice (#1168, #1169), thanks
@herndlm
!- Fix false positive
UnhandledMatchError
throw point (#1165), #6910, thanks@rajyan
!- Fix
in_array()
bug (https://github.com/phpstan/phpstan-src/commit/0ae28f761b2e0d473224aded78960d3d96b4e31e)- Various optimization attempts (https://github.com/phpstan/phpstan-src/commit/91c7507787b4a9a63568562cda35644f139460c2, https://github.com/phpstan/phpstan-src/commit/5400b5858ef1750ede656dffc894acbbbc228e88, https://github.com/phpstan/phpstan-src/commit/c4c64fe6dae985d196aea92f3b7eca40e70c7ef4)
Function signature fixes
🤖
- added
show_source()
signature, an alias ofhighlight_file()
(#1160), thanks@staabm
!- more precise
getenv()
signature (#1161), thanks@staabm
!1.5.3
Improvements
🔧
- Update phpdoc-parser with multi-line union/intersection/conditional types support (https://github.com/phpstan/phpstan-src/commit/6fa7c9097d060e7eddd81adf7a6809eb94a221a6), phpstan/phpdoc-parser#114, thanks
@rvanvelzen
!Bugfixes
🐛
- Mark
Memcached::HAVE_*
constants as dynamic (#1142), #6263, thanks@VasekPurchart
!- Improve return types for
array_fill_keys
andarray_combine
(#1139), thanks@canvural
!- Guard
Equal
(==
) expression specification with empty array on both sides (#1143), #6940, thanks@herndlm
!- Fix huge union types result from "+"-array-merge operation (#1141), #6936, thanks
@staabm
!- Improve return type of
array_fill_keys
for not constant arrays (#1145), thanks@canvural
!- Handle
false
return insubstr()
with PHP < 8 (#1144), #6939, thanks@herndlm
!array_merge
lost non-empty-string keys type (#1135), #6927, #5846, #2567, thanks@staabm
!1.5.2
Bugfixes
🐛
- Fix infinite recursion when caching types (#1137), #6896, #6911
- Fixing bugs by removing caching
😂 - Timewise performance optimizations (https://github.com/phpstan/phpstan-src/commit/22f755c6a0bf5fd551634419680070fabf571a07)
- Offseting the removal of PHPDocs cache
1.5.1
Bugfixes
🐛
is_subclass_of()
: do not infer anything when context is falsy (#1124), #6891, thanks@VincentLanglet
!- Fix inferring template types on intersection types (#1122), #6904, #6917, thanks
@rvanvelzen
!
... (truncated)
Commits
-
bbf68ca
PHPStan 1.5.4 -
95d5375
Updated PHPStan to commit c4c64fe6dae985d196aea92f3b7eca40e70c7ef4 -
e5577a3
Updated PHPStan to commit f3b2926d0cb4b652e742251bbf06d1b81c9055a4 -
7e81ebd
Update test-projects.yml -
8c6f5f4
Updated PHPStan to commit 0ae28f761b2e0d473224aded78960d3d96b4e31e -
1fd7f1b
Updated PHPStan to commit 5400b5858ef1750ede656dffc894acbbbc228e88 -
2aba239
Updated PHPStan to commit 2c9273e76ae1479850c290b89bfa0f414c088a26 -
60697cc
Update baselines -
6bf6918
Updated PHPStan to commit 6b6f31090ac25368a5a419b38e46eb074e08fdbd -
19d9a77
Updated PHPStan to commit ded3d217fb232b6f954c6fab9d4070d9ccf872e3 - 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)