|
18 | 18 | "m1/env": "2.*"
|
19 | 19 | },
|
20 | 20 | "require-dev": {
|
21 |
| - "squizlabs/php_codesniffer": "2.*", |
22 |
| - "satooshi/php-coveralls": "1.*", |
23 |
| - "php-mock/php-mock-phpunit": "^1.1" |
| 21 | + "squizlabs/php_codesniffer": "~2.9||~3.7", |
| 22 | + "php-coveralls/php-coveralls": "~2.0", |
| 23 | + "php-mock/php-mock-phpunit": "~1.1||~2.0" |
24 | 24 | },
|
25 | 25 | "autoload": {
|
26 | 26 | "psr-0": {
|
27 | 27 | "josegonzalez\\Dotenv": ["src", "tests"]
|
28 | 28 | }
|
| 29 | + }, |
| 30 | + "scripts": { |
| 31 | + "ci": [ |
| 32 | + "@cs-check", |
| 33 | + "@test", |
| 34 | + "@coverage-clover" |
| 35 | + ], |
| 36 | + "test-5.5": "@test-5", |
| 37 | + "test-5.6": "@test-5", |
| 38 | + "test-7.0": "@test-7", |
| 39 | + "test-7.1": "@test-7", |
| 40 | + "test-7.2": "@test-7", |
| 41 | + "test-7.4": "@test-7", |
| 42 | + "test-8.0": "@test-8", |
| 43 | + "test-8.1": "@test-8", |
| 44 | + "test-8.2": "@test-8", |
| 45 | + "coverage-5.5": "@coverage-5", |
| 46 | + "coverage-5.6": "@coverage-5", |
| 47 | + "coverage-7.0": "@coverage-7", |
| 48 | + "coverage-7.1": "@coverage-7", |
| 49 | + "coverage-7.2": "@coverage-7", |
| 50 | + "coverage-7.4": "@coverage-7", |
| 51 | + "coverage-8.0": "@coverage-8", |
| 52 | + "coverage-8.1": "@coverage-8", |
| 53 | + "coverage-8.2": "@coverage-8", |
| 54 | + "cs-check": "php -d memory_limit=-1 ./vendor/bin/phpcs --standard=psr2 --exclude=Generic.Files.LineLength ./src ./tests", |
| 55 | + "cs-checkstyle": "php -d memory_limit=-1 ./vendor/bin/phpcs --standard=psr2 --report=checkstyle ./src ./tests", |
| 56 | + "cs-fix": "php -d memory_limit=-1 ./vendor/bin/phpcbf --standard=psr2 ./src ./tests", |
| 57 | + "test": "@test-8", |
| 58 | + "test-5": "php -d memory_limit=-1 ./vendor/bin/phpunit -c phpunit.5.xml --colors=always --log-junit unitreport.xml --testdox", |
| 59 | + "test-7": "php -d memory_limit=-1 ./vendor/bin/phpunit -c phpunit.7.xml --colors=always --log-junit unitreport.xml --testdox", |
| 60 | + "test-8": "php -d memory_limit=-1 ./vendor/bin/phpunit -c phpunit.8.xml --colors=always --log-junit unitreport.xml --testdox", |
| 61 | + "coverage-5": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit -c phpunit.5.xml --coverage-text --coverage-clover=./tmp/coverage.xml --testdox", |
| 62 | + "coverage-7": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit -c phpunit.7.xml --coverage-text --coverage-clover=./tmp/coverage.xml --testdox", |
| 63 | + "coverage-8": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit -c phpunit.8.xml --coverage-text --coverage-clover=./tmp/coverage.xml --testdox", |
| 64 | + "coveralls": "php -d memory_limit=-1 ./vendor/bin/vendor/bin/coveralls -v" |
29 | 65 | }
|
30 | 66 | }
|
0 commit comments