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
The rule is in place. The diff itself doesn't matter, as it would be triggered by any modification to an xml file. Here's the output when modifying phpcs.xml:
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree commit -q -F /var/folders/_5/mckw00b54539yk2gkw642sp00000gn/T/SourceTreeTemp.PCzPtn
Running PHP_CodeSniffer...
FILE: ~/project/phpcs.xml
----------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [ ] Short PHP opening tag used; expected "<?php" but
| | found "<?"
1 | ERROR | [ ] Missing file doc comment
1 | ERROR | [x] Expected 1 space before "="; 0 found
1 | ERROR | [x] Expected 1 space after "="; 0 found
1 | ERROR | [x] String "1.0" does not require double quotes; use
| | single quotes instead
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Time: 57ms; Memory: 4Mb
Please fix coding standards errors before committing
Completed with errors, see above
No description provided.
The text was updated successfully, but these errors were encountered: