-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcomposer.json
More file actions
64 lines (64 loc) · 2.07 KB
/
composer.json
File metadata and controls
64 lines (64 loc) · 2.07 KB
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
{
"name": "gaambo/deployer-wordpress",
"description": "Deployer tasks for deploying WordPress Sites",
"type": "library",
"license": "MIT",
"homepage": "https://github.com/gaambo/deployer-wordpress",
"authors": [
{
"name": "Fabian Todt",
"email": "fabian@fabiantodt.at"
}
],
"require-dev": {
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^10.5",
"squizlabs/php_codesniffer": "^3.11",
"symfony/console": "^6.4",
"symfony/process": "^6.4"
},
"require": {
"php": "^8.1",
"deployer/deployer": "^7.3"
},
"autoload": {
"psr-4": {
"Gaambo\\DeployerWordpress\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Gaambo\\DeployerWordpress\\Tests\\": "tests/",
"Deployer\\": "vendor/deployer/deployer/src/"
}
},
"scripts": {
"phpcs": "vendor/bin/phpcs -s",
"phpcs:fix": "vendor/bin/phpcbf",
"phpstan": "vendor/bin/phpstan analyse --memory-limit 1G",
"lint": "find . -type f -name '*.php' -not -path './vendor/*' -exec php -l {} \\;",
"phpunit": "DO_NOT_TRACK=true vendor/bin/phpunit",
"tests:unit": "DO_NOT_TRACK=true vendor/bin/phpunit --testsuite Unit",
"tests:unit:coverage": "DO_NOT_TRACK=true XDEBUG_MODE=coverage vendor/bin/phpunit --testsuite Unit --coverage-text",
"tests:integration": "DO_NOT_TRACK=true vendor/bin/phpunit --testsuite Integration",
"tests:integration:coverage": "DO_NOT_TRACK=true XDEBUG_MODE=coverage vendor/bin/phpunit --testsuite Integration --coverage-text",
"tests:functional": "DO_NOT_TRACK=true vendor/bin/phpunit --testsuite Functional",
"tests:functional:coverage": "DO_NOT_TRACK=true XDEBUG_MODE=coverage vendor/bin/phpunit --testsuite Functional --coverage-text",
"tests": [
"@tests:unit",
"@tests:integration",
"@tests:functional"
],
"tests:coverage": "DO_NOT_TRACK=true XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html=tests/coverage",
"precommit": [
"@lint",
"@phpcs",
"@phpstan",
"@composer validate",
"@tests"
]
},
"config": {
"sort-packages": true
}
}