|
10 | 10 | "vo", |
11 | 11 | "psr", |
12 | 12 | "math", |
13 | | - "psr-4", |
14 | | - "psr-12", |
15 | 13 | "arithmetic", |
16 | 14 | "big-number", |
17 | 15 | "tiny-blocks", |
|
24 | 22 | "homepage": "https://github.com/gustavofreze" |
25 | 23 | } |
26 | 24 | ], |
| 25 | + "support": { |
| 26 | + "issues": "https://github.com/tiny-blocks/math/issues", |
| 27 | + "source": "https://github.com/tiny-blocks/math" |
| 28 | + }, |
27 | 29 | "config": { |
28 | 30 | "sort-packages": true, |
29 | 31 | "allow-plugins": { |
|
41 | 43 | } |
42 | 44 | }, |
43 | 45 | "require": { |
44 | | - "php": "^8.1||^8.2", |
45 | | - "tiny-blocks/value-object": "^2.0", |
| 46 | + "php": "^8.2", |
| 47 | + "tiny-blocks/value-object": "^2", |
46 | 48 | "ext-bcmath": "*" |
47 | 49 | }, |
48 | 50 | "require-dev": { |
49 | | - "infection/infection": "^0.26", |
50 | | - "phpmd/phpmd": "^2.13", |
51 | | - "phpunit/phpunit": "^9.6", |
52 | | - "squizlabs/php_codesniffer": "^3.7" |
| 51 | + "phpmd/phpmd": "^2.15", |
| 52 | + "phpunit/phpunit": "^11", |
| 53 | + "phpstan/phpstan": "^1", |
| 54 | + "infection/infection": "^0.29", |
| 55 | + "squizlabs/php_codesniffer": "^3.10" |
53 | 56 | }, |
54 | 57 | "suggest": { |
55 | 58 | "ext-bcmath": "Enables the extension which is an interface to the GNU implementation as a Basic Calculator utility library." |
56 | 59 | }, |
57 | 60 | "scripts": { |
58 | 61 | "phpcs": "phpcs --standard=PSR12 --extensions=php ./src", |
59 | 62 | "phpmd": "phpmd ./src text phpmd.xml --suffixes php --exclude /src/RoundingMode.php --ignore-violations-on-exit", |
| 63 | + "phpstan": "phpstan analyse -c phpstan.neon.dist --quiet --no-progress", |
60 | 64 | "test": "phpunit --log-junit=report/coverage/junit.xml --coverage-xml=report/coverage/coverage-xml --coverage-html=report/coverage/coverage-html tests", |
61 | 65 | "test-mutation": "infection --only-covered --logger-html=report/coverage/mutation-report.html --coverage=report/coverage --min-msi=100 --min-covered-msi=100 --threads=4", |
62 | 66 | "test-no-coverage": "phpunit --no-coverage", |
63 | 67 | "test-mutation-no-coverage": "infection --only-covered --min-msi=100 --threads=4", |
64 | 68 | "review": [ |
65 | 69 | "@phpcs", |
66 | | - "@phpmd" |
| 70 | + "@phpmd", |
| 71 | + "@phpstan" |
67 | 72 | ], |
68 | 73 | "tests": [ |
69 | 74 | "@test", |
|
72 | 77 | "tests-no-coverage": [ |
73 | 78 | "@test-no-coverage", |
74 | 79 | "@test-mutation-no-coverage" |
| 80 | + ], |
| 81 | + "tests-file-no-coverage": [ |
| 82 | + "@test-no-coverage" |
75 | 83 | ] |
76 | 84 | } |
77 | 85 | } |
0 commit comments