forked from sroze/companienv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
105 lines (105 loc) · 2.83 KB
/
composer.json
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "portrino/companienv",
"description": "Companion for .env files",
"license": "MIT",
"type": "library",
"keywords": [
"dotenv",
".env",
"configuration"
],
"authors": [
{
"name": "Samuel ROZE",
"email": "[email protected]"
},
{
"name": "Axel Böswetter",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.0",
"symfony/console": "^6.0 || ^7.0",
"symfony/dotenv": "^6.0 || ^7.0",
"symfony/process": "^6.0 || ^7.0"
},
"require-dev": {
"behat/behat": "^3.14",
"composer/composer": "^2.0",
"ergebnis/composer-normalize": "^2.43",
"friendsofphp/php-cs-fixer": "^3.47",
"phpspec/phpspec": "^7.0",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-strict-rules": "^1.5",
"typo3/coding-standards": "^0.7"
},
"replace": {
"sroze/companienv": "*"
},
"autoload": {
"psr-0": {
"Companienv": "src/"
}
},
"autoload-dev": {
"psr-0": {
"Companienv": "tests/"
}
},
"bin": [
"bin/companienv"
],
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
},
"bin-dir": ".build/bin",
"preferred-install": {
"*": "dist"
},
"vendor-dir": ".build/vendor"
},
"scripts": {
"ci": [
"@ci:static",
"@ci:test"
],
"ci:composer:normalize": "@composer normalize --no-check-lock --dry-run",
"ci:composer:psr-verify": "@composer dumpautoload --optimize --strict-psr",
"ci:php": [
"@ci:php:lint",
"@ci:php:stan"
],
"ci:php:cs-fixer": "./.build/bin/php-cs-fixer fix --config ./build/php-cs-fixer.php -v --dry-run --using-cache no --diff",
"ci:php:lint": "find .*.php *.php spec src tests -name '*.php' -print0 | xargs -r -0 -n 1 -P 4 php -l",
"ci:php:stan": "./.build/bin/phpstan analyse -c ./build/phpstan.neon --no-progress",
"ci:static": [
"@ci:composer:normalize",
"@ci:php:cs-fixer",
"@ci:php:lint",
"@ci:php:stan"
],
"ci:test": [
"@ci:test:behat"
],
"ci:test:behat": "./.build/bin/behat --strict --stop-on-failure",
"fix:php": [
"@fix:php:cs",
"@fix:php:sniff"
],
"fix:php:cs": "./.build/bin/php-cs-fixer fix --config ./build/php-cs-fixer.php"
},
"scripts-descriptions": {
"ci": "Runs all dynamic and static code checks.",
"ci:composer:normalize": "Checks the composer.json.",
"ci:composer:psr-verify": "Verifies PSR-4 namespace correctness.",
"ci:php": "Runs all static checks for the PHP files.",
"ci:php:lint": "Lints the PHP files for syntax errors.",
"ci:php:stan": "Checks the PHP types using PHPStan.",
"ci:static": "Runs all static code checks (syntax, style, types).",
"ci:test": "Runs all tests.",
"ci:test:behat": "Runs the Behat tests."
}
}