by shigemk2

当面は技術的なことしか書かない

phpstan 1.10.51

  • Bleeding edge:

    • ParamAttributesRule: プロパティ属性の改善
    • RecursiveIteratorIterator::__construct(): パラメータ型の精密化
    • PhpDocParser: PHPDocs内のエラー無視設定追加
  • 改善点:

    • ThrowExprTypeRuleの追加
    • スタブの分析改善
    • メモリ限界時のエラーメッセージ改善
  • バグ修正:

    • ReflectionEnum::getBackingType()の改善
    • オプショナル配列オフセットの修正
    • ??型推論の精密化
  • 内部:

    • PHP 7.2+向けにphpstan-srcのダウングレード
    • PHP-Parser 5との互換性改善
    • strpos()の代わりにstr_starts_with()str_contains()を使用
    • プリロードスクリプトの改善
    • ParameterAcceptorの遅延生成
    • 定数の使用とPhpDocValueRuleの最適化
    • ParametersAcceptorSelector::combine()の高速化

github.com