-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
39 lines (39 loc) · 1.39 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
{
"name": "cakedc/cakephp-db-test",
"description": "DbTest plugin for CakePHP",
"type": "cakephp-plugin",
"require": {
"php": ">=7.2",
"cakephp/cakephp": "^4.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0",
"cakephp/cakephp-codesniffer": "^4.0"
},
"autoload": {
"psr-4": {
"CakeDC\\DbTest\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"CakeDC\\DbTest\\Test\\": "tests",
"Cake\\Test\\": "./vendor/cakephp/cakephp/tests"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"check": [
"@cs-check",
"@test"
],
"cs-check": "phpcs -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/ tests/",
"cs-fix": "phpcbf --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/ tests/",
"test": "phpunit",
"stan": "phpstan analyse src/ && psalm --show-info=false",
"psalm": "psalm --show-info=false",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^0.11 vimeo/psalm:^3.0 && mv composer.backup composer.json",
"rector-setup": "cp composer.json composer.backup && composer require --dev rector/rector:^0.4.11 && mv composer.backup composer.json", "test-coverage": "phpunit --coverage-clover=clover.xml"
}
}