Bug report
The PHP documentation had wrong exception class name in DateInterval::createFromDateString() documentation:
It was changed in phpstan here:
Other references:
Code snippet that reproduces the problem
https://phpstan.org/r/3ca784af-7263-4e4d-88d9-2d70109bfd24
Expected output
PHPStan should detect that the thrown exception is DateMalformedIntervalStringException, and that it is not instanceof DateMalformedStringException.
Did PHPStan help you today? Did it make you happy in any way?
No response
Bug report
The PHP documentation had wrong exception class name in
DateInterval::createFromDateString()documentation:It was changed in phpstan here:
Other references:
Code snippet that reproduces the problem
https://phpstan.org/r/3ca784af-7263-4e4d-88d9-2d70109bfd24
Expected output
PHPStan should detect that the thrown exception is
DateMalformedIntervalStringException, and that it is not instanceofDateMalformedStringException.Did PHPStan help you today? Did it make you happy in any way?
No response