- PHP CodeSniffer for Nova.
- 1810 Installs
This extension is allowed to:
- Read Files
- Launch Subprocesses
phpcs for Nova
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.
phpcs linter can be installed globally using the Composer Dependency Manager for PHP.
- Install composer.
phpcspackage by typing the following in a terminal:
bash composer global require squizlabs/php_codesniffer
phpcs linter can be installed in your project using the Composer Dependency Manager for PHP.
- Install composer.
phpcspackage by typing the following at the root of your project in a terminal:
bash composer require --dev squizlabs/php_codesniffer
- Open Nova.
- Choose menu Extensions > Extension Library...
- Search extension
- Click Install.
You can set the
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.
- Re-structure extension
- Add support per-workspace config
- Prevent remote document
- Optimized codes
- Initial release
The MIT License (MIT)
Copyright (c) Dinh Quoc Han firstname.lastname@example.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.