-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
84 lines (84 loc) · 2.43 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
75
76
77
78
79
80
81
82
83
84
{
"name": "assertwell/phpunit-global-state",
"description": "Tools for testing applications that depend on global state with PHPUnit",
"keywords": [
"env",
"environment variables",
"phpunit",
"testing"
],
"type": "library",
"license": "MIT",
"minimum-stability": "stable",
"authors": [
{
"name": "Steve Grunwell",
"homepage": "https://stevegrunwell.com"
}
],
"support": {
"issues": "https://github.com/assertwell/phpunit-global-state/issues",
"source": "https://github.com/assertwell/phpunit-global-state/"
},
"require": {
"php": ">=5.6"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"phpcompatibility/php-compatibility": "^9.3",
"phpstan/phpstan": "^1.8",
"squizlabs/php_codesniffer": "^3.5",
"stevegrunwell/runkit7-installer": "^1.2",
"symfony/phpunit-bridge": "^5.1"
},
"suggest": {
"stevegrunwell/runkit7-installer": "Streamline installation of Runkit7"
},
"autoload": {
"psr-4": {
"AssertWell\\PHPUnitGlobalState\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
},
"files": [
"tests/stubs/functions.php"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"test": [
"@test:unit",
"@test:standards",
"@test:analysis"
],
"test:analysis": [
"simple-phpunit --version",
"phpstan analyse -c phpstan.neon.dist"
],
"test:coverage": [
"phpdbg -qrr -d memory_limit=-1 ./vendor/bin/simple-phpunit --colors=always --testdox --coverage-html=tests/coverage"
],
"test:standards": [
"phpcs"
],
"test:unit": [
"simple-phpunit --testdox --colors=always"
]
},
"scripts-descriptions": {
"test:analysis": "Perform static code analysis.",
"test:coverage": "Generate HTML code coverage reports in tests/coverage/.",
"test:standards": "Check coding standards.",
"test:unit": "Run unit tests for the library."
}
}