Commit Graph

12 Commits

Author SHA1 Message Date
jrfnl 0d353e1c0c Rename the PHPCS ruleset.
If the file is called `phpcs.xml` or `phpcs.xml.dist`, it is automatically picked up by PHPCS.

A `phpcs.xml` is given preference over a `phpcs.xml.dist` file. So renaming the file to `phpcs.xml.dist` allows for people to use the file provided by `_s` if they choose not to add their own, but also leaves people the freedom to easily overrule it.
2017-06-12 00:11:53 +02:00
jrfnl ccaa222ba4 Minor automated testing tweaks.
* Add PHP 7.1 to the travis test matrix as it will be released soon.
* Set `testVersion` for PHPCompatibility so we receive the messages for the right PHP versions.
2016-08-25 23:24:57 +02:00
jrfnl e1f4b0add4 Updated based on feedback.
* Include skip-link-focus-fix.js in the js hint/lint tests & fix up the file.
* Pull in .jshintrc from WP SVN.
* Add PHPCompatibility Sniffs.
* Sync the ignore statements to always exclude .min.js files.
* Slim down the tested against PHP versions even more.
2015-12-15 10:09:54 +01:00
Philip Arthur Moore 6f839cbbb0 Add whitespace rule exclusion into build checks. See #737. 2015-04-24 09:41:08 +07:00
Philip Arthur Moore 171e1d10b2 Exclude whitespace rules from coding standards checks. See #737. 2015-04-24 09:08:26 +07:00
Philip Arthur Moore 2c21cdb7ae Kick off better coding standards sweep. See #737 2015-04-24 09:05:33 +07:00
Philip Arthur Moore ea8c6f41a8 Travis CI builds are failing. Remove all coding standards exclusions so that we're able to generate a useful, actionable report on which to base fixes to the build failures. 2015-04-24 08:36:23 +07:00
Philip Arthur Moore 5c6311499b Update Travis CI build checks. Props @miya0001. See #663. 2015-01-06 11:48:47 +07:00
Philip Arthur Moore 964c19070f The commit 6986e21182 (diff-9dbd3b63f5d2589b5eb1701e92893803) began (in part) breaking Travis CI builds in _s. There’s most certainly room for improvement to _s code with regard to WordPress Coding Standards, but let’s exclude WordPress.Variables.GlobalVariables and correct all coding standards errors on localhost before removing the excludes from our GitHub-hosted ruleset. 2014-11-01 08:06:22 +07:00
Philip Arthur Moore 7de804d3b3 Better rules for Travis CI. 2014-11-01 08:02:31 +07:00
Philip Arthur Moore b443161ed6 Better build config for Travis CI. [skip ci] 2014-11-01 07:45:39 +07:00
Philip Arthur Moore 895b7a93ab Prepare Underscores for Coding Standards. See https://github.com/Automattic/_s/issues/553. 2014-08-17 23:40:13 +07:00