Changeset 43348 for trunk/phpcs.xml.dist
- Timestamp:
- 06/15/2018 03:56:58 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 3 3 wp-tests-config.php 4 4 .htaccess 5 6 5 # Files and folders related to build/test tools 7 6 phpunit.xml 7 phpcs.xml 8 .phpcs.xml 8 9 node_modules 9 10 npm-debug.log
-
- Property svn:ignore
-
trunk/phpcs.xml.dist
r43013 r43348 5 5 <rule ref="WordPress-Core"/> 6 6 <rule ref="WordPress.CodeAnalysis.EmptyStatement"/> 7 <rule ref="WordPress.Commenting.DocblockFormat"/>8 7 9 8 <arg name="extensions" value="php"/> 9 10 <!-- Strip the filepaths down to the relevant bit. --> 11 <arg name="basepath" value="./"/> 12 13 <!-- Check up to 20 files simultanously. --> 14 <arg name="parallel" value="20"/> 10 15 11 16 <!-- Show sniff codes in all reports --> … … 70 75 </rule> 71 76 77 <!-- Whitelist the I18n functions file from issues identified by the I18n sniff 78 (such as calling the low-level translate() function). --> 79 <rule ref="WordPress.WP.I18n"> 80 <exclude-pattern>/src/wp-includes/l10n\.php</exclude-pattern> 81 </rule> 82 72 83 <rule ref="Generic.Functions.FunctionCallArgumentSpacing"> 73 84 <exclude-pattern>/wp-config\.php</exclude-pattern>
Note: See TracChangeset
for help on using the changeset viewer.