Skip to content

Commit

Permalink
Fix issue in composer.json and travis config.
Browse files Browse the repository at this point in the history
  • Loading branch information
bummzack committed Aug 25, 2020
1 parent 5ec3c64 commit 66e87c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ before_script:
- phpenv config-rm xdebug.ini || true

# Install composer dependencies
- export PATH=~/.composer/vendor/bin:$PATH
- composer validate
- composer update
- if [[ $PHPCS_TEST ]]; then composer global require squizlabs/php_codesniffer:^3 --prefer-dist --no-interaction --no-progress --no-suggest -o; fi

script:
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"bummzack/swiftmailer-emogrifyplugin" : "^0.2"
},
"require-dev": {
"phpunit/PHPUnit": "^5.7"
"phpunit/phpunit": "^5.7",
"squizlabs/php_codesniffer": "^3"
},
"extra": {
"branch-alias": {
Expand All @@ -28,7 +29,7 @@
}
},
"scripts": {
"lint": "phpcs -s src/ tests/"
"lint": "vendor/bin/phpcs -s src/ tests/"
},
"minimum-stability": "dev",
"prefer-stable": true
Expand Down

0 comments on commit 66e87c4

Please sign in to comment.