-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
71 lines (71 loc) · 2.61 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
{
"name": "digitalrevolution/phpunit-extensions",
"description": "A library for phpunit utility and support classes",
"type": "library",
"license": "MIT",
"minimum-stability": "stable",
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"require": {
"php": "^8.1",
"phpunit/phpunit": "^9.5.24 || ^10.0 || ^11.0"
},
"require-dev": {
"digitalrevolution/phpunit-file-coverage-inspection": "^2.0",
"phpmd/phpmd": "^2.12",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.9.1",
"phpstan/phpstan-phpunit": "^1.2.2",
"phpstan/phpstan-strict-rules": "^1.5",
"phpstan/phpstan-symfony": "^1.2.16",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.7",
"symfony/form": "^6.0||^7.0",
"symfony/framework-bundle": "^6.0||^7.0",
"symfony/security-core": "^6.0||^7.0",
"symfony/twig-bundle": "^6.0||^7.0",
"symfony/validator": "^6.0||^7.0"
},
"scripts": {
"check": ["@check:phpstan", "@check:phpmd", "@check:phpcs"],
"check:phpstan": "phpstan analyse",
"check:phpmd": "phpmd src,tests text phpmd.xml.dist --suffixes php",
"check:phpcs": "phpcs src tests",
"fix": "@fix:phpcbf",
"fix:phpcbf": "phpcbf src tests",
"test": "phpunit",
"test:unit": "phpunit --testsuite unit",
"test:integration": "phpunit --testsuite integration"
},
"suggest": {
"symfony/form": "Symfony form component is required for testing the controller createForm methods",
"symfony/framework-bundle": "Symfony framework bundle is required for the AbstractControllerTestCase",
"symfony/security-core": "Symfony security component is required for testing authentication/authorization related methods",
"symfony/twig-bundle": "Symfony twig bundle is required to test rendering templates/forms"
},
"conflict": {
"symfony/form": "<6.0",
"symfony/framework-bundle": "<6.0",
"symfony/security-core": "<6.0",
"symfony/twig-bundle": "<6.0"
},
"autoload": {
"files": [
"src/Mock/consecutive.php"
],
"psr-4": {
"DR\\PHPUnitExtensions\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DR\\PHPUnitExtensions\\Tests\\": "tests/",
"DR\\PHPUnitExtensions\\Tests\\Integration\\": "tests/Integration/",
"DR\\PHPUnitExtensions\\Tests\\Unit\\": "tests/Unit/"
}
}
}