forked from spryker/code-sniffer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
71 lines (71 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
64
65
66
67
68
69
70
71
{
"name": "spryker/code-sniffer",
"description": "Spryker Code Sniffer Standards",
"type": "phpcodesniffer-standard",
"license": "MIT",
"keywords": [
"framework",
"codesniffer",
"phpcs",
"static analysis",
"standards"
],
"homepage": "https://spryker.com",
"authors": [
{
"name": "Spryker",
"homepage": "https://spryker.com"
}
],
"require": {
"php": ">=7.4",
"slevomat/coding-standard": "^7.2.0 || ^8.0.1",
"squizlabs/php_codesniffer": "^3.6.2"
},
"require-dev": {
"phpstan/phpstan": "^1.0.0",
"phpunit/phpunit": "^9.5"
},
"autoload": {
"psr-4": {
"Spryker\\": "Spryker/",
"SprykerStrict\\": "SprykerStrict/"
}
},
"autoload-dev": {
"psr-4": {
"Spryker\\Test\\": "tests/"
},
"files": [
"vendor/squizlabs/php_codesniffer/autoload.php"
]
},
"scripts": {
"docs": "php docs/generate.php",
"docs-listing": "phpcs -e --standard=SprykerStrict/ruleset.xml",
"add-standard": "phpcs --config-set installed_paths $(pwd)",
"increase-severity": "sed -i.bak 's/<severity>0<\\/severity>/<!--<severity>0<\\/severity>-->/' Spryker/ruleset.xml",
"reset-ruleset": [
"sed -i.bak 's/<!--<severity>0<\\/severity>-->/<severity>0<\\/severity>/' Spryker/ruleset.xml",
"rm -f Spryker/ruleset.xml.bak"
],
"cs-check": "vendor/bin/phpcs --extensions=php",
"cs-fix": "vendor/bin/phpcbf --extensions=php",
"test": "vendor/bin/phpunit",
"stan": "phpstan analyse",
"xml": "tests/xmllint.sh"
},
"bin": [
"bin/tokenize"
],
"support": {
"source": "https://github.com/spryker/code-sniffer"
},
"config": {
"sort-packages": true,
"process-timeout": 900,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}