Skip to content

Releases: shipmonk-rnd/phpstan-rules

2.9.1

26 Sep 14:01
a566cfd
Compare
Choose a tag to compare

Fixes

  • ImmediatelyCalledCallableThrowTypeExtension: ignore implicit throw points #163

2.9.0

15 Sep 13:09
a47f65f
Compare
Choose a tag to compare

New features

Fixes

2.8.0

07 Sep 12:43
c588201
Compare
Choose a tag to compare

New features

2.7.0

30 Aug 14:23
c6f845a
Compare
Choose a tag to compare

New features

  • forbidCheckedExceptionInCallableRule: exception tracking elevated to next level (#137) !
    • disallows throwing checked exceptions in Closures and First class callables as those just return callback which can be called any time (thus cannot be tracked by phpstan)
    • allows configuration of functions/methods where some callable argument is immediatelly called, then any checked exception in such callable is property tracked!
      • this is a must if you use something like EntityManager::transactional

Dependencies

  • phpstan/phpstan now requires at least 1.10.30 (was 1.10.0, see #137)

2.6.3

10 Aug 12:52
122df5f
Compare
Choose a tag to compare

Fixes

2.6.2

24 May 09:05
20c7c73
Compare
Choose a tag to compare

Fixes

2.6.1

16 May 10:47
9ffe7b7
Compare
Choose a tag to compare

Fixes

2.6.0

02 May 06:55
4567a9c
Compare
Choose a tag to compare

New features

2.5.1

21 Apr 11:35
bdae03f
Compare
Choose a tag to compare

Fixes

2.5.0

19 Apr 09:54
f3eb144
Compare
Choose a tag to compare

New features

  • classSuffixNaming: allows you to enforce class name suffix for specific children, e.g. \Exception to have Exception suffix (#102)