Bump phpstan/phpstan from 1.7.14 to 1.7.15
Created by: dependabot[bot]
Bumps phpstan/phpstan from 1.7.14 to 1.7.15.
Release notes
Sourced from phpstan/phpstan's releases.
1.7.15
Improvements
🔧
- Support for relative paths in
editorUrl
for Docker environment (#1414), #7043, thanks@Wirone
!- Support positional arguments in
sprintf()
constant format inference (#1437, #1440, #1441), thanks@staabm
!- Dynamic return type extension for
sscanf()
andfscanf()
(#1434), thanks@staabm
!- Virtual nodes (InClassMethodNode, InFunctionNode, InClosureNode) - pass and provide getters for specific reflection so that
Scope::getFunction()
does not need to be used (https://github.com/phpstan/phpstan-src/commit/f18bd86495fc6811ee04c305ff4b379b10cd07bb)Bleeding edge
🔪
- Check code in custom PHPStan extensions for runtime reflection concepts like
is_a()
orclass_parents()
(https://github.com/phpstan/phpstan-src/commit/c4a662ac6c3ec63f063238880b243b5399c34fcc)- Check code in custom PHPStan extensions for runtime reflection concepts like
new ReflectionMethod()
(https://github.com/phpstan/phpstan-src/commit/536306611cbb5877b6565755cd07b87f9ccfdf08)- ApiInstanceofRule
- Report
instanceof
of classes not covered by backward compatibility promise (https://github.com/phpstan/phpstan-src/commit/ff4d02d62a7a2e2c4d928d48d31d49246dba7139)- Report
instanceof
of classes covered by backward compatibility promise but where the assumption might change (https://github.com/phpstan/phpstan-src/commit/996bc69fa977aa64f601bd82b8a0ae39be0cbeef)If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's
phpstan.neon
:includes: - vendor/phpstan/phpstan/conf/bleedingEdge.neon
Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more
Bugfixes
🐛
- Fix return type for arrow function generators (#1422), #7031, thanks
@rvanvelzen
!- Improve intersecting constant array with general array (#1429), thanks
@rvanvelzen
!- Allow
numeric-string
being returned fornon-empty-string
(#1428), #7265, thanks@staabm
!- Specify array type via
in_array
(#1430), #7153, #7275, thanks@rvanvelzen
!- Specify
non-empty-array after
afterin_array()
(#1108), #6167, thanks@staabm
!- Array after
array_push
/array_unshift
call can still be empty (#1431), #7424, thanks@herndlm
!- Fix
TemplateTypeArgumentStrategy::accepts()
(https://github.com/phpstan/phpstan-src/commit/85ab8cfe237b9a90d12f211dd1938a99cc299bba), #7460- Improve parenthesization for union types (#1433), #7484, thanks
@rvanvelzen
!- Result cache is invalidated for files where PHP 8 attributes changed (#1427), #6797, #7413, thanks
@olsavmic
!- Fix
TypeCombinator::union()
for intersection of array and template type (#1444), #4117, thanks@rvanvelzen
!Function signature fixes
🤖
- Be more specific about the XHProf sampling type (
xhprof_sample_disable()
) (#1436), thanks@johnbillion
!
Commits
-
cd0202e
PHPStan 1.7.15 -
cd4a8a7
Updated PHPStan to commit b1069e1d25831bec66f50577ea34ffe46d38a037 -
dbe21e4
Update playground-api -
ad93ec4
Update website -
5410365
Updated PHPStan to commit e61a7822f7df7f7f11c5773a0ef7fdbb17092442 -
710559f
Updated PHPStan to commit 518b413e81776a512fd5a42c813a3641cdb8b50e -
aa62bb5
Updated PHPStan to commit b1536e8ddbc87506aa718739624a9aa1a28fc7e0 -
6b2fc12
Updated PHPStan to commit 8801edb5e758f30f9c3ea0ae9a4f7f2ce3d6c5d6 -
a48f5e2
Updated PHPStan to commit 1962fc7b999b561ace3654b999eedc7fb669c443 -
9b0a6a4
Update Larastan 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)