|
1 | 1 | { |
2 | 2 | "name": "plook/type-guard", |
3 | | - "type": "library", |
4 | 3 | "description": "Library to ensure correctness of types with a readable interface.", |
5 | 4 | "license": "LGPL-2.1-or-later", |
| 5 | + "type": "library", |
6 | 6 | "authors": [ |
7 | 7 | { |
8 | 8 | "name": "Phillip Look", |
|
15 | 15 | "require-dev": { |
16 | 16 | "brainbits/phpcs-standard": "^8.0.0", |
17 | 17 | "brainbits/phpstan-rules": "^4.0.0", |
| 18 | + "ergebnis/composer-normalize": "^2.47", |
18 | 19 | "ergebnis/phpstan-rules": "^2.8.0", |
19 | | - "thecodingmachine/phpstan-safe-rule": "^1.4.0", |
| 20 | + "phpstan/phpstan": "^2.1.16", |
20 | 21 | "phpstan/phpstan-phpunit": "^2.0.6", |
21 | | - "squizlabs/php_codesniffer": "^3.12.2", |
22 | | - "phpstan/phpstan": "^2.1.14", |
23 | 22 | "phpstan/phpstan-strict-rules": "^2.0.4", |
24 | | - "phpunit/phpunit": "^12.1.4", |
25 | | - "rector/rector": "^2.0.15" |
| 23 | + "phpunit/phpunit": "^12.1.5", |
| 24 | + "rector/rector": "^2.0.16", |
| 25 | + "squizlabs/php_codesniffer": "^3.13.0", |
| 26 | + "thecodingmachine/phpstan-safe-rule": "^1.4.0" |
26 | 27 | }, |
27 | 28 | "autoload": { |
28 | 29 | "psr-4": { |
|
39 | 40 | }, |
40 | 41 | "config": { |
41 | 42 | "allow-plugins": { |
42 | | - "dealerdirect/phpcodesniffer-composer-installer": true |
| 43 | + "dealerdirect/phpcodesniffer-composer-installer": true, |
| 44 | + "ergebnis/composer-normalize": true |
43 | 45 | } |
44 | 46 | }, |
45 | 47 | "scripts": { |
46 | | - "test": "phpunit", |
47 | | - "cs": "vendor/bin/phpcs", |
48 | | - "cs:fix": "vendor/bin/phpcbf", |
49 | 48 | "analyse": "vendor/bin/phpstan analyze", |
50 | | - "rector": "vendor/bin/rector --dry-run", |
51 | | - "rector:fix": "vendor/bin/rector", |
52 | 49 | "check": [ |
53 | 50 | "@cs", |
54 | 51 | "@analyse", |
55 | 52 | "@test", |
56 | 53 | "@rector" |
57 | 54 | ], |
| 55 | + "cs": "vendor/bin/phpcs", |
| 56 | + "cs:fix": "vendor/bin/phpcbf", |
58 | 57 | "fix": [ |
59 | 58 | "@rector:fix", |
60 | 59 | "@cs:fix" |
61 | | - ] |
| 60 | + ], |
| 61 | + "rector": "vendor/bin/rector --dry-run", |
| 62 | + "rector:fix": "vendor/bin/rector", |
| 63 | + "test": "phpunit" |
62 | 64 | } |
63 | 65 | } |
0 commit comments