forked from CakeDC/cakephp-cached-routing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
70 lines (70 loc) · 2.46 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
{
"name": "cakedc/cakephp-cached-routing",
"description": "Cached RoutingMiddleware for CakePHP 4.3+",
"type": "cakephp-plugin",
"keywords": [
"cakephp",
"routing",
"cache"
],
"homepage": "https://github.com/CakeDC/cakephp-cached-routing",
"license": "MIT",
"authors": [
{
"name": "CakeDC",
"homepage": "http://www.cakedc.com",
"role": "Author"
},
{
"name": "Others",
"homepage": "https://github.com/CakeDC/users/graphs/contributors"
}
],
"support": {
"issues": "https://github.com/CakeDC/cakephp-cached-routing/issues",
"source": "https://github.com/CakeDC/cakephp-cached-routing"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.4",
"cakephp/cakephp": "^4.4"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"cakephp/cakephp-codesniffer": "^4.0"
},
"autoload": {
"psr-4": {
"CakeDC\\CachedRouting\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"CakeDC\\CachedRouting\\Test\\": "tests",
"CakeDC\\CachedRouting\\Test\\Fixture\\": "tests"
}
},
"scripts": {
"analyse": [
"@stan",
"@psalm"
],
"check": [
"@cs-check",
"@test",
"@analyse"
],
"cs-check": "phpcs -n -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests",
"cs-fix": "phpcbf --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests",
"test": "phpunit --stderr",
"stan": "phpstan analyse src/",
"psalm": "php vendor/psalm/phar/psalm.phar --show-info=false src/ ",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:0.12.94 psalm/phar:~4.9.2 && mv composer.backup composer.json",
"stan-rebuild-baseline": "phpstan analyse --configuration phpstan.neon --error-format baselineNeon src/ > phpstan-baseline.neon",
"psalm-rebuild-baseline": "php vendor/psalm/phar/psalm.phar --show-info=false --set-baseline=psalm-baseline.xml src/",
"rector": "rector process src/",
"rector-setup": "cp composer.json composer.backup && composer require --dev rector/rector:^0.11.2 && mv composer.backup composer.json",
"coverage-test": "phpunit --stderr --coverage-clover=clover.xml"
}
}