Repository navigation
Immutable
release. Only release title and notes can be modified.
Changed
- The minimum PHPStan version is now 2.2.15. The side-effect narrowings of
contains(),startsWith(),endsWith(),matchesRegularExpression(),hasMinLength(),hasMaxLength(), andisUrl()are flagged withSpecifiedTypes::setEquality()instead of a syntheticFAUX_FUNCTION_*call, following phpstan/phpstan-src#5769. Narrowing, negation, and duplicate-call reporting are unchanged
Fixed
- Restored the float arm of
keys()/values()number comparisons on PHPStan 2.3.0.values()->isGreaterThan(5)narrows toiterable<float|int<6, max>>again instead ofiterable<int<6, max>>, after PHPStan started typing the right side of||in the scope where the left side is false
Full Changelog: v1.5.0...v1.5.1