forked from coderexpert/admin-notices
-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
42 lines (42 loc) · 1.16 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
{
"name" : "wptrt/admin-notices",
"description" : "A class to create admin-notices for the WordPress dashboard.",
"keywords" : [ "wordpress" ],
"homepage" : "https://github.com/WPTRT/admin-notices",
"license" : "GPL-2.0-or-later",
"authors" : [
{
"name" : "WordPress.org Theme Review Team",
"email" : "[email protected]",
"homepage" : "https://make.wordpress.org/themes",
"role" : "Developer"
}
],
"support" : {
"issues" : "https://github.com/WPTRT/admin-notices/issues"
},
"autoload" : {
"psr-4" : {
"WPTRT\\AdminNotices\\" : "src/"
}
},
"require" : {
"php" : ">=5.6"
},
"require-dev": {
"php" : "~7.1",
"wp-coding-standards/wpcs": "^2.3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2",
"szepeviktor/phpstan-wordpress": "^0.6.0"
},
"scripts": {
"ci:syntax": "find src/ -type f -name '*.php' -print0|xargs -0 -L 1 -- php -l",
"ci:coding-standars": "phpcs --standard=WordPress-Core --exclude=Generic.Arrays.DisallowShortArraySyntax src/",
"ci:static-analysis": "phpstan analyze",
"test": [
"@ci:syntax",
"@ci:coding-standars",
"@ci:static-analysis"
]
}
}