-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
74 lines (74 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
72
73
74
{
"name": "emilia-capital/comment-hacks",
"description": "Make comments management easier by applying some of the simple hacks Joost gathered over decades of using WordPress.",
"keywords": [
"comments",
"spam",
"emails"
],
"homepage": "https://wordpress.org/plugins/yoast-comment-hacks/",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Team Emilia Projects",
"email": "info@emilia.capital",
"homepage": "https://emilia.capital"
}
],
"type": "wordpress-plugin",
"support": {
"issues": "https://github.com/emilia-capital/comment-hacks/issues",
"forum": "https://wordpress.org/support/plugin/yoast-comment-hacks",
"wiki": "https://github.com/emilia-capital/comment-hacks/wiki",
"source": "https://github.com/emilia-capital/comment-hacks"
},
"require": {
"php": ">=7.4",
"composer/installers": "^1.12.0"
},
"require-dev": {
"yoast/yoastcs": "^3.1",
"yoast/wp-test-utils": "^1.1.1",
"phpstan/phpstan": "^1.10",
"szepeviktor/phpstan-wordpress": "^1.3",
"phpstan/extension-installer": "^1.3"
},
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload-dev": {
"classmap": [
"tests/"
]
},
"scripts": {
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude node_modules --exclude .git"
],
"config-yoastcs" : [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --config-set default_standard Yoast"
],
"check-cs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 7.4-"
],
"fix-cs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
],
"test": [
"@php ./vendor/phpunit/phpunit/phpunit"
],
"phpstan": [
"@php ./vendor/bin/phpstan analyse --memory-limit=2048M ."
]
}
}