chore(deps): update dependency phpstan/phpstan to v0.12.92 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
0.12.91 -> 0.12.92
|
Release Notes
phpstan/phpstan
v0.12.92
🔧
Improvements - New PHPDoc
non-empty-string
type (https://github.com/phpstan/phpstan-src/commit/6ef5e91effcbc5c5b3f49cd2cf423d67044b8941), #4711, #3981 - MissingReturnRule - make behavior with
checkPhpDocMissingReturn: false
more strict (https://github.com/phpstan/phpstan-src/commit/26560811765f0a93462180526b552834966c161b) - Update
nikic/php-parser
to work on PHP 8.1 again (https://github.com/phpstan/phpstan-src/commit/0f8ead706ba4b514e4a511c743645c065f52f195), #5263
🔪
Bleeding edge - Validate overriding methods in stubs (https://github.com/phpstan/phpstan-src/commit/c98d0a4946c373543c379427983e02ccef71f86c)
- Cross-check generic interface implementations (https://github.com/phpstan/phpstan-src/commit/284af50d76210a449f210699732171ecacf3307f), #5222
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 - Don't try to create a directory that already exists (#572), thanks @PrinsFrank!
-
!empty()
leads tonon-empty-string
(https://github.com/phpstan/phpstan-src/commit/790a83849468a0bc9eac43cb1b9594032653e342), #5258 - Fix mess in
ClassReflection::getInterfaces()
(https://github.com/phpstan/phpstan-src/commit/cd02bf86a65cfe87be22ad59c35bde25b82ab700), #4854
🤖
Function signature fixes -
explode()
always returnsnon-empty-array
(https://github.com/phpstan/phpstan-src/commit/25260db5d6c9873f10e84ab6741bda56221ce21e) - Improve
sscanf()
signature (#567), thanks @fluffycondor!
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.
Edited by Bekerle, Patrizio