mirror of
https://github.com/WordPress/WordPress-Coding-Standards.git
synced 2025-08-30 03:11:24 +08:00
Docs: miscellaneous changes
Change `WPCS` to `WordPressCS` in miscellaneous files.
This commit is contained in:
parent
4a33d46882
commit
71dc238e63
3 changed files with 5 additions and 5 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
# Exclude these files from release archives.
|
# Exclude these files from release archives.
|
||||||
# This will also make them unavailable when using Composer with `--prefer-dist`.
|
# This will also make them unavailable when using Composer with `--prefer-dist`.
|
||||||
# If you develop for WPCS using Composer, use `--prefer-source`.
|
# If you develop for WordPressCS using Composer, use `--prefer-source`.
|
||||||
# https://blog.madewithlove.be/post/gitattributes/
|
# https://blog.madewithlove.be/post/gitattributes/
|
||||||
#
|
#
|
||||||
/.gitattributes export-ignore
|
/.gitattributes export-ignore
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
<!-- Linting is done in a separate CI job, no need to duplicate it. -->
|
<!-- Linting is done in a separate CI job, no need to duplicate it. -->
|
||||||
<exclude name="Generic.PHP.Syntax"/>
|
<exclude name="Generic.PHP.Syntax"/>
|
||||||
|
|
||||||
<!-- WPCS still has a PHP 5.4 minimum. -->
|
<!-- WordPressCS still has a PHP 5.4 minimum. -->
|
||||||
<exclude name="Modernize.FunctionCalls.Dirname"/>
|
<exclude name="Modernize.FunctionCalls.Dirname"/>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Simple file which should not have any issues when testing against the WPCS rulesets.
|
* Simple file which should not have any issues when testing against the WordPressCS rulesets.
|
||||||
*
|
*
|
||||||
* Most - if not all - sniffs should be triggered by this file.
|
* Most - if not all - sniffs should be triggered by this file.
|
||||||
*
|
*
|
||||||
* Used to do a simple CI test on the rulesets.
|
* Used to do a simple CI test on the rulesets.
|
||||||
*
|
*
|
||||||
* Currently covered - based on the rulesets as of July 24 2018:
|
* Currently covered - based on the rulesets as of July 24 2018:
|
||||||
* - Every WPCS native sniff is triggered.
|
* - Every WordPressCS native sniff is triggered.
|
||||||
* - Every WPCS + PHPCS sniff within the Core ruleset is triggered.
|
* - Every WordPressCS + PHPCS sniff within the Core ruleset is triggered.
|
||||||
*
|
*
|
||||||
* @package WPCS\WordPressCodingStandards
|
* @package WPCS\WordPressCodingStandards
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue