-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
32 lines (32 loc) · 1.12 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
{
"name": "flynsarmy/wp-flyn-firebase-plugin",
"description": "A simple Firebase URL shortener for WordPress.",
"type": "wordpress-plugin",
"license": "MIT",
"authors": [
{
"name": "Flynsarmy",
"email": "[email protected]"
}
],
"require": {},
"require-dev": {
"squizlabs/php_codesniffer": "^3.6.1",
"php-stubs/wordpress-stubs": "^5.7",
"szepeviktor/phpstan-wordpress": "^1.0"
},
"scripts": {
"phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan analyse",
"phpcbf": "vendor/bin/phpcbf --standard=./.phpcs.xml ./",
"phpcs": "vendor/bin/phpcs -s --standard=./.phpcs.xml ./",
"phpcompat": "vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 7.4 ./",
"phpunit": "vendor/bin/phpunit ./tests/unit/",
"coverage": "vendor/bin/phpunit tests/unit --coverage-html coverage --whitelist src/",
"lint": "vendor/bin/parallel-lint --exclude vendor .",
"test": [
"composer validate --strict",
"@phpcs",
"@phpstan"
]
}
}