by shigemk2

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

PHP

phpstan 1.10.15

PHP

最先端の機能 InvalidPhpDocTagValueRule: エラーメッセージにPHPDocの行番号を含む このファイルを含めると、後方互換性の保証はありません。このファイルを含めると、挙動や報告されるエラーがマイナーバージョンで変更される可能性があります。 改善点 …

phpstan 1.10.14

PHP

github.com Bleeding edge filter_inputのタイプパラメータチェック (#2271)、@herndlm に感謝 プロジェクトのphpstan.neonに以下の設定を追加して、最先端の機能を試すことができる ``` includes: vendor/phpstan/phpstan/conf/bleedingEdge.neon ``` ただ…

phpstan 1.10.13

PHP

修正: 内部エラー FilterVarArrayDynamicReturnTypeExtension mixed 入力 #2338 #9178 github.com

phpstan 1.10.10

PHP

改善点 JsonErrorFormatter - 識別子を含める (phpstan/phpstan-src@6910be2) AccessPropertiesRule - 記事リンク付きのヒント (phpstan/phpstan-src@e6e2d1a) Xdebugが有効時の--xdebugに関する注意事項 (phpstan/phpstan-src@1d4ede1) バグ修正 IssetChe…

phpstan 1.10.9

PHP

PHPUnit 10 dataProvidersに関連する静的メソッドの改善 StrictComparisonOfDifferentTypesRuleとConstantLooseComparisonRuleにおけるtreatPhpDocTypesAsCertainの処理改善 PHPStan Proの設定可能なDNSサーバー、およびXdebugの警告表示前のアンロード試行 …

phpstan 1.10.8

PHP

改善点 大きな.phpベースラインファイルを検出し、PHPStanの速度低下に関する警告を出す バグ修正 class_exists()後のインライン@varで不明なクラスを報告しない Ds\Map::get()の@throws推論を改善 sprintf/printfで非公式指定子のサポート 内部機能 拡張イ…

composer 2.5.5

PHP

Fixed basic auth failures resulting in infinite retry loop (#11320) Fixed GitHub rate limit reporting (#11366) Fixed InstalledVersions error in Composer 1 compatibility edge case (#11304) Fixed issue displaying solver problems with branch …

phpstan 1.10.7

PHP

Backed enums - dynamic return type extension for from() and tryFrom() (phpstan/phpstan-src@edcaaba) など github.com

phpstan 1.10.4

PHP

improvements Remove 3 leading spaces in PHAR (#2254), #8952, thanks @ruudk! Add missing newline at the end of the file (#2254), thanks @ruudk! RuleError interfaces are part of BC promise (phpstan/phpstan-src@aed9319) Update nikic/php-parse…

phpstan 1.10.3

PHP

improvements Add support for @not-deprecated annotation (#2255), #7422, thanks @stof! bugfixes Fix arithmetic operations with BenevolentUnionType (phpstan/phpstan-src@f882eff), #8938 Fix native return type of array_chunk() (phpstan/phpstan…

phpstan 1.10.2

PHP

Allow generating baseline in .php format (phpstan/phpstan-src@8260032), #8870 See documentation: https://phpstan.org/user-guide/baseline#php-baseline-format-instead-of-neon github.com

composer 2.2.19

PHP

Fixed URL sanitizer to handle new GitHub personal access tokens format (#11137) Fixed cache keys to allow _ to avoid conflicts between package names like a-b and a_b (#11229) Fixed handling of --ignore-platform-req with upper-bound ignores…

phpstan 1.9.12

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…

phpstan 1.9.10

PHP

Only analysis FileExcluder excludes stub files (phpstan/phpstan-src@8ef5163) github.com

phpstan 1.9.5

PHP

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…

composer 2.5.0

PHP

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…

phpstan 1.9.4

PHP

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…

phpstan 1.9.3

PHP

Fix invariance composition (#2054), thanks @jiripudil! など github.com

PHP fwrite

PHP

公式ドキュメントを見たらよかった。

phpstan 1.9.2

PHP

Bugfixes Function signature fixes Internals github.com

phpstan 1.9.1

PHP

AccessoryArrayListType is part of BC promise (#1967), thanks @enumag! など github.com

phpstan 1.9.0

PHP

とか PHPDoc-based type narrowing with @phpstan-assert, @phpstan-assert-if-true, @phpstan-assert-if-false (#1317), #7110, #8186 github.com

phpstan 0.12.100

PHP

最新版は1.8.11なんだからもう0.x系なんか使うなよっていう強い意志を感じる github.com

phpstan 1.8.9

PHP

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…

composer 2.4.3

PHP

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…

phpstan 1.8.8

PHP

improvementsは以下 Cover ExprPrinter by BC promise Improve isset specification in falsy scope Update phpstan/phpdoc-parser to 1.9.0 とかbugfixとか github.com

phpstan 1.8.6

PHP

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…

composer 2.4.2

PHP

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 …

phpstan 1.8.5

PHP

PHP 8.2: Support true pseudotypes in native unions (#1539) など github.com

phpstan 1.8.4

PHP

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