Skip to content

v1.5.2

Latest

Choose a tag to compare

@paulbalandan paulbalandan released this 16 Nov 09:05
Immutable release. Only release title and notes can be modified.
v1.5.2
e44f804

What's Changed

Changed

  • The minimum PHPStan version is now 2.3.6. isBetween(), isGreaterThan(), isGreaterThanOrEqual(), isLessThan(), and isLessThanOrEqual() narrow the float arm to a float range, following PHPStan's float range support. isBetween(0, 10) gives float<0.0, 10.0>|int<0, 10> instead of float|int<0, 10>, and a chained isInt() or isFloat() narrows to the int range or the float range alone

Full Changelog: v1.5.1...v1.5.2