-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
82 lines (82 loc) · 3.09 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
{
"name": "fr3nch13/cakephp-pta",
"description": "A CakePHP Plugin to emulate a generic App when testing Plugins.",
"keywords": ["cakephp", "plugin", "app"],
"homepage": "https://github.com/fr3nch13/cakephp-pta",
"type": "cakephp-plugin",
"license": "MIT",
"authors": [
{
"name": "Brian French",
"role": "Owner",
"homepage": "https://github.com/fr3nch13"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "~7.4||~8.0",
"cakephp/bake": "^2.8",
"cakephp/cakephp": "~4.4.8",
"cakephp/cakephp-codesniffer": "~4.6",
"cakephp/debug_kit": "~4.9",
"cakephp/migrations": "~3.6",
"cakephp/plugin-installer": "~1.3",
"dereuromark/cakephp-ide-helper": "^1.18",
"mobiledetect/mobiledetectlib": "^2.8",
"mockery/mockery": "^1.5",
"phpcompatibility/php-compatibility": "^9.3",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.5",
"staabm/annotate-pull-request-from-checkstyle": "^1.8",
"symfony/dotenv": "~5.0||~6.0",
"vishnubob/wait-for-it": "dev-master"
},
"autoload": {
"psr-4": {
"Fr3nch13\\Pta\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\": "tests/test_app/src",
"Cake\\Test\\": "./vendor/cakephp/cakephp/tests",
"Fr3nch13\\Pta\\Test\\": "tests/",
"Fr3nch13\\Pta\\Test\\Fixture\\": "tests/Fixture/"
}
},
"scripts": {
"pre-commit": [
"@ci"
],
"ci": [
"@check",
"@coverage-text"
],
"check": [
"@test",
"@cs-check",
"@phpstan"
],
"fix": [
"@cs-fix",
"@cs-check"
],
"cs-check": "php -d memory_limit=-1 ./vendor/bin/phpcs --colors -p -s --extensions=php ./src ./tests ./config",
"cs-checkstyle": "php -d memory_limit=-1 ./vendor/bin/phpcs --report=checkstyle --extensions=php ./src ./tests ./config",
"cs-fix": "php -d memory_limit=-1 ./vendor/bin/phpcbf --colors --extensions=php ./src ./tests ./config",
"phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan --no-progress -vvv",
"phpstan-github": "php -d memory_limit=-1 ./vendor/bin/phpstan --no-progress -vvv --error-format=github",
"test": "php -d memory_limit=-1 ./vendor/bin/phpunit --colors=always --testdox",
"coverage": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage",
"coverage-clover": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-clover=tmp/coverage.xml",
"coverage-text": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --colors=never"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"cakephp/plugin-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}