-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Description
Bug report
We have now several classes we extend that are now failing in PHPStan
And apparently, one cannot ignoreErrors that one, but must use excludes_analyse here.
Code snippet that reproduces the problem
/**
* Represents a template filter.
*
* @final
*
* @author Fabien Potencier <fabien@symfony.com>
*/
class TwigFilter
and
use Twig\TwigFilter as BaseTwigFilter;
class TwigFilter extends BaseTwigFilter
Resulting in
12 Class Spryker\Shared\Twig\TwigFilter extends final class
Twig\TwigFilter.
Expected output
We would like to ignore this annotation for the time being until we can upgrade away from it.
At the same time we don't want to excludes_analyse the whole class as everything else in there still would be nice to have analyzed.
Is there a way we can add a softer way to exclude this without throwing out the whole file?
Like some config flag?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels