-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
94 lines (94 loc) · 3.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "bigbite/phpcs-config",
"type": "phpcodesniffer-standard",
"description": "Big Bite's PHP Coding Standards.",
"keywords": ["phpcs", "standards", "static analysis"],
"license": "MIT",
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"squizlabs/php_codesniffer" : "^3.9",
"wp-coding-standards/wpcs": "^3.0",
"automattic/vipwpcs": "^3.0",
"php": ">=7.2",
"phpcsstandards/phpcsutils": "^1.0.8",
"phpcsstandards/phpcsextra": "^1.1"
},
"require-dev": {
"phpcsstandards/phpcsdevtools": "^1.1.0",
"phpcompatibility/php-compatibility": "^9.3.5",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
"phpstan/phpstan": "^1.5"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"prefer-stable" : true,
"minimum-stability": "dev",
"non-feature-branches": ["chore/*", "hotfix/*"],
"authors": [
{
"name": "Paul Taylor",
"email": "[email protected]"
},
{
"name": "Jay McPartland",
"email": "[email protected]"
}
],
"archive": {
"exclude": [
"/.editorconfig",
"/.gitignore",
"/.phpcs.xml.dist",
"/Tests",
"/phpunit.xml.dist"
]
},
"scripts-descriptions": {
"lint": "Runs PHP syntax error checks",
"phpcs": "Runs PHP coding standard checks",
"test": "Runs PHP unit tests",
"analyse": "Runs PHPStan Static Analysis checks",
"is-complete": "Checks that all custom Sniffs are accompanied by unit tests",
"is-complete-strict": "Checks that all custom Sniffs are acommpanied by unit tests and documentation",
"all-checks": "Runs the scripts 'lint', 'phpcs', 'is-complete', 'test', 'analyse' in that order",
"all-checks-strict": "Runs the scripts 'lint', 'phpcs', 'is-complete-strict', 'test', 'analyse' in that order"
},
"scripts": {
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
],
"phpcs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs ."
],
"test": [
"@php ./vendor/bin/phpunit --filter BigBite ./vendor/squizlabs/php_codesniffer/tests/AllTests.php"
],
"analyse": [
"./vendor/bin/phpstan"
],
"is-complete": [
"@php ./vendor/phpcsstandards/phpcsdevtools/bin/phpcs-check-feature-completeness -q ./BigBite"
],
"is-complete-strict": [
"@php ./vendor/phpcsstandards/phpcsdevtools/bin/phpcs-check-feature-completeness ./BigBite"
],
"all-checks": [
"@lint",
"@phpcs",
"@is-complete",
"@test",
"@analyse"
],
"all-checks-strict": [
"@lint",
"@phpcs",
"@is-complete-strict",
"@test",
"@analyse"
]
}
}