Skip to content

Instantly share code, notes, and snippets.

@Tobi77
Last active June 26, 2018 13:36
Show Gist options
  • Select an option

  • Save Tobi77/fb4c11e21c5fa3bcb617b6631900d6c7 to your computer and use it in GitHub Desktop.

Select an option

Save Tobi77/fb4c11e21c5fa3bcb617b6631900d6c7 to your computer and use it in GitHub Desktop.
PHP Code Sniffer (PhpStorm)
$ curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
$ php phpcs.phar -h
Pfad zur Bibliothek angeben:
PHPStorm > Settings > Languages & Frameworks > PHP > Code Sniffer
Development environment: Local [...] bearbeiten
PHP Code Sniffer (phpcs) path: /Users/tnussbaum/bin/phpcs/vendor/bin/phpcs
PHP Code Sniffer aktivieren:
PHPStorm > Settings > Editor > Inspections
PHP > PHP Code Sniffer validaiton [check]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment