-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
71 lines (71 loc) · 2.65 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" : "fr3nch13/cakephp-utilities",
"description" : "CakePHP Plugin: Collection of generic utilities.",
"type" : "cakephp-plugin",
"keywords" : ["cakephp", "plugin", "php", "Utilities"],
"license": "MIT",
"authors": [
{
"name": "Brian French",
"email": "[email protected]",
"homepage": "https://github.com/fr3nch13"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"cakephp/cakephp": "~4.4.8",
"fr3nch13/composer-lock-parser": "~1.0"
},
"require-dev": {
"cakephp/migrations": "^3.7",
"fr3nch13/cakephp-pta": "dev-2.x-dev"
},
"autoload": {
"psr-4": {
"Fr3nch13\\Utilities\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"App\\": "./vendor/fr3nch13/cakephp-pta/tests/test_app/src",
"Cake\\Test\\": "./vendor/cakephp/cakephp/tests",
"PtaApp\\": "vendor/fr3nch13/cakephp-pta/tests/test_app/src",
"Fr3nch13\\Utilities\\Test\\": "tests"
}
},
"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",
"cs-checkstyle": "php -d memory_limit=-1 ./vendor/bin/phpcs --report=checkstyle --extensions=php ./src ./tests",
"cs-fix": "php -d memory_limit=-1 ./vendor/bin/phpcbf --colors --extensions=php ./src ./tests",
"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 --testdox",
"coverage-clover": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-clover=tmp/coverage.xml --testdox",
"coverage-text": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --colors=never --testdox"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"cakephp/plugin-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}