phpcodesniffer-standard wpeverest-sniffs
WPEverest sniffs
wpeverest/wpeverest-sniffs
WPEverest sniffs
- Monday, December 25, 2017
- by shivapoudel
- Repository
- 1 Watchers
- 0 Stars
- 115 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 1 % Grown
WPEverst Sniffs
Collection of PHP_CodeSniffer sniffs for WPEverst Plugins., (*1)
Installation
composer require wpeverest/wpeverest-sniffs
Usage
Command line
./vendor/bin/phpcs --standard=WPEverst-Core <file>
Config file
PHPCS config file:, (*2)
<ruleset name="WPEverst Coding Standards">
<description>My projects ruleset.</description>
<!-- Configs -->
<config name="minimum_supported_wp_version" value="4.7" />
<config name="testVersion" value="7.2-" />
<!-- Rules -->
<rule ref="WPEverst-Core" />
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="new-text-domain" />
</properties>
</rule>
<rule ref="PHPCompatibility">
<exclude-pattern>tests/</exclude-pattern>
</rule>
</ruleset>
Changelog
See changelog for details, (*3)
dev-master
9999999-dev
WPEverest sniffs
Sources
Download
MIT
The Requires
by
Shiva Poudel
wordpress
phpcs
standards
wpeverest
0.0.1
0.0.1.0
WPEverest sniffs
Sources
Download
MIT
The Requires
by
Shiva Poudel
wordpress
phpcs
standards
wpeverest