phpstan-rules
phpstan-rules copied to clipboard
Advanced rules for PHPStan
https://github.com/symplify/phpstan-rules/blob/eb513b0e775f5386321cb2157cbd3429d91b1660/src/Doctrine/RepositoryClassResolver.php#L10-L12 Class `Rector\Exception\ShouldNotHappenException` is not found as `rector/rector` is not in the required dependencies. https://github.com/symplify/phpstan-rules/blob/eb513b0e775f5386321cb2157cbd3429d91b1660/composer.json#L6-L12
I wonder why there is a `PreventParentMethodVisibilityOverrideRule`, as the example it provides will already report a [non-ignorable errors in plain phpstan](https://phpstan.org/r/a4f29269-f3cc-427a-9e31-5d8228a38629)