-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathcomposer.json
More file actions
80 lines (80 loc) · 2.77 KB
/
composer.json
File metadata and controls
80 lines (80 loc) · 2.77 KB
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
{
"name": "cakephp/bake",
"description": "Bake plugin for CakePHP",
"license": "MIT",
"type": "cakephp-plugin",
"keywords": [
"cakephp",
"bake",
"dev",
"cli"
],
"authors": [
{
"name": "CakePHP Community",
"homepage": "https://github.com/cakephp/bake/graphs/contributors"
}
],
"homepage": "https://github.com/cakephp/bake",
"support": {
"issues": "https://github.com/cakephp/bake/issues",
"forum": "https://stackoverflow.com/tags/cakephp",
"source": "https://github.com/cakephp/bake"
},
"require": {
"php": ">=8.1",
"brick/varexporter": "^0.6.0 || ^0.7.0",
"cakephp/cakephp": "^5.1",
"cakephp/twig-view": "^2.0.2",
"nikic/php-parser": "^5.0.0"
},
"require-dev": {
"cakephp/cakephp-codesniffer": "^5.0.0",
"cakephp/debug_kit": "^5.0.0",
"phpunit/phpunit": "^10.5.40 || ^11.5.20 || ^12.2.4"
},
"autoload": {
"psr-4": {
"Bake\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Authentication\\": "tests/test_app/Plugin/Authentication/src/",
"Authorization\\": "tests/test_app/Plugin/Authorization/src/",
"BakeTest\\": "tests/test_app/Plugin/BakeTest/src/",
"Bake\\Test\\": "tests/",
"Bake\\Test\\App\\": "tests/test_app/App/",
"Company\\Pastry\\": "tests/test_app/Plugin/Company/Pastry/src/",
"FixtureTest\\": "tests/test_app/App/Plugin/FixtureTest/src/",
"TestBake\\": "tests/test_app/Plugin/TestBake/src/",
"TestBakeTheme\\": "tests/test_app/Plugin/TestBakeTheme/src/",
"TestTemplate\\": "tests/test_app/App/Plugin/TestTemplate/src/",
"TestTest\\": "tests/test_app/App/Plugin/TestTest/src/",
"WithBakeSubFolder\\": "tests/test_app/Plugin/WithBakeSubFolder/src/"
}
},
"config": {
"allow-plugins": {
"cakephp/plugin-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"check": [
"@test",
"@cs-check"
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"phpstan": "tools/phpstan analyse",
"stan": "@phpstan",
"stan-baseline": "tools/phpstan --generate-baseline",
"stan-setup": "phive install",
"rector-setup": "cp composer.json composer.backup && composer require --dev rector/rector:\"~2.3.1\" && mv composer.backup composer.json",
"rector-check": "vendor/bin/rector process --dry-run",
"rector-fix": "vendor/bin/rector process",
"test": "phpunit",
"test-coverage": "phpunit --coverage-clover=clover.xml"
}
}