Re-add PHP 5.5, make use of the most up to date dependencies on higher PHP versions.
Showing
... | @@ -18,16 +18,16 @@ | ... | @@ -18,16 +18,16 @@ |
} | } | ||
], | ], | ||
"require": { | "require": { | ||
"php": ">=5.6", | "php": "^5.5|^7.0", | ||
"ext-pdo": "*", | "ext-pdo": "*", | ||
"ext-curl": "*", | "ext-curl": "*", | ||
"ext-mbstring": "*", | "ext-mbstring": "*", | ||
"monolog/monolog": "^1.19", | "monolog/monolog": "^1.22", | ||
"guzzlehttp/guzzle": "~6.0" | "guzzlehttp/guzzle": "^6.2" | ||
}, | }, | ||
"require-dev": { | "require-dev": { | ||
"phpunit/phpunit": "^5.7", | "phpunit/phpunit": "^4.8|^5.7|^6.1", | ||
"squizlabs/php_codesniffer": "~2.5" | "squizlabs/php_codesniffer": "^2.8" | ||
}, | }, | ||
"autoload": { | "autoload": { | ||
"psr-4": { | "psr-4": { | ||
... | @@ -43,11 +43,14 @@ | ... | @@ -43,11 +43,14 @@ |
"check-code": [ | "check-code": [ | ||
"./vendor/bin/phpcs --standard=phpcs.xml -snp --encoding=utf-8 src/ --report-width=150" | "./vendor/bin/phpcs --standard=phpcs.xml -snp --encoding=utf-8 src/ --report-width=150" | ||
], | ], | ||
"test": [ | |||
"./vendor/bin/phpunit" | |||
], | |||
"test-cov": [ | "test-cov": [ | ||
"./vendor/bin/phpunit --coverage-clover build/logs/clover.xml" | "./vendor/bin/phpunit --coverage-clover build/logs/clover.xml" | ||
], | ], | ||
"test": [ | "test-cov-upload": [ | ||
"./vendor/bin/phpunit" | "wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml" | ||
] | ] | ||
} | } | ||
} | } |
This diff is collapsed.
Please register or sign in to comment