chore(deps): update dependency phpstan/phpstan to v1.7.10
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.7.3 -> 1.7.10
|
Release Notes
phpstan/phpstan
v1.7.10
🔧
Improvements - Adapt to different
vendor-dir
setting incomposer.json
, and alsoCOMPOSER
environment variable (#1384), thanks @canvural!
🐛
Bugfixes - Fix BC break in
PHPStan\Node\ClassMethod
(https://github.com/phpstan/phpstan-src/commit/9b4a5913aa47d94acb47e3c06fce83db8ea5fd8b), https://github.com/phpstan/phpstan-src/commit/d0a9d084ea66be4afdf965dd51e1b6d91d36c6b7#r75178623 - Fix
TypeUtils::getDirectClassNames
for nested type (#1380), thanks @mvorisek! - Consistent gathering of all stub files for their analysis (#1355), thanks @canvural!
- Dont report unsafe static if constructor is in both parent and interface (#1395), #6007, thanks @canvural!
🔍
Internals - Added
<file>bin</file>
intophpcs.xml
, and applied it (#1393, #1394), thanks @sasezaki!
v1.7.9
🔧
Improvements - Read PHPDocs from trait stubs (#1390), #5233, thanks @canvural!
- Infer
non-empty-string
on str-casing functions comparison with constant string (#1382), thanks @staabm! - Make trait properties and methods first class node citizens (#1370), thanks @herndlm!
🐛
Bugfixes - Support intersection types in
MutatingScope::getTypeToInstantiateForNew()
(#1388), #7374, thanks @rvanvelzen!
v1.7.8
🔧
Improvements - Update
nikic/php-parser
to 4.14.0 (https://github.com/phpstan/phpstan-src/commit/fbaab8f9a65fb0655b0322c792d914feb399e27e)
🐛
Bugfixes - Improve unresolved template type checks for complex conditional types (#1377), thanks @rvanvelzen!
- FileCacheStorage - suppress potential file load issue (https://github.com/phpstan/phpstan-src/commit/b73a3962176ddcb6c3ddcd1e6f688900ebe9df1f)
- Do not overwrite promoted property PHPDoc with constructor PHPDoc (#1376), #7361, thanks @herndlm!
- Fix/native type specification (#1372), thanks @rajyan!
🤖
Function signature fixes
v1.7.7
🐛
Bugfixes - AutoloadFunctionsSourceLocator - avoid ReflectionSourceStubber bugs by trying AutoloadSourceLocator first (#1373), #7365, #7360, #7363
- BetterReflection - allow class autoloading for
invoke()
etc. (https://github.com/ondrejmirtes/BetterReflection/commit/2a0638be397dfe7aa30a5e530ebf7b59f9c1d4e7), #7333
v1.7.6
🐛
Bugfixes - Rewrite the located identifier name with class aliases in mind (#1369), #7308
- Class definition from autoloader should be preferred over PhpStorm stubs, #7357, #3634
v1.7.5
🐛
Bugfixes Fixes for more custom autoloader scenarios (#7296, #7308):
- Create class reflection from runtime reflection after custom autoloader run (#1368)
- Additional fix to make class aliases work (https://github.com/phpstan/phpstan-src/commit/99acc024f9ac00abe202da492c29cb5081a13d0c)
- Include custom autoloaders registered in Composer dependencies (https://github.com/phpstan/phpstan-src/commit/eab4542c4b8877c5f7e85d31d9aa688212f77a77)
v1.7.4
🔧
Improvements - Avoid additional irrelevant constructor-related checks in
UnusedPrivatePropertyRule
(#1360), thanks @herndlm!
🐛
Bugfixes - Fix
ConstantArrayType
optional key unsetting viaremoveLastElements
(#1366), #7351, thanks @herndlm! - Fix
array_walk
callback parameters (#1367), thanks @rvanvelzen! - Always resolve constants with namespace-aware logic (https://github.com/phpstan/phpstan-src/commit/e73f320b57951703927140b7ee27a4fa5da54b90), #7352
- Use trait property promotion in uninitialized props checks (#1362), #7314, thanks @herndlm!
- infer
non-empty-string
onstrstr()
comparison with constant string (#1365), thanks @staabm!
🤖
Function signature fixes - Fix
stream_bucket_make_writeable
(#1361), #7341, thanks @VincentLanglet!
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.