Changeset 43348
- Timestamp:
- 06/15/2018 03:56:58 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 5 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/.gitignore
r43309 r43348 8 8 # Files and folders related to build/test tools 9 9 /phpunit.xml 10 /.phpcs.xml 11 /phpcs.xml 10 12 /tests/phpunit/data/plugins/wordpress-importer 11 13 /tests/phpunit/data/.trac-ticket-cache* -
trunk/composer.json
r42961 r43348 12 12 "require-dev": { 13 13 "dealerdirect/phpcodesniffer-composer-installer": "^0.4.4", 14 "squizlabs/php_codesniffer": "^3.2.3", 15 "wp-coding-standards/wpcs": "dev-feature/new-multi-line-comment-formatting-sniffs" 14 "wp-coding-standards/wpcs": "dev-master" 16 15 }, 17 16 "scripts": { -
trunk/composer.lock
r42960 r43348 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": " 4b409623b2bc5d8e87b7f45d57a60990",7 "content-hash": "9c2c871b813e89682ef445611d2f5363", 8 8 "packages": [], 9 9 "packages-dev": [ … … 78 78 { 79 79 "name": "squizlabs/php_codesniffer", 80 "version": "3. 2.3",80 "version": "3.3.0", 81 81 "source": { 82 82 "type": "git", 83 83 "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", 84 "reference": " 4842476c434e375f9d3182ff7b89059583aa8b27"84 "reference": "d86873af43b4aa9d1f39a3601cc0cfcf02b25266" 85 85 }, 86 86 "dist": { 87 87 "type": "zip", 88 "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ 4842476c434e375f9d3182ff7b89059583aa8b27",89 "reference": " 4842476c434e375f9d3182ff7b89059583aa8b27",88 "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/d86873af43b4aa9d1f39a3601cc0cfcf02b25266", 89 "reference": "d86873af43b4aa9d1f39a3601cc0cfcf02b25266", 90 90 "shasum": "" 91 91 }, … … 125 125 "standards" 126 126 ], 127 "time": "2018-0 2-20T21:35:23+00:00"127 "time": "2018-06-06T23:58:19+00:00" 128 128 }, 129 129 { 130 130 "name": "wp-coding-standards/wpcs", 131 "version": "dev- feature/new-multi-line-comment-formatting-sniffs",131 "version": "dev-master", 132 132 "source": { 133 133 "type": "git", 134 134 "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git", 135 "reference": "c e4d719296ebbecd01f57bc3729833e89b39ad99"135 "reference": "cf6b310caad735816caef7573295f8a534374706" 136 136 }, 137 137 "dist": { 138 138 "type": "zip", 139 "url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/c e4d719296ebbecd01f57bc3729833e89b39ad99",140 "reference": "c e4d719296ebbecd01f57bc3729833e89b39ad99",139 "url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/cf6b310caad735816caef7573295f8a534374706", 140 "reference": "cf6b310caad735816caef7573295f8a534374706", 141 141 "shasum": "" 142 142 }, … … 165 165 "wordpress" 166 166 ], 167 "time": "201 7-11-30T18:28:51+00:00"167 "time": "2018-02-16T01:57:48+00:00" 168 168 } 169 169 ], -
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.