-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
58 lines (58 loc) · 1.23 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
{
"type": "project",
"require": {
"php": "^7.4",
"ext-json": "*",
"symfony/console": "^5.0",
"symfony/serializer": "^5.0"
},
"autoload": {
"psr-4": {
"Task1\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Task1\\Tests\\": "tests/"
}
},
"require-dev": {
"phpstan/phpstan": "^0.12.19",
"phpunit/phpunit": "^9.1",
"squizlabs/php_codesniffer": "^3.5",
"phpstan/phpstan-phpunit": "^0.12.8",
"doctrine/coding-standard": "^7.0",
"phpstan/phpstan-symfony": "^0.12.6",
"phpstan/phpstan-doctrine": "^0.12.10"
},
"scripts": {
"phpcs": [
"./vendor/bin/phpcs"
],
"phpcbf": [
"./vendor/bin/phpcbf"
],
"phpcbfWithoutErrorCode": [
"./vendor/bin/phpcbf || true"
],
"phpstan": [
"./vendor/bin/phpstan analyse"
],
"phpunit": [
"./vendor/bin/phpunit "
],
"phplint": [
"find . -path ./vendor -prune -o -path ./var -prune -o -name \"*.php\" -print0 | xargs -0 -n1 php -l"
],
"tests": [
"@phpcbfWithoutErrorCode",
"@phpcs",
"@phpunit",
"@phpstan"
],
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
}
}
}