Skip to content

Instantly share code, notes, and snippets.

@lukzgois
Last active August 29, 2015 14:20
Show Gist options
  • Save lukzgois/4a660b430da7e6b2d742 to your computer and use it in GitHub Desktop.
Save lukzgois/4a660b430da7e6b2d742 to your computer and use it in GitHub Desktop.
PHPCI Configuration
setup:
composer:
prefer_dist: "true"
shell:
- "cp .env.example .env"
- "php artisan migrate --seed"
test:
php_code_sniffer:
ignore:
- "resources/view"
- "public"
- "vendor"
- "tests"
- "database"
- "bootstrap"
- "server.php"
- "gulpfile.js"
- "spec"
standard: "PSR1,PSR2"
php_mess_detector:
rules:
- "/vendor/lukzgois/laravelmd/ruleset/cleancode.xml"
- "/vendor/lukzgois/laravelmd/ruleset/controversial.xml"
- "codesize"
- "design"
- "/vendor/lukzgois/laravelmd/ruleset/naming.xml"
ignore:
- "vendor"
- "database"
- "public"
- "resources/views"
- "gulpfile.js"
- "server.php"
- "bootstrap"
- "tests"
- "spec"
php_loc:
directory: "app"
php_spec:
bootstrap: "phpspec.yml"
codeception:
config: "codeception.yml"
complete:
shell:
command: "php artisan migrate:reset"
success:
slack_notify:
webhook_url: "https://hooks.slack.com/services/safsaf/asfasfas"
room: "#bit-credito"
username: "PHPCI"
icon: ":beers:"
failure:
slack_notify:
webhook_url: "https://hooks.slack.com/services/sfsafs/asfsafs"
room: "#bit-credito"
username: "PHPCI"
icon: ":shit:"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment