-
Notifications
You must be signed in to change notification settings - Fork 8
/
composer.json
73 lines (73 loc) · 2.08 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
{
"name": "lmc/coding-standard",
"description": "Coding standard used in Alma Career Czechia (LMC) projects",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Alma Career",
"homepage": "https://github.com/almacareer/"
}
],
"require": {
"php": "^8.0",
"friendsofphp/php-cs-fixer": "^3.47.1",
"slevomat/coding-standard": "^8.6",
"squizlabs/php_codesniffer": "^3.9",
"symplify/easy-coding-standard": "^12.2.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.42.0",
"nikic/php-parser": "<5.0",
"php-parallel-lint/php-parallel-lint": "^1.4.0",
"phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan": "^1.11.1",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpunit/phpunit": "^9.6.19"
},
"prefer-stable": true,
"autoload": {
"psr-4": {
"Lmc\\CodingStandard\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Lmc\\CodingStandard\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"preferred-install": {
"squizlabs/php_codesniffer": "source"
},
"sort-packages": true
},
"scripts": {
"all": [
"@lint",
"@analyze",
"@test"
],
"analyze": [
"vendor/bin/ecs check --config=ecs-internal.php --ansi",
"vendor/bin/phpstan analyze -c phpstan.neon --ansi"
],
"fix": [
"@composer normalize",
"vendor/bin/ecs check --config=ecs-internal.php --ansi --fix"
],
"lint": [
"vendor/bin/parallel-lint -j 10 -e php ./src ./tests ecs.php",
"@composer validate",
"@composer normalize --dry-run"
],
"test": [
"vendor/bin/phpunit --colors=always"
]
}
}