You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the config-repos branch, I then tried to run the following command again from the root of this repository:
$ php ./bin/phpcsdocs generate
And got the following error response:
Searching for sniffs in D:\000_GitHub\PHPCS\PHPCompatibility\PHPCompatibility/PHPCompatibility/...
In NotASniffPath.php line 18:
The file path provided does not follow the convention for a sniff class.
Must contain {Standard}/Sniffs/{Category}/{SniffName}Sniff.php
Received: D:\000_GitHub\PHPCS\PHPCompatibility\PHPCompatibility/PHPCompatibility/Sniffs/Classes\ForbiddenExtendingFinalClassSniff.php
generate [<sniff>]
I suspect this may be due to the multiplePHPCompatibility directories in the path ?
The text was updated successfully, but these errors were encountered:
On second look, it doesn't appear to have anything to do with the multiple PHPCompatibility directories, rather with the mixed Windows/Unix slashes in the path.
Looks like some slash normalization is needed for cross-OS compatibility.
After #3, I edited the
generator.xml.dist
file to contain the following:Using the
config-repos
branch, I then tried to run the following command again from the root of this repository:And got the following error response:
I suspect this may be due to the multiple
PHPCompatibility
directories in the path ?The text was updated successfully, but these errors were encountered: