Skip to content

Mrono/step-phpcs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP CodeSniffer Wercker step

Verifies all *.php files specified directory

wercker status

Dependencies

Options

  • directory The directory(s)/file(s) to scan. please add a pipeline variable which sets the path, or make it hardcoded in your wercker.yml
  • ignore The directory(s)/file(s) to ignore.
  • standard The coding standard used to test against; defaults to PSR2.
  • report Sets the output display format. http://pear.php.net/manual/en/package.php.php-codesniffer.reporting.php

Example

box: wercker/php
## Build definition
build:
  # The steps that will be executed on build
  steps:
  - mbrevda/phpcs:
        directory: $DIRECTORY
        standard: PSR2
        ignore: $IGNORE_DIRECTORY
        report: full
deploy:
  steps:

About

PHP CodeSniffer step for Wercker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 99.7%
  • PHP 0.3%