Immutable
release. Only release title and notes can be modified.
Added
isIntOrNonEmptyString()expectation, narrowing toint|non-empty-string
Fixed
- Restored type narrowing on PHPStan 2.2.7, which changed how the type specifier composes
&&and||conditions and left chainednot()/nullOr()assertions widening back to their unnarrowed type
Changed
- Bump shivammathur/setup-php from 2.37.0 to 2.37.1 in the actions group by @dependabot[bot] in #8
- Bump the actions group across 1 directory with 2 updates by @dependabot[bot] in #10
- Bump the actions group across 1 directory with 2 updates by @dependabot[bot] in #12
- Bump actions/cache from 6.0.0 to 6.1.0 in the actions group by @dependabot[bot] in #13
- Bump actions/checkout from 7.0.0 to 7.0.1 in the actions group by @dependabot[bot] in #14
- Bump coverallsapp/github-action from 2.3.7 to 2.3.8 in the actions group by @dependabot[bot] in #15
Known issues
- On PHPStan 2.2.7, a chain that negates two overlapping ranges (e.g.
isInt()->not()->isNegativeInt()->isPositiveInt()) keeps only the first negation, narrowing toint<0, max>rather than0. Tracked upstream at phpstan/phpstan#15039
Full Changelog: v1.1.1...v1.2.0