PHP
Enums do not allow dynamic properties (phpstan/phpstan-src@0aa7f41) Support integer ranges in pow() (#1904), #5614, thanks @staabm! Revert for performance reasons: Improve expression type resolving of superglobals (phpstan/phpstan-src@02e1…
Only analysis FileExcluder excludes stub files (phpstan/phpstan-src@8ef5163) github.com
Improve constant string union handling for concat and encapsed string (#2057), thanks @schlndh! PhpVersion: supportsDisjunctiveNormalForm (#2130), thanks @janedbal! Constant scalar types might accept general type from the same family (#213…
BC Warning: To prevent abuse of our includeFile() function it is now gone, it was not part of the official API but may still cause issues if some code incorrectly relied on it (#11015) Improved version guessing of require command to use th…
Various performance optimizations from @staabm (#2098, #2099, #2100, #2101, #2103, #2104) Resolve parameter types only when checkArgumentTypes=true (#2106), thanks @staabm! Keep NeverType isExplicit flag in TypeCombinator::intersect() (#21…
Fix invariance composition (#2054), thanks @jiripudil! など github.com
公式ドキュメントを見たらよかった。
Bugfixes Function signature fixes Internals github.com
AccessoryArrayListType is part of BC promise (#1967), thanks @enumag! など github.com
とか PHPDoc-based type narrowing with @phpstan-assert, @phpstan-assert-if-true, @phpstan-assert-if-false (#1317), #7110, #8186 github.com
最新版は1.8.11なんだからもう0.x系なんか使うなよっていう強い意志を感じる github.com
Slightly optimize TypeCombinator::reduceArrays() even more (#1814) Micro optimizations in TypeCombinator (#1816) Improve array_search() type specifier performance (#1818), #8147 Rule registry now gets rules instances in lazy manner (phpsta…
BC Break: The json format of audit command now has reportedAt as an RFC3339 string instead of an object which was a mistake Fixed json format of audit command which was missing affectedVersions Fixed plugin commands not being loaded during…
improvementsは以下 Cover ExprPrinter by BC promise Improve isset specification in falsy scope Update phpstan/phpdoc-parser to 1.9.0 とかbugfixとか github.com
ignoreErrors: multiple messages and explicit reportUnmatched Improve JUnit error formatter Implement template type inference from conditional return type Optimize ConstantArrayType::isKeysSupersetOf() Enums cannot implement Serializable Co…
Fixed bash completion hanging when running as root without COMPOSER_ALLOW_SUPERUSER set Fixed handling of plugin activation when running as root without COMPOSER_ALLOW_SUPERUSER set so it always happens after prompting, or does not happen …
PHP 8.2: Support true pseudotypes in native unions (#1539) など github.com
Optimization: Degrade constant arrays if there's too many values recursively Improve dead code detection after nested function calls with conditional never return type EnumCaseObjectType constructor made part of BC promise など github.com
Release 2.2.18 · composer/composer · GitHub
この辺 Update phpstan/phpdoc-parser to 1.6.0 (phpstan/phpstan-src@ef8c7c3) Allow omitting @param type (phpstan/phpdoc-parser#127), phpstan/phpdoc-parser#77 Support all atomic types as nullable types (phpstan/phpdoc-parser#129), phpstan/php…
Release 2.3.6 · composer/composer · GitHub Added Composer\PHPStan\ConfigReturnTypeExtension to improve return types of Config::get() which you can also use in plugins CI など
Release 1.7.3 · phpstan/phpstan · GitHub dockerイメージ
Release 1.6.9 · phpstan/phpstan · GitHub bugfix
Support narrowing types via in_array() for enum cases Fix checking of generic attributes brew bump-formula-pr --url=https://github.com/phpstan/phpstan/releases/download/1.6.8/phpstan.phar --sha256=ae1544f77f9e854f03e5a9a0e952aea28f1ba8df32…
Make DateTime(Immutable)::modify() behaviour less annoying github.com
Generating baseline preserves the number of newlines at the end of the file (#1243) Infer non-empty-string on literal-string and strlen() (#1260) github.com
Handle ConstantArrayType === ConstantArrayType Handle ConstantArrayType == ConstantArrayType Understand == between ConstantScalarType Use root expression when checking impossible types (#1254) implemented str_contains FunctionTypeSpecifyin…
Release 1.5.6 · phpstan/phpstan · GitHub This release enables to write forward-compatible custom rules with PHPStan 1.6.0+Bleeding Edge. らしい
Remove unnecessary ConstantArrayType::getKeyType() とか Release 1.5.5 · phpstan/phpstan · GitHub
Release 2.3.4 · composer/composer · GitHub Fixed the generated autoload.php to support running on PHP 5.6+ (down from 7.0+) and warn clearly on older PHP versions (#10714) とか