|
1 | 1 | { |
2 | | - "name": "simplemachines/smf", |
3 | | - "repositories": [ |
4 | | - { |
5 | | - "url": "https://github.com/SimpleMachines/BuildTools.git", |
6 | | - "type": "vcs" |
7 | | - } |
8 | | - ], |
| 2 | + "name": "simplemachines/smf", |
| 3 | + "repositories": [ |
| 4 | + { |
| 5 | + "url": "https://github.com/SimpleMachines/BuildTools.git", |
| 6 | + "type": "vcs" |
| 7 | + } |
| 8 | + ], |
9 | 9 | "autoload": { |
10 | 10 | "psr-4": { |
11 | | - "SMF\\": "Sources/" |
| 11 | + "SMF\\": "Sources/", |
| 12 | + "SMF\\Themes\\": "Themes/" |
| 13 | + } |
| 14 | + }, |
| 15 | + "minimum-stability": "dev", |
| 16 | + "prefer-stable": true, |
| 17 | + "require-dev": { |
| 18 | + "simplemachines/build-tools": "dev-release-3.0", |
| 19 | + "friendsofphp/php-cs-fixer": "^3.40" |
| 20 | + }, |
| 21 | + "scripts": { |
| 22 | + "lint": "php-cs-fixer --quiet check --config .php-cs-fixer.dist.php --path-mode=intersection $(git diff --name-only \"*.php\") || php-cs-fixer check --diff --config .php-cs-fixer.dist.php --path-mode=intersection $(git diff --name-only \"*.php\") --allow-risky=yes", |
| 23 | + "lint-fix": "php-cs-fixer fix -v --config .php-cs-fixer.dist.php --path-mode=intersection $(git diff --name-only \"*.php\") --allow-risky=yes" |
| 24 | + }, |
| 25 | + "config": { |
| 26 | + "platform": { |
| 27 | + "php": "8.0.0" |
12 | 28 | } |
13 | 29 | }, |
14 | | - "minimum-stability": "dev", |
15 | | - "prefer-stable": true, |
16 | | - "require-dev": { |
17 | | - "simplemachines/build-tools": "dev-release-3.0", |
18 | | - "friendsofphp/php-cs-fixer": "^3.40" |
19 | | - }, |
20 | | - "scripts": { |
21 | | - "lint": "php-cs-fixer --quiet check --config .php-cs-fixer.dist.php --path-mode=intersection $(git diff --name-only \"*.php\") || php-cs-fixer check --diff --config .php-cs-fixer.dist.php --path-mode=intersection $(git diff --name-only \"*.php\") --allow-risky=yes", |
22 | | - "lint-fix": "php-cs-fixer fix -v --config .php-cs-fixer.dist.php --path-mode=intersection $(git diff --name-only \"*.php\") --allow-risky=yes" |
23 | | - }, |
24 | | - "config": { |
25 | | - "platform": { |
26 | | - "php": "8.0.0" |
27 | | - } |
28 | | - }, |
29 | 30 | "require": { |
30 | 31 | "google/recaptcha": "^1.3", |
31 | 32 | "matthiasmullie/minify": "^1.3", |
32 | 33 | "bjeavons/zxcvbn-php": "^1.0", |
33 | | - "matthiasmullie/path-converter": "^1.1" |
| 34 | + "matthiasmullie/path-converter": "^1.1" |
34 | 35 | } |
35 | 36 | } |
0 commit comments