Skip to content

2.7.0

Compare
Choose a tag to compare
@janedbal janedbal released this 30 Aug 14:23
· 124 commits to master since this release
c6f845a

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)