New action: PHP_CodeSniffer

New action: PHP_CodeSniffer

PHP_CodeSniffer is a nifty little tool that lets you detect and fix code violations in PHP, JS and CSS files so that you can upkeep the high quality of your code.

The tool is best used as the final touch before the deployment:

Image loading...PHP CodeSniffer action details

It supports MySource, PEAR, PHPCS, PSR1, PSR2, Squiz and Zend code standards. Two scripts can be used in the action:

  • phpcs – tokenizes files the files to detect the violations
  • phbcbf – automatically detects and corrects the errors (default)

Image loading...Pipeline example

WARNING: Can't see integration with the service that you use? Drop a line to support@buddy.works with your use case and we'll add it to our to-do list.

Jarek Dylewski

Jarek Dylewski

Customer Support

A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.

Jan 10th 2018
Share