Closed jmonkfish closed 6 years ago
@jmonkfish I've modified the instructions since they were indeed incorrect. Could you please check whether they are clear enough and can be followed?
I was able to get it to work, although it seemed to require me to open up the Settings pane a few times before phpcs
path would validate. The first few times I tried to validate it was not able to locate PHPCS executable. Then after a few minutes it suddenly validated.
Pretty much the same thing happened when trying to configure the Editor | Inspections to set PHP Code Sniffer to PSR2. The Coding standard dropdown was empty. The refresh button gave an error, as well as the ...
. Then I returned to the PHPCS path validation, confirmed that it was still validating; then the Coding standard dropdown was populated with many standards.
Other than those two issues, everything worked great, and I'm happy to see such a quick fix for this!
I want to ask, how is this, I don't know (phpcs executable is not found - phpcs)
I was following all of the tutorials in sequence from the beginning, and ran into my first issue with this part.
Step 1 at the top of this tutorial had no issues. Step 2 could not be completed, I could not find "Create" anywhere, and after re-trying and snooping around, I still could not figure out this step.
PHPCS configuration:
When clicking "Validate" I received the error
Cannot run program "phpcs": error=2, No such file or directory