-
Notifications
You must be signed in to change notification settings - Fork 397
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
phpcs tests #4355
Comments
So, there needs to be a directory |
Not sure if you go this figured out already but heres some docs on the tests directory. https://docs.acquia.com/blt/developer/testing/#test-directory-structure |
The directory shouldn’t be required for a phpcs test. If it is, the install of the plug-in should check for it and add it if it doesn’t exist. |
@shelane is this still an issue? phpcs seems to be working fine in BLT 13 for me with the https://github.com/acquia/blt-phpcs plugin installed. |
@mikemadison13 I can try on a clean install and see if it's still an issue. My work around was to create a tests directory back when I first discovered this issue. I'll put it on my list to look at this week. |
This took longer to get to than I expected, but I had a chance today to recreate it again. I did a fresh install. I ran
It did not "fix" the issue. So I created that directory manually and ran the command again and got this error:
This does not indicate what the "tests file" is. However, since I know it's actually a root tests directory, I created the directory and reran the command and it works fine. |
I want to...
Run phpcs/phpcbf validation on my project files.
It's not working because...
Running the commands results in an error.
Detailed error output
If I run
blt validate:phpcs
I get the error message:I do have the acquia/blt-phpcs package.
BLT doctor output
System information
The text was updated successfully, but these errors were encountered: