Skip to content

PHPCS-related tweaks#397

Merged
jrfnl merged 1 commit intodevelopfrom
feature/phpcs-docs
May 8, 2015
Merged

PHPCS-related tweaks#397
jrfnl merged 1 commit intodevelopfrom
feature/phpcs-docs

Conversation

@GaryJones
Copy link
Copy Markdown
Member

Originally branched to support the docs branch of WPCS, most of the issues have already been addressed in PRs already merged into dev.

What remains then is a readme update, and a few small tweaks.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The -v and -n flag are currently not included in the ruleset file.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They don't need to be. -n is for ignoring warnings (which we shouldn't do), and -v is for verbose, and I've not found that to be any more useful than what the full report already provides.

Travis and local runs use the same config as provided by phpcs.xml.

@GaryJones GaryJones force-pushed the feature/phpcs-docs branch from a9408e1 to a67b8ca Compare May 8, 2015 14:12
* Remove use of var_dump() completely.
* Switch to phpcs.xml and remove flags from Travis. (+1 squashed commit)
Squashed commits:
[36e0340] Improve PHPCS checks.

Exclude a couple of commenting rules that WPCS will almost certainly not
exclude, but that we currently fail on.
@GaryJones GaryJones force-pushed the feature/phpcs-docs branch from a67b8ca to 75a2bfc Compare May 8, 2015 14:17
jrfnl added a commit that referenced this pull request May 8, 2015
@jrfnl jrfnl merged commit 8a12e53 into develop May 8, 2015
@jrfnl jrfnl deleted the feature/phpcs-docs branch May 8, 2015 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants