-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
62 lines (62 loc) · 1.7 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
{
"name": "dereuromark/cakephp-test-helper",
"description": "TestHelper plugin for CakePHP",
"license": "MIT",
"type": "cakephp-plugin",
"keywords": [
"cakephp",
"plugin",
"setup",
"tests",
"coverage",
"generate",
"dev"
],
"authors": [
{
"name": "Mark Scherer",
"homepage": "https://www.dereuromark.de",
"role": "Author"
}
],
"homepage": "https://github.com/dereuromark/cakephp-test-helper",
"require": {
"php": ">=8.1",
"cakephp/cakephp": "^5.0.0",
"dereuromark/cakephp-tools": "^3.0.0"
},
"require-dev": {
"fig-r/psr2r-sniffer": "dev-master",
"phpunit/phpunit": "^10.2",
"sebastian/diff": "^5.0.0"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"TestHelper\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/",
"TestApp\\": "tests/test_app/src/",
"TestHelper\\Test\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"cs-check": "phpcs --extensions=php",
"cs-fix": "phpcbf --extensions=php",
"stan": "phpstan analyse",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.0.0 && mv composer.backup composer.json",
"lowest": "validate-prefer-lowest",
"lowest-setup": "composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction && cp composer.json composer.backup && composer require --dev dereuromark/composer-prefer-lowest && mv composer.backup composer.json",
"test": "phpunit",
"test-coverage": "phpunit --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage --coverage-clover tmp/coverage/coverage.xml"
}
}