Skip to content

Commit

Permalink
phpci
Browse files Browse the repository at this point in the history
  • Loading branch information
roelVerdonschot committed Mar 15, 2016
1 parent d1d01e9 commit 2658cc0
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions phpci.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
setup:
env:
TEST_DB_DB: "testdb"
TEST_DB_HOST: "127.0.0.1"
TEST_DB_USER: "testuser"
TEST_DB_PWD: "password"
APP_ENV: "testing"
APP_DEBUG: "true"
CACHE_DRIVER: "array"
SESSION_DRIVER: "array"
QUEUE_DRIVER: "sync"

composer:
action: "install"

test:
lint:
directory: "app/"
php_unit:
config:
- "phpunit.xml"
directory:
- "app/tests/"
php_loc:
directory: "app"
php_code_sniffer:
path: "app"
ignore:
- "app/views"
standard: "PSR1,PSR2"
# php_code_sniffer:
# path: "app"
# ignore:
# - "app/views"
# standard: "PSR1,PSR2"
php_cpd:
standard: "PSR2"
path: "app"
Expand All @@ -37,4 +40,7 @@ test:
- "naming"
- "unusedcode"
- "somedir/customruleset.xml"
zero_config: true
zero_config: true
php_docblock_checker:
technical_debt:
allowed_errors: -1

0 comments on commit 2658cc0

Please sign in to comment.