Update dependency phpstan/phpstan to v1.7.14
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.7.12 -> 1.7.14
|
Release Notes
phpstan/phpstan
v1.7.14
🔧
Improvements - Update phpdoc-parser
- Micro-optimize lexer (https://github.com/phpstan/phpdoc-parser/pull/135), thanks @rvanvelzen!
- Update BetterReflection to 5.6.0 (#1421), #7429, #7428
- Add dynamic return type extension for
date_create
(#1413), thanks @VincentLanglet! - more precise
sprintf()
return type on constant formats (#1410), #7387, thanks @staabm! - Update PhpStorm stubs (#1419)
- Assert functions do not throw anything (https://github.com/phpstan/phpstan-src/commit/9878eef9a7b04b8a7fa14b004ebfbb1e3d5cb0a8)
- Deprecate
MutatingScope::enterCatch()
(https://github.com/phpstan/phpstan-src/commit/4a7d7da6f57be75e3f0dbc4b048663dbd5a58e1d)
🐛
Bugfixes - Support
literal-string
as array key (#1420), #7353, #6163, thanks @rvanvelzen!
🤖
Function signature fixes - Update string compare return values (#1412), thanks @bytestream!
v1.7.13
🔧
Improvements - Optimization of printing expressions using ExprPrinter (https://github.com/phpstan/phpstan-src/commit/e12524e21537b970c91e363c616503e6d7d41f38, https://github.com/phpstan/phpstan-src/commit/fba292944a67cb91158042a0f952e5e15bcf30c7)
- Do not require an existing filename when reading PHPDocs from an evaled class (#1409), #7441
- StatementExitPoint and ThrowPoint covered by BC promise (https://github.com/phpstan/phpstan-src/commit/e8b8ffdd7d164a7ddcafcf6cb570f56b71bb2263)
- Update phpdoc-parser #7426
- Optimize
Lexer::tokenize()
(https://github.com/phpstan/phpdoc-parser/pull/133), thanks @rvanvelzen! - Optimize generated regex (https://github.com/phpstan/phpdoc-parser/pull/134), thanks @rvanvelzen!
- Optimize
🔪
Bleeding edge
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 incorrect UnhandledMatchError for match expressions using spaceship operator (#1408), #4451, thanks @rvanvelzen!
- Fix resolving class const fetch for constant strings (#1416), #7391, thanks @rvanvelzen!
- Fix resolving user-defined constants in sub-namespaces (#1415), #7352, thanks @rvanvelzen!
-
TypeUtils::getDirectClassNames()
- return unique list of class names (https://github.com/phpstan/phpstan-src/commit/b85fce0707f65a633163d2bf5215e57c927011b9) - Fix "missing return" for void/never conditional return types (#1418), #7384, thanks @rvanvelzen!
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.