|
8 | 8 | "minimum-stability": "stable", |
9 | 9 | "keywords": [ |
10 | 10 | "psr", |
11 | | - "psr-4", |
12 | 11 | "ksuid", |
13 | | - "psr-12", |
14 | 12 | "base62", |
15 | 13 | "unique", |
16 | 14 | "identifier", |
|
22 | 20 | "homepage": "https://github.com/gustavofreze" |
23 | 21 | } |
24 | 22 | ], |
| 23 | + "support": { |
| 24 | + "issues": "https://github.com/tiny-blocks/ksuid/issues", |
| 25 | + "source": "https://github.com/tiny-blocks/ksuid" |
| 26 | + }, |
25 | 27 | "config": { |
26 | 28 | "sort-packages": true, |
27 | 29 | "allow-plugins": { |
|
39 | 41 | } |
40 | 42 | }, |
41 | 43 | "require": { |
42 | | - "php": "^8.1||^8.2", |
43 | | - "tiny-blocks/encoder": "^1.2" |
| 44 | + "php": "^8.2", |
| 45 | + "tiny-blocks/encoder": "^2" |
44 | 46 | }, |
45 | 47 | "require-dev": { |
46 | | - "infection/infection": "^0.26", |
47 | | - "phpmd/phpmd": "^2.13", |
48 | | - "phpunit/phpunit": "^9.6", |
49 | | - "squizlabs/php_codesniffer": "^3.7" |
| 48 | + "phpmd/phpmd": "^2.15", |
| 49 | + "phpunit/phpunit": "^11", |
| 50 | + "phpstan/phpstan": "^1", |
| 51 | + "infection/infection": "^0.29", |
| 52 | + "squizlabs/php_codesniffer": "^3.10" |
50 | 53 | }, |
51 | 54 | "suggest": { |
52 | 55 | "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP." |
53 | 56 | }, |
54 | 57 | "scripts": { |
55 | 58 | "phpcs": "phpcs --standard=PSR12 --extensions=php ./src", |
56 | 59 | "phpmd": "phpmd ./src text phpmd.xml --suffixes php --ignore-violations-on-exit", |
| 60 | + "phpstan": "phpstan analyse -c phpstan.neon.dist --quiet --no-progress", |
57 | 61 | "test": "phpunit --log-junit=report/coverage/junit.xml --coverage-xml=report/coverage/coverage-xml --coverage-html=report/coverage/coverage-html tests", |
58 | 62 | "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 | 63 | "test-no-coverage": "phpunit --no-coverage", |
60 | 64 | "test-mutation-no-coverage": "infection --only-covered --min-msi=100 --threads=4", |
61 | 65 | "review": [ |
62 | 66 | "@phpcs", |
63 | | - "@phpmd" |
| 67 | + "@phpmd", |
| 68 | + "@phpstan" |
64 | 69 | ], |
65 | 70 | "tests": [ |
66 | 71 | "@test", |
|
0 commit comments