|
11 | 11 | "psr", |
12 | 12 | "currency", |
13 | 13 | "iso-4217", |
| 14 | + "currencies", |
14 | 15 | "tiny-blocks", |
15 | 16 | "value-object" |
16 | 17 | ], |
|
41 | 42 | } |
42 | 43 | }, |
43 | 44 | "require": { |
44 | | - "php": "^8.2" |
| 45 | + "php": "^8.3" |
45 | 46 | }, |
46 | 47 | "require-dev": { |
47 | 48 | "phpmd/phpmd": "^2.15", |
48 | | - "phpunit/phpunit": "^11", |
49 | 49 | "phpstan/phpstan": "^1", |
50 | | - "infection/infection": "^0.29", |
51 | | - "squizlabs/php_codesniffer": "^3.10" |
| 50 | + "phpunit/phpunit": "^11", |
| 51 | + "infection/infection": "^0", |
| 52 | + "squizlabs/php_codesniffer": "^3.11" |
52 | 53 | }, |
53 | 54 | "scripts": { |
| 55 | + "test": "phpunit --configuration phpunit.xml tests", |
54 | 56 | "phpcs": "phpcs --standard=PSR12 --extensions=php ./src", |
55 | | - "phpmd": "phpmd ./src text phpmd.xml --suffixes php --exclude /src/Currency.php --ignore-violations-on-exit", |
| 57 | + "phpmd": "phpmd ./src text phpmd.xml --suffixes php --ignore-violations-on-exit", |
56 | 58 | "phpstan": "phpstan analyse -c phpstan.neon.dist --quiet --no-progress", |
57 | | - "test": "phpunit --log-junit=report/coverage/junit.xml --coverage-xml=report/coverage/coverage-xml --coverage-html=report/coverage/coverage-html tests", |
58 | | - "test-mutation": "infection --only-covered --logger-html=report/coverage/mutation-report.html --coverage=report/coverage --min-msi=100 --min-covered-msi=100 --threads=4", |
59 | | - "test-no-coverage": "phpunit --no-coverage", |
60 | | - "test-mutation-no-coverage": "infection --only-covered --min-msi=100 --threads=4", |
| 59 | + "mutation-test": "infection --only-covered --threads=max --logger-html=report/coverage/mutation-report.html --coverage=report/coverage", |
| 60 | + "test-no-coverage": "phpunit --configuration phpunit.xml --no-coverage tests", |
61 | 61 | "review": [ |
62 | 62 | "@phpcs", |
63 | 63 | "@phpmd", |
64 | 64 | "@phpstan" |
65 | 65 | ], |
66 | 66 | "tests": [ |
67 | 67 | "@test", |
68 | | - "@test-mutation" |
| 68 | + "@mutation-test" |
69 | 69 | ], |
70 | 70 | "tests-no-coverage": [ |
71 | | - "@test-no-coverage", |
72 | | - "@test-mutation-no-coverage" |
| 71 | + "@test-no-coverage" |
73 | 72 | ] |
74 | 73 | } |
75 | 74 | } |
0 commit comments