|
21 | 21 | }, |
22 | 22 | "minimum-stability": "dev", |
23 | 23 | "require": { |
24 | | - "php": "^8.0|^8.1", |
25 | | - "illuminate/database": "^6.20.12|^7.30.4|^8.22.2|^9.0|^10.0|^11.0", |
26 | | - "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0" |
| 24 | + "php": "^8.2", |
| 25 | + "illuminate/database": "^11.0", |
| 26 | + "illuminate/http": "^11.0" |
27 | 27 | }, |
28 | 28 | "require-dev": { |
29 | | - "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0", |
30 | | - "phpunit/phpunit": "^8.5|^9.3" |
| 29 | + "phpunit/phpunit": "^10.0", |
| 30 | + "squizlabs/php_codesniffer": "^3.10", |
| 31 | + "orchestra/testbench": "^9.0", |
| 32 | + "phpmd/phpmd": "^2.1.5", |
| 33 | + "larastan/larastan": "^2.9", |
| 34 | + "phpstan/phpstan-mockery": "^1.1", |
| 35 | + "rector/rector": "^1.2" |
31 | 36 | }, |
32 | 37 | "extra": { |
33 | 38 | "laravel": { |
34 | 39 | "providers": [ |
35 | 40 | "UKFast\\Sieve\\SieveServiceProvider" |
36 | 41 | ] |
37 | 42 | } |
| 43 | + }, |
| 44 | + "scripts": { |
| 45 | + "tests": "./vendor/bin/phpunit", |
| 46 | + "phpcs": "./vendor/bin/phpcs --colors --standard=.phpcs/ruleset.xml .", |
| 47 | + "phpcs:fix": "./vendor/bin/phpcbf --colors --standard=.phpcs/ruleset.xml .", |
| 48 | + "phpmd": "./vendor/bin/phpmd src,tests github .phpmd/ruleset.xml --baseline-file=./phpmd.baseline.xml --color", |
| 49 | + "larastan": "./vendor/bin/phpstan --configuration=phpstan.neon analyse --error-format=table --memory-limit=1G src tests", |
| 50 | + "rector": "./vendor/bin/rector --dry-run --config=rector.php", |
| 51 | + "rector:fix": "./vendor/bin/rector --config=rector.php", |
| 52 | + "post-autoload-dump": [ |
| 53 | + "@php ./vendor/bin/testbench package:discover --ansi" |
| 54 | + ], |
| 55 | + "standards:check": [ |
| 56 | + "@phpcs", |
| 57 | + "@phpmd", |
| 58 | + "@larastan", |
| 59 | + "@rector" |
| 60 | + ], |
| 61 | + "standards:fix": [ |
| 62 | + "@phpcs:fix", |
| 63 | + "@rector:fix" |
| 64 | + ] |
38 | 65 | } |
39 | 66 | } |
0 commit comments