-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
63 lines (63 loc) · 2.03 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
{
"name": "brianvarskonst/coding-standard",
"description": "Coding Standard Rules for CodeSniffer for writing consistent PHP code",
"license": "MIT",
"type": "phpcodesniffer-standard",
"keywords": [
"phpcs",
"static analysis",
"Symfony",
"coding standard",
"standards",
"PSR"
],
"authors": [
{
"name": "Brian Schäffner",
"email": "burnify.design@gmail.com",
"role": "Developer"
}
],
"homepage": "https://github.com/brianvarskonst/coding-standard",
"support": {
"issues": "https://github.com/brianvarskonst/coding-standard/issues",
"source": "https://github.com/brianvarskonst/coding-standard"
},
"require": {
"php": ">=8.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"escapestudios/symfony2-coding-standard": "^3.10.0",
"phpcsstandards/phpcsutils": "^1.0",
"slevomat/coding-standard": "^8.15.0",
"squizlabs/php_codesniffer": "^3.8"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.8",
"phpstan/phpstan": "^1",
"phpstan/phpstan-strict-rules": "^1",
"phpunit/phpunit": "^9.3",
"symfony/var-dumper": "^7.1"
},
"autoload": {
"psr-4": {
"Brianvarskonst\\CodingStandard\\Helper\\": "Brianvarskonst/Helper/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
}
},
"scripts": {
"cs": "./vendor/bin/phpcs -q --parallel=$(nproc) -s",
"cs:analyze": "./vendor/bin/phpstan --no-progress",
"cs:bf": "php -d error_reporting=24575 vendor/bin/phpcbf;exit 0",
"test": [
"@test:unit",
"@test:integration"
],
"test:unit": "@php ./vendor/bin/phpunit",
"test:integration": "@php vendor/bin/phpcs -s --standard=Brianvarskonst integrationtests/testfile.php"
}
}