Update dependency phpstan/phpstan to v1.7.12
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.7.10 -> 1.7.12
|
Release Notes
phpstan/phpstan
v1.7.12
🔧
Improvements - Update phpstan/phpdoc-parser to 1.6.0 (https://github.com/phpstan/phpstan-src/commit/ef8c7c37f2ab3def07860a4cdc20c7ed56758a8c)
- Allow omitting
@param
type (https://github.com/phpstan/phpdoc-parser/pull/127), https://github.com/phpstan/phpdoc-parser/issues/77, thanks @rvanvelzen! - Support all atomic types as nullable types (https://github.com/phpstan/phpdoc-parser/pull/129), https://github.com/phpstan/phpdoc-parser/issues/124, thanks @rvanvelzen!
- Allow omitting
- Support constant string and integer as template bound (#1402), #7381, thanks @rvanvelzen!
- Introduce
ExtendedMethodReflection
interface (#1403)- The purpose of this interface is to be able to answer more questions about methods without breaking backward compatibility with existing MethodsClassReflectionExtension.
- Developers are meant to only use the MethodReflection interface and its methods in their code.
- Methods on ExtendedMethodReflection are subject to change.
🔪
Bleeding edge - PHPDoc parser: Require whitespace before description with limited start tokens (https://github.com/phpstan/phpdoc-parser/pull/128), https://github.com/phpstan/phpdoc-parser/issues/125, thanks @rvanvelzen!
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 node scope resolving of array/list expression assignments (#1405), #7119, thanks @herndlm!
- Do not consider arrays with an unknown class string to be a callback (#1404), #7389, thanks @herndlm!
- Add array_udiff to arrayFunctions.stub (#1407), #6105, thanks @akalineskou!
v1.7.11
🔪
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 -
BetterReflectionProvider::getClass()
- handleInvalidIdentifierName
too (https://github.com/phpstan/phpstan-src/commit/64b0907db03da40ecb3d98bde905bbc3214bb08d), #7404 - BetterReflection:
ReflectionClass
adapter - implementnewInstance*
methods (https://github.com/ondrejmirtes/BetterReflection/commit/90dd5834447f8a184ff312855bdae2b793c34748), https://github.com/phpstan/phpstan/discussions/7403
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.