|
11 | 11 | ], |
12 | 12 | "homepage": "https://github.com/selective-php/samesite-cookie", |
13 | 13 | "require": { |
14 | | - "php": "^7.2 || ^8.0", |
| 14 | + "php": "8.1.* || 8.2.* || 8.3.* || 8.4.*", |
15 | 15 | "psr/http-message": "^1", |
16 | 16 | "psr/http-server-handler": "^1", |
17 | 17 | "psr/http-server-middleware": "^1" |
18 | 18 | }, |
19 | 19 | "require-dev": { |
20 | 20 | "friendsofphp/php-cs-fixer": "^3", |
21 | | - "middlewares/utils": "^3", |
22 | | - "phpstan/phpstan": "^1", |
| 21 | + "middlewares/utils": "^3 || ^4", |
| 22 | + "phpstan/phpstan": "^1 || ^2", |
23 | 23 | "phpunit/phpunit": "^10", |
24 | 24 | "slim/psr7": "^1", |
25 | 25 | "squizlabs/php_codesniffer": "^3" |
|
49 | 49 | "sniffer:check": "phpcs --standard=phpcs.xml", |
50 | 50 | "sniffer:fix": "phpcbf --standard=phpcs.xml", |
51 | 51 | "stan": "phpstan analyse -c phpstan.neon --no-progress --ansi", |
52 | | - "test": "phpunit --configuration phpunit.xml --do-not-cache-result --colors=always", |
| 52 | + "test": "phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --display-warnings --display-deprecations --no-coverage", |
53 | 53 | "test:all": [ |
54 | 54 | "@cs:check", |
55 | 55 | "@sniffer:check", |
56 | 56 | "@stan", |
57 | 57 | "@test" |
58 | 58 | ], |
59 | | - "test:coverage": "php -d xdebug.mode=coverage -r \"require 'vendor/bin/phpunit';\" -- --configuration phpunit.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage" |
| 59 | + "test:coverage": [ |
| 60 | + "@putenv XDEBUG_MODE=coverage", |
| 61 | + "phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --display-warnings --display-deprecations --coverage-clover build/coverage/clover.xml --coverage-html build/coverage --coverage-text" |
| 62 | + ] |
60 | 63 | } |
61 | 64 | } |
0 commit comments