Releases: pepakriz/phpstan-exception-rules
Releases · pepakriz/phpstan-exception-rules
v0.6.2
Improvements:
- Global scope support (1314ff5)
- New config option
reportCheckedThrowsInGlobalScope
. It'll be enabled by default in next major release, so if you want to use it now, you must enable it in config. See readme. (1314ff5)
v0.6.1
Improvements:
- Workaround for
static::class
in ReflectionExtension
(53ebd08)
v0.4.4
Improvements:
- Add support for ReflectionObject and fix ReflectionZendExtension logic (69ec05c), thanks @marcospassos
v0.4.3
Fixes:
- Fixed DynamicThrowTypeService cache (83fd9a4)
v0.4.2
Fixes:
- Detect thrown exceptions in functions (3ad10a5)
v0.4.1
Improvements:
Fixes:
- Composer branch alias (7a842fe)
- Fixed double creation of virtual node when a trait is used (9d41e60)
New features:
- Dynamic extension for
json_encode
and json_decode
functions (b1c7fa5)
v0.4.0
Improvements:
- PHPStan 0.10.5 compatibility (66e821a)
New features:
- Anonymous classes support (49cb50a)
- Dynamic extension for DateTime and DateTimeImmutable (fdac83b)
- Dynamic extension for Reflection classes (e7d1ef6, a904c8e)
v0.3.3
Fixes:
- Methods of unknown classes are skipped from analysis (fd96c87)