palantirnet / palantir-behat-extension

Additional step definitions for testing Drupal sites using Behat.
1 stars 4 forks source link

Add and configure PHP_CodeSniffer. #8

Closed becw closed 8 years ago

becw commented 9 years ago

Fixes #5.

becw commented 9 years ago

@mathewpeterson I used PHP_CodeSniffer instead of php-cs-fixer, because it will generate a junit report on Circle.

Also, PHP_CodeSniffer does have a fix-it tool, phpcbf, though it is probably more conservative than the php-cs-fixer as it mostly fixed whitespace, boolean case, and method end comments.

I did customize the phpcs.xml file; can you review those changes?