-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
68 lines (67 loc) · 2.06 KB
/
composer.json
File metadata and controls
68 lines (67 loc) · 2.06 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
65
66
67
68
{
"name": "clementdecou/simply-framework",
"type": "wordpress-muplugin",
"description": "The WordPress Simply Framework",
"homepage": "https://amorfx.github.io/simply-documentation/",
"license": "MIT",
"require": {
"php": ">= 8.2",
"symfony/dependency-injection": "^6.4",
"symfony/config": "^6.4",
"symfony/finder": "^6.4",
"symfony/yaml": "^6.4",
"twig/twig": "^3.8"
},
"require-dev": {
"brain/monkey": "~2.6",
"phpunit/phpunit": "~9.5",
"yoast/phpunit-polyfills": "^2.0",
"symfony/console": "6.4.4",
"symfony/var-dumper": "^7.0",
"friendsofphp/php-cs-fixer": "^3.51",
"phpstan/phpstan": "^1.10",
"szepeviktor/phpstan-wordpress": "^1.3",
"php-stubs/wp-cli-stubs": "^2.10"
},
"autoload": {
"psr-4": {
"Simply\\Core\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Simply\\Tests\\": "tests"
}
},
"scripts": {
"test": [
"Composer\\Config::disableProcessTimeout",
"phpunit"
],
"test-unit": [
"Composer\\Config::disableProcessTimeout",
"phpunit --testsuite=unit"
],
"test-integration": [
"Composer\\Config::disableProcessTimeout",
"phpunit --configuration=phpunit-integration.xml.dist --testsuite=integration"
],
"coverage": [
"Composer\\Config::disableProcessTimeout",
"phpunit --coverage-text"
],
"coverage-html": [
"Composer\\Config::disableProcessTimeout",
"phpunit --coverage-html /var/www/wordpress/build/coverage"
],
"php-cs-check": "php-cs-fixer fix src --dry-run --diff",
"php-cs-fix": "php-cs-fixer fix src",
"php-cs-fix-test": "php-cs-fixer fix tests",
"phpstan": "phpstan analyse -c phpstan.neon --memory-limit=1G",
"quality": [
"@php-cs-fix",
"@php-cs-fix-test",
"@phpstan"
]
}
}