Skip to content

Releases: pepakriz/phpstan-exception-rules

v0.6.2

15 Feb 07:41
1314ff5
Compare
Choose a tag to compare

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

13 Feb 18:47
Compare
Choose a tag to compare

Improvements:

  • Workaround for static::class in ReflectionExtension (53ebd08)

v0.6.0

12 Feb 17:07
Compare
Choose a tag to compare

New features:

Fixes:

v0.5.0

17 Jan 07:45
Compare
Choose a tag to compare

Improvements:

v0.4.4

15 Jan 06:46
Compare
Choose a tag to compare

Improvements:

  • Add support for ReflectionObject and fix ReflectionZendExtension logic (69ec05c), thanks @marcospassos

v0.4.3

05 Jan 16:51
83fd9a4
Compare
Choose a tag to compare

Fixes:

  • Fixed DynamicThrowTypeService cache (83fd9a4)

v0.4.2

24 Dec 09:59
3ad10a5
Compare
Choose a tag to compare

Fixes:

  • Detect thrown exceptions in functions (3ad10a5)

v0.4.1

02 Dec 16:06
Compare
Choose a tag to compare

Improvements:

  • Official PHP 7.3 support (a1cb24d)

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

27 Nov 19:31
55eaa1f
Compare
Choose a tag to compare

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

07 Oct 13:47
fd96c87
Compare
Choose a tag to compare

Fixes:

  • Methods of unknown classes are skipped from analysis (fd96c87)