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:
parent
2917687e72
commit
baf667cdb3
@ -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
|
||||
|
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user