Bug report
If I register rule in rules: section in my config, cache invalidation (due to changed contents of the rule) does not work because ResultCacheManager reads on services.
rules:
- Fulfillment\PHPStan\Rule\ClassPropertiesNullabilityRule # invalidation NOT working
services:
-
factory: Fulfillment\PHPStan\Rule\PreferSelfOverClassNameRule # invalidation working
tags:
- phpstan.rules.rule
Code snippet that reproduces the problem
No snippet.
Expected output
Cache to be invalidated.