-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
62 lines (62 loc) · 1.73 KB
/
composer.json
File metadata and controls
62 lines (62 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "21torr/janus",
"description": "Code style, encoded as rules for common tools.",
"license": "BSD-3-Clause",
"type": "composer-plugin",
"authors": [
{
"name": "21TORR",
"homepage": "https://www.21torr.com/"
}
],
"homepage": "https://github.com/21TORR/janus-php",
"require": {
"php": ">= 8.4",
"composer-plugin-api": "^2.6",
"21torr/cli": "^1.2.3",
"symfony/console": "^8.0",
"symfony/process": "^8.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8.3",
"composer/composer": "^2.9.4",
"phpstan/phpstan": "^2.1.36",
"roave/security-advisories": "dev-latest"
},
"autoload": {
"psr-4": {
"Janus\\": "src/"
}
},
"bin": [
"bin/janus"
],
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"extra": {
"bamarni-bin": {
"bin-links": false,
"forward-command": true
},
"class": "Janus\\Composer\\JanusPlugin"
},
"scripts": {
"fix-lint": [
"@composer bin c-norm normalize \"$(pwd)/composer.json\" --indent-style tab --indent-size 1 --ansi",
"PHP_CS_FIXER_IGNORE_ENV=1 vendor-bin/cs-fixer/vendor/bin/php-cs-fixer fix --diff --config vendor-bin/cs-fixer/vendor/21torr/php-cs-fixer/.php-cs-fixer.dist.php --no-interaction --ansi"
],
"lint": [
"@composer bin c-norm normalize \"$(pwd)/composer.json\" --indent-style tab --indent-size 1 --dry-run --ansi",
"PHP_CS_FIXER_IGNORE_ENV=1 vendor-bin/cs-fixer/vendor/bin/php-cs-fixer fix --diff --config vendor-bin/cs-fixer/vendor/21torr/php-cs-fixer/.php-cs-fixer.dist.php --dry-run --no-interaction --ansi"
],
"test": [
"vendor-bin/phpstan/vendor/bin/phpstan analyze -c phpstan.neon . --ansi"
]
}
}