-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
45 lines (45 loc) · 1.8 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
{
"name": "php/programming-challenge",
"description": "PHP Programming Challenge",
"license": "MIT",
"require": {
"php": "^7.4 | ^8.0"
},
"type": "project",
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^0.12.92",
"roave/security-advisories": "dev-latest",
"symplify/easy-coding-standard": "^9.4",
"squizlabs/php_codesniffer": "^3.6"
},
"autoload": {
"psr-4": {
"ProgrammingChallenge\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"check-all": [
"@check-phpstan",
"@check-ecs"
],
"validate-composer": "@composer validate --strict",
"check-phpstan": "vendor/bin/phpstan --configuration=./phpstan.neon",
"check-ecs": "vendor/bin/ecs check",
"phpunit": "vendor/bin/phpunit --configuration phpunit.xml --coverage-text",
"ArmstrongNumbers-PhpStan": "vendor/bin/phpstan analyse src/ArmstrongNumbers tests/ArmstrongNumbers --level=7 --ansi",
"ArmstrongNumbers-Ecs": "vendor/bin/ecs check src/ArmstrongNumbers tests/ArmstrongNumbers --clear-cache",
"ArmstrongNumbers-Test": "vendor/bin/phpunit --group ArmstrongNumbers",
"Brackets-PhpStan": "vendor/bin/phpstan analyse src/Brackets tests/Brackets --level=7 --ansi",
"Brackets-Ecs": "vendor/bin/ecs check src/Brackets tests/Brackets --clear-cache",
"Brackets-Test": "vendor/bin/phpunit --group Brackets",
"Distincts-PhpStan": "vendor/bin/phpstan analyse src/Distincts tests/Distincts --level=7 --ansi",
"Distincts-Ecs": "vendor/bin/ecs check src/Distincts tests/Distincts --clear-cache",
"Distincts-Test": "vendor/bin/phpunit --group Distincts"
}
}