|
1 | 1 | { |
2 | | - "autoload" : { |
3 | | - "psr-4": { |
4 | | - "NC\\Updater\\": "lib/" |
5 | | - } |
6 | | - }, |
7 | | - "config": { |
8 | | - "allow-plugins": { |
9 | | - "bamarni/composer-bin-plugin": true |
10 | | - }, |
11 | | - "classmap-authoritative": true, |
12 | | - "optimize-autoloader": true, |
13 | | - "platform": { |
14 | | - "php": "8.1" |
15 | | - }, |
16 | | - "sort-packages": true |
17 | | - }, |
18 | | - "require": { |
19 | | - "symfony/console": "^5.4" |
20 | | - }, |
21 | | - "scripts": { |
22 | | - "box": "box compile -c box.json", |
23 | | - "cs:check": "php-cs-fixer fix --dry-run --diff", |
24 | | - "cs:fix": "php-cs-fixer fix", |
25 | | - "lint": "find . -name \\*.php -not -path './vendor*' -not -path './build/*' -not -path './node_modules/*' -print0 | xargs -0 -n1 php -l", |
| 2 | + "autoload": { |
| 3 | + "psr-4": { |
| 4 | + "NC\\Updater\\": "lib/" |
| 5 | + } |
| 6 | + }, |
| 7 | + "config": { |
| 8 | + "allow-plugins": { |
| 9 | + "bamarni/composer-bin-plugin": true |
| 10 | + }, |
| 11 | + "classmap-authoritative": true, |
| 12 | + "optimize-autoloader": true, |
| 13 | + "platform": { |
| 14 | + "php": "8.2" |
| 15 | + }, |
| 16 | + "sort-packages": true |
| 17 | + }, |
| 18 | + "require": { |
| 19 | + "symfony/console": "^6.4" |
| 20 | + }, |
| 21 | + "scripts": { |
| 22 | + "box": "box compile -c box.json", |
| 23 | + "cs:check": "php-cs-fixer fix --dry-run --diff", |
| 24 | + "cs:fix": "php-cs-fixer fix", |
| 25 | + "lint": "find . -name \\*.php -not -path './vendor*' -not -path './build/*' -not -path './node_modules/*' -print0 | xargs -0 -n1 php -l", |
26 | 26 | "psalm": "psalm --threads=$(nproc)", |
27 | 27 | "psalm:ci": "psalm --threads=1", |
28 | | - "psalm:fix": "- --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType" |
29 | | - }, |
30 | | - "require-dev": { |
31 | | - "bamarni/composer-bin-plugin": "^1.8" |
32 | | - }, |
33 | | - "extra": { |
34 | | - "bamarni-bin": { |
35 | | - "bin-links": true, |
36 | | - "target-directory": "vendor-bin", |
37 | | - "forward-command": true |
38 | | - } |
39 | | - } |
| 28 | + "psalm:fix": "- --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType" |
| 29 | + }, |
| 30 | + "require-dev": { |
| 31 | + "bamarni/composer-bin-plugin": "^1.8" |
| 32 | + }, |
| 33 | + "extra": { |
| 34 | + "bamarni-bin": { |
| 35 | + "bin-links": true, |
| 36 | + "target-directory": "vendor-bin", |
| 37 | + "forward-command": true |
| 38 | + } |
| 39 | + } |
40 | 40 | } |
0 commit comments