|
8 | 8 | "minimum-stability": "stable", |
9 | 9 | "keywords": [ |
10 | 10 | "psr", |
11 | | - "psr-4", |
12 | | - "psr-7", |
13 | | - "psr-12", |
14 | 11 | "http", |
15 | 12 | "http-code", |
16 | 13 | "tiny-blocks", |
|
24 | 21 | "homepage": "https://github.com/gustavofreze" |
25 | 22 | } |
26 | 23 | ], |
| 24 | + "support": { |
| 25 | + "issues": "https://github.com/tiny-blocks/http/issues", |
| 26 | + "source": "https://github.com/tiny-blocks/http" |
| 27 | + }, |
27 | 28 | "config": { |
28 | 29 | "sort-packages": true, |
29 | 30 | "allow-plugins": { |
|
42 | 43 | }, |
43 | 44 | "require": { |
44 | 45 | "php": "^8.2", |
45 | | - "tiny-blocks/serializer": "^3.0", |
| 46 | + "tiny-blocks/serializer": "^3", |
46 | 47 | "psr/http-message": "^1.1", |
47 | 48 | "ext-mbstring": "*" |
48 | 49 | }, |
49 | 50 | "require-dev": { |
50 | | - "infection/infection": "^0.27", |
51 | 51 | "phpmd/phpmd": "^2.15", |
52 | | - "phpunit/phpunit": "^10.5", |
53 | | - "squizlabs/php_codesniffer": "^3.8" |
| 52 | + "phpunit/phpunit": "^11", |
| 53 | + "phpstan/phpstan": "^1", |
| 54 | + "infection/infection": "^0.29", |
| 55 | + "squizlabs/php_codesniffer": "^3.10" |
54 | 56 | }, |
55 | 57 | "suggest": { |
56 | 58 | "ext-mbstring": "Provides multibyte-specific string functions that help us deal with multibyte encodings in PHP." |
57 | 59 | }, |
58 | 60 | "scripts": { |
59 | 61 | "phpcs": "phpcs --standard=PSR12 --extensions=php ./src", |
60 | 62 | "phpmd": "phpmd ./src text phpmd.xml --suffixes php --exclude /src/HttpCode.php --exclude /src/Internal/Response --ignore-violations-on-exit", |
| 63 | + "phpstan": "phpstan analyse -c phpstan.neon.dist --quiet --no-progress", |
61 | 64 | "test": "phpunit --log-junit=report/coverage/junit.xml --coverage-xml=report/coverage/coverage-xml --coverage-html=report/coverage/coverage-html tests", |
62 | 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", |
63 | 66 | "test-no-coverage": "phpunit --no-coverage", |
64 | 67 | "test-mutation-no-coverage": "infection --only-covered --min-msi=100 --threads=4", |
65 | 68 | "review": [ |
66 | 69 | "@phpcs", |
67 | | - "@phpmd" |
| 70 | + "@phpmd", |
| 71 | + "@phpstan" |
68 | 72 | ], |
69 | 73 | "tests": [ |
70 | 74 | "@test", |
|
73 | 77 | "tests-no-coverage": [ |
74 | 78 | "@test-no-coverage", |
75 | 79 | "@test-mutation-no-coverage" |
| 80 | + ], |
| 81 | + "tests-file-no-coverage": [ |
| 82 | + "@test-no-coverage" |
76 | 83 | ] |
77 | 84 | } |
78 | 85 | } |
0 commit comments