Skip to content

Commit

Permalink
Setup to run php-cs-fixer on CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Oct 25, 2020
1 parent 2f27c33 commit 2abba02
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:
include:
- php: 7.2
env: COVERAGE=1
- name: "PHP CS Fixer"
php: 7.0
install:
- composer require --dev friendsofphp/php-cs-fixer:2.16
script:
- PATH=vendor/bin:$PATH
- php-cs-fixer fix --verbose --diff --dry-run --ansi

services:
- mongodb
Expand Down

0 comments on commit 2abba02

Please sign in to comment.