forked from inpsyde/php-coding-standards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
77 lines (77 loc) · 2.26 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
74
75
76
77
{
"name": "inpsyde/php-coding-standards",
"description": "PHP 7+ coding standards for Inpsyde WordPress projects.",
"type": "phpcodesniffer-standard",
"keywords": [
"phpcs",
"standards",
"static analysis",
"code standards",
"code style",
"coding standards",
"coding style",
"PSR-2",
"PSR-12",
"object calisthenics",
"PHP standards",
"WordPress",
"WordPress standards",
"Inpsyde"
],
"license": "MIT",
"authors": [
{
"name": "Inpsyde GmbH",
"email": "[email protected]",
"homepage": "https://inpsyde.com",
"role": "Company"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=7",
"squizlabs/php_codesniffer": "^3.6.0",
"dealerdirect/phpcodesniffer-composer-installer": "~0.7.0",
"wp-coding-standards/wpcs": "^2.3",
"automattic/vipwpcs": "^2.2",
"phpcompatibility/php-compatibility": "^9.3.5",
"automattic/phpcs-neutron-standard": "^1.6.0"
},
"require-dev": {
"phpunit/phpunit": "~6.5.0 || ~9.5.0",
"vimeo/psalm": "@stable"
},
"autoload-dev": {
"psr-4": {
"Inpsyde\\CodingStandard\\Tests\\": [
"tests/src/",
"tests/cases/"
]
}
},
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"scripts" : {
"cs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
"phpcompat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs -p . --standard=PHPCompatibility --ignore=*/vendor/*,*tests/fixtures/* --extensions=php --basepath=./ --runtime-set testVersion 7.0-",
"tests": "@php ./vendor/phpunit/phpunit/phpunit",
"tests:no-cov": "@php ./vendor/phpunit/phpunit/phpunit --no-coverage",
"psalm": "@php ./vendor/vimeo/psalm/psalm --no-cache",
"qa": [
"@cs",
"@phpcompat",
"@tests:no-cov",
"@psalm"
]
},
"config": {
"allow-plugins": {
"inpsyde/*": true,
"composer/*": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}