Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #94 from localheinz/feature/composer-normalize
Browse files Browse the repository at this point in the history
Enhancement: Run 'composer normalize'
  • Loading branch information
localheinz authored Aug 6, 2018
2 parents cb4e19b + f218bfe commit a0d6ff9
Show file tree
Hide file tree
Showing 4 changed files with 233 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
php: 7.1

before_install:
- composer self-update 1.6.5
- source .travis/xdebug.sh
- xdebug-disable
- composer validate
Expand All @@ -36,13 +37,15 @@ jobs:
- mkdir -p $HOME/.php-cs-fixer

script:
- composer normalize --dry-run
- vendor/bin/php-cs-fixer fix --config=.php_cs --diff --dry-run --verbose

- stage: Stan

php: 7.1

before_install:
- composer self-update 1.6.5
- source .travis/xdebug.sh
- xdebug-disable
- composer validate
Expand All @@ -63,6 +66,7 @@ jobs:
env: WITH_LOWEST=true

before_install:
- composer self-update 1.6.5
- source .travis/xdebug.sh
- xdebug-disable
- composer validate
Expand Down Expand Up @@ -118,6 +122,7 @@ jobs:
php: 7.2

before_install:
- composer self-update 1.6.5
- source .travis/xdebug.sh
- xdebug-disable
- composer validate
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ test: vendor
vendor/bin/phpunit --configuration=test/Unit/phpunit.xml

vendor: composer.json composer.lock
composer self-update
composer self-update 1.6.5
composer validate
composer install
composer normalize
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"require-dev": {
"infection/infection": "~0.8.2",
"localheinz/composer-normalize": "~0.8.0",
"localheinz/php-cs-fixer-config": "~1.14.0",
"phpstan/phpstan": "~0.9.2",
"phpstan/phpstan-phpunit": "~0.9.4",
Expand Down
226 changes: 225 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a0d6ff9

Please sign in to comment.