Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
composer global require '"squizlabs/php_codesniffer=*'"

If you prefer to install into the vendor directory, a dependency can be added to composer.json instead. This can be done using Composer Support in PhpStorm or manually. Composer will install PHP Code Sniffer under the following path in your project: ./vendor/bin/phpcs and ./vendor/bin/phpcs.bat.