Open veewee opened 3 years ago
The default ruleset for twigCS gets scoped. Resulting in errors:
Snippet:
class TwigCs extends \GrumPHP\Task\AbstractExternalTask { public static function getConfigurableOptions() : \_HumbugBoxdfa46d19239b\Symfony\Component\OptionsResolver\OptionsResolver { $resolver->setDefaults( [ //..... 'ruleset' => '_HumbugBoxdfa46d19239b\\FriendsOfTwig\\Twigcs\\Ruleset\\Official', //..... ] ); return $resolver; } ...
This specific class could be namespaced if it does not break anything else.
See php-scoper: exclude-constants property. https://github.com/humbug/php-scoper/blob/f403b26a2077eeca22dedd54313d24a1b7a99730/docs/configuration.md#excluded-symbols
exclude-constants
The default ruleset for twigCS gets scoped. Resulting in errors:
Snippet:
This specific class could be namespaced if it does not break anything else.