-
Notifications
You must be signed in to change notification settings - Fork 19
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
Can't get it to work installed globally #2
Comments
Right now, it's not usable as a globally-installed standard (and I believe @roborourke was running into the same). Need to put some work into this. |
Had the same issue as @leewillis77. I found that if I comment out:
in
☝️ looks like that was correct. |
It seems both installed_paths and rule are relative to CWD, which is not what we want. I don't think phpcs allows you to specify arguments that are relative to the ruleset DIR |
Possibly https://github.com/DealerDirect/phpcodesniffer-composer-installer might work to dynamically register the |
Yeah, at the time I wrote that code, the manual |
This should now be sorted as of #100. |
I have WordPress-VIP installed globally, and PHPCS can find it just fine:
If I then install this repo globally, e.g.
HM shows up as an available standard:
However - it's unusable:
I think because of the clobbering of install paths done in
HM/ruleset.xml
, but not sure what the fix would be.The text was updated successfully, but these errors were encountered: