Releases: pepakriz/phpstan-exception-rules
Releases · pepakriz/phpstan-exception-rules
v0.3.2
v0.3.1
v0.3.0
Improvements:
- Better union calls support (b98f8da, a356c51)
- Throws propagation over
Traversable
interface in foreach (ba7cb04) - Throws propagation over
Countable
interface (4b46a09) - Throws propagation over
iterator_count
,iterator_to_array
anditerator_apply
functions (45d39d4) - Throws propagation over
JsonSerializable
interface (246ebe7) - Better LSP support (afdd0cb, 8106608, abeda2d, fe4900b)
New features:
- Dynamic Throw Types (1ec3235, 6c213d2, 3b12622)
- Configuration option for overriding
@throws
definitions (c703a9b) - New rules for detection of unsupported or risky constructs (01cde8c)
- Configuration option
reportUnusedCatchesOfUncheckedExceptions
which warn you about unused catch statement of unchecked exception (15d7db5)
BC Breaks: