NOTICE: This extension is archived. Move to https://extensions.panic.com/extensions/com.thorlaksson/com.thorlaksson.phpcs/
This issues extension for Nova provides an interface to phpcs. It will be used with files that have the “PHP” language mode.
Before using this extension, you must ensure that phpcs
is installed on your system. The preferred method is using composer for both system-wide and project-wide installations.
Once phpcs is installed, you can proceed to install the phpcs extension if it is not yet installed.
The phpcs
linter can be installed globally using the Composer Dependency Manager for PHP.
Require phpcs
package by typing the following in a terminal:
composer global require squizlabs/php_codesniffer
The phpcs
linter can be installed in your project using the Composer Dependency Manager for PHP.
Require phpcs
package by typing the following at the root of your project in a terminal:
composer require --dev squizlabs/php_codesniffer
phpcs
You can set the executable_path
and standard
in Extensions > Extension Library... > phpcs > Preferences.
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.