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
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
I have been trying for a while now to get PHPCS to behave exactly the same as the Travis CI version to be able to correct the 'errors' automatically.
Somehow when i run the command
It shows me different 'errors' than the one run by Travis.
On startup it tells me
Registering sniffs in the FoundationPress Theme, WordPress Coding Standards Configuration standard
DONE (42 sniffs registered)
While the Travis CI one gives us
Registering sniffs in the WordPress Theme Coding Standards standard
DONE (75 sniffs registered)
So it somehow loads different configurations. Now i don't know if this is due to my setup or some configuration problem (Win 7 64-bit, FoundationPress and WPCS called in subdirs).
Can somebody shed some light on this?
To me it looks as if Travis CI does not use the FoundationPress xml because the name of the standard is given as WordPress Theme Coding Standards and not FoundationPress Theme, WordPress Coding Standards Configuration as it is written in the FoundationPress\codesniffer.ruleset.xml.
The text was updated successfully, but these errors were encountered:
I have been trying for a while now to get PHPCS to behave exactly the same as the Travis CI version to be able to correct the 'errors' automatically.
Somehow when i run the command
It shows me different 'errors' than the one run by Travis.
On startup it tells me
While the Travis CI one gives us
So it somehow loads different configurations. Now i don't know if this is due to my setup or some configuration problem (Win 7 64-bit, FoundationPress and WPCS called in subdirs).
Can somebody shed some light on this?
To me it looks as if Travis CI does not use the FoundationPress xml because the name of the standard is given as WordPress Theme Coding Standards and not FoundationPress Theme, WordPress Coding Standards Configuration as it is written in the FoundationPress\codesniffer.ruleset.xml.
The text was updated successfully, but these errors were encountered: