1
0
mirror of https://github.com/danog/amp.git synced 2024-11-26 20:15:00 +01:00

Fix composer.json

This commit is contained in:
Niklas Keller 2018-12-25 14:05:19 +01:00
parent 2917687e72
commit baf667cdb3
2 changed files with 5 additions and 3 deletions

View File

@ -29,6 +29,9 @@ install:
- composer update -n --prefer-dist
- wget https://cs.sensiolabs.org/download/php-cs-fixer-v2.phar -O php-cs-fixer
- chmox +x php-cs-fixer
- mkdir -p coverage/cov coverage/bin
- wget https://phar.phpunit.de/phpcov.phar -O coverage/bin/phpcov
- chmod +x coverage/bin/phpcov
@ -39,7 +42,7 @@ script:
# Run testNoMemoryLeak separately, as those are skipped with enabled coverage
- php vendor/bin/phpunit --verbose --group memoryleak
- phpdbg -qrr vendor/bin/phpunit --verbose --exclude-group memoryleak --coverage-php coverage/cov/main.cov
- PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer --diff --dry-run -v fix
- PHP_CS_FIXER_IGNORE_ENV=1 ./php-cs-fixer --diff --dry-run -v fix
after_script:
- curl -OL https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.0/coveralls.phar

View File

@ -40,7 +40,6 @@
"concurrent-php/async-api": "dev-master"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.13",
"phpunit/phpunit": "^6.0.9"
},
"autoload": {
@ -68,7 +67,7 @@
},
"config": {
"platform": {
"php": "7.2.0"
"php": "7.3.0"
}
},
"scripts": {