Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TwigCS default ruleset gets prefixed #11

Open
veewee opened this issue May 12, 2021 · 1 comment
Open

TwigCS default ruleset gets prefixed #11

veewee opened this issue May 12, 2021 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@veewee
Copy link
Collaborator

veewee commented May 12, 2021

The default ruleset for twigCS gets scoped.
Resulting in errors:
MicrosoftTeams-image

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.

@veewee veewee added bug Something isn't working help wanted Extra attention is needed labels May 12, 2021
@veewee
Copy link
Collaborator Author

veewee commented Feb 7, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant