|
3 | 3 | "description": "Converts any value to a string", |
4 | 4 | "keywords": ["respect", "stringifier", "stringify"], |
5 | 5 | "type": "library", |
6 | | - "homepage": "http://respect.github.io/Stringifier/", |
7 | 6 | "license": "MIT", |
8 | 7 | "authors": [ |
9 | 8 | { |
|
12 | 11 | } |
13 | 12 | ], |
14 | 13 | "require": { |
15 | | - "php": ">=7.1" |
| 14 | + "php": "^8.1" |
16 | 15 | }, |
17 | 16 | "require-dev": { |
18 | 17 | "malukenho/docheader": "^0.1.7", |
19 | | - "phpunit/phpunit": "^6.4", |
20 | | - "respect/coding-standard": "^1.0", |
21 | | - "squizlabs/php_codesniffer": "^3.4" |
| 18 | + "phpstan/phpstan": "^1.10", |
| 19 | + "phpstan/phpstan-deprecation-rules": "^1.1", |
| 20 | + "phpstan/phpstan-phpunit": "^1.3", |
| 21 | + "phpstan/phpstan-strict-rules": "^1.5", |
| 22 | + "phpunit/phpunit": "^10.0", |
| 23 | + "respect/coding-standard": "^4.0", |
| 24 | + "squizlabs/php_codesniffer": "^3.7" |
22 | 25 | }, |
23 | 26 | "autoload": { |
24 | 27 | "psr-4": { |
25 | 28 | "Respect\\Stringifier\\": "src/", |
26 | | - "Respect\\Stringifier\\Test\\": "tests/src/" |
| 29 | + "Respect\\Stringifier\\Test\\": "tests/src/", |
| 30 | + "Respect\\Stringifier\\Test\\Unit\\": "tests/unit" |
27 | 31 | }, |
28 | 32 | "files": [ |
29 | 33 | "src/stringify.php" |
30 | 34 | ] |
31 | 35 | }, |
32 | 36 | "scripts": { |
33 | 37 | "docheader": "vendor/bin/docheader check src/ tests/", |
34 | | - "test": "vendor/bin/phpunit", |
35 | | - "test-unit": "vendor/bin/phpunit --testsuite=unit", |
36 | | - "test-integration": "vendor/bin/phpunit --testsuite=integration" |
| 38 | + "phpcs": "vendor/bin/phpcs", |
| 39 | + "phpstan": "vendor/bin/phpstan", |
| 40 | + "phpunit": "vendor/bin/phpunit", |
| 41 | + "phpunit-integration": "vendor/bin/phpunit --testsuite=integration", |
| 42 | + "phpunit-unit": "vendor/bin/phpunit --testsuite=unit", |
| 43 | + "qa": [ |
| 44 | + "@docheader", |
| 45 | + "@phpcs", |
| 46 | + "@phpstan", |
| 47 | + "@phpunit" |
| 48 | + ] |
37 | 49 | }, |
38 | 50 | "config": { |
39 | | - "sort-packages": true |
| 51 | + "sort-packages": true, |
| 52 | + "allow-plugins": { |
| 53 | + "dealerdirect/phpcodesniffer-composer-installer": true |
| 54 | + } |
40 | 55 | } |
41 | 56 | } |
0 commit comments