-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
50 lines (50 loc) · 2.85 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
{
"name": "cvb/block-china-video-block",
"version": "0.0.1",
"authors": [
{
"name": "James Hunt",
"email": "10615884+thetwopct@users.noreply.github.com"
}
],
"require-dev": {
"squizlabs/php_codesniffer": "^3.0",
"wp-coding-standards/wpcs": "^3.0",
"phpcompatibility/phpcompatibility-wp": "*",
"phpstan/phpstan": "^1.10",
"szepeviktor/phpstan-wordpress": "^1.3",
"phpstan/extension-installer": "^1.3",
"php-stubs/wordpress-stubs": "^6.4",
"yoast/phpunit-polyfills": "^2.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"sniff": "phpcs",
"fix": "phpcbf",
"php56": "phpcs --extensions=php -n -s \"--ignore=*/build/*,*/.git/*,*/.ssh/*,*/dist/*,*/node_modules/*,*gulpfile*,*/vendor/*,*/languages/*\" -d memory_limit=1024M --standard=PHPCompatibilityWP --runtime-set testVersion 5.6 .",
"php70": "phpcs --extensions=php -n -s \"--ignore=*/build/*,*/.git/*,*/.ssh/*,*/dist/*,*/node_modules/*,*gulpfile*,*/vendor/*,*/languages/*\" -d memory_limit=1024M --standard=PHPCompatibilityWP --runtime-set testVersion 7.0 .",
"php71": "phpcs --extensions=php -n -s \"--ignore=*/build/*,*/.git/*,*/.ssh/*,*/dist/*,*/node_modules/*,*gulpfile*,*/vendor/*,*/languages/*\" -d memory_limit=1024M --standard=PHPCompatibilityWP --runtime-set testVersion 7.1 .",
"php74": "phpcs --extensions=php -n -s \"--ignore=*/build/*,*/.git/*,*/.ssh/*,*/dist/*,*/node_modules/*,*gulpfile*,*/vendor/*,*/languages/*\" -d memory_limit=1024M --standard=PHPCompatibilityWP --runtime-set testVersion 7.4 .",
"php80": "phpcs --extensions=php -n -s \"--ignore=*/build/*,*/.git/*,*/.ssh/*,*/dist/*,*/node_modules/*,*gulpfile*,*/vendor/*,*/languages/*\" -d memory_limit=1024M --standard=PHPCompatibilityWP --runtime-set testVersion 8.0 .",
"php81": "phpcs --extensions=php -n -s \"--ignore=*/build/*,*/.git/*,*/.ssh/*,*/dist/*,*/node_modules/*,*gulpfile*,*/vendor/*,*/languages/*\" -d memory_limit=1024M --standard=PHPCompatibilityWP --runtime-set testVersion 8.1 .",
"php82": "phpcs --extensions=php -n -s \"--ignore=*/build/*,*/.git/*,*/.ssh/*,*/dist/*,*/node_modules/*,*gulpfile*,*/vendor/*,*/languages/*\" -d memory_limit=1024M --standard=PHPCompatibilityWP --runtime-set testVersion 8.2 .",
"php83": "phpcs --extensions=php -n -s \"--ignore=*/build/*,*/.git/*,*/.ssh/*,*/dist/*,*/node_modules/*,*gulpfile*,*/vendor/*,*/languages/*\" -d memory_limit=1024M --standard=PHPCompatibilityWP --runtime-set testVersion 8.3 .",
"php84": "phpcs --extensions=php -n -s \"--ignore=*/build/*,*/.git/*,*/.ssh/*,*/dist/*,*/node_modules/*,*gulpfile*,*/vendor/*,*/languages/*\" -d memory_limit=1024M --standard=PHPCompatibilityWP --runtime-set testVersion 8.4 .",
"version-checks": [
"@php56",
"@php70",
"@php71",
"@php74",
"@php80",
"@php81",
"@php82",
"@php83",
"@php84"
]
}
}