-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcomposer.json
More file actions
91 lines (91 loc) · 2.51 KB
/
composer.json
File metadata and controls
91 lines (91 loc) · 2.51 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
81
82
83
84
85
86
87
88
89
90
91
{
"name": "daycry/maintenancemode",
"description": "Maintenance mode for CodeIgniter 4",
"keywords": [
"codeigniter4",
"maintenance",
"503",
"downtime"
],
"homepage": "https://github.com/daycry/maintenancemode",
"license": "MIT",
"authors": [
{
"name": "daycry",
"homepage": "https://github.com/daycry",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/daycry/maintenancemode/issues",
"source": "https://github.com/daycry/maintenancemode",
"docs": "https://github.com/daycry/maintenancemode/tree/master/docs"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.2",
"codeigniter4/settings": "^2.2"
},
"require-dev": {
"codeigniter4/devkit": "^1",
"codeigniter4/framework": "^4"
},
"autoload": {
"psr-4": {
"Daycry\\Maintenance\\": "src/"
},
"files": [
"src/Helpers/maintenance_helper.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/",
"Tests\\Support\\": "tests/_support/"
}
},
"scripts": {
"analyze": [
"phpstan analyze -c phpstan.neon.dist"
],
"sa": "@analyze",
"psalm": [
"Composer\\Config::disableProcessTimeout",
"psalm --no-cache --show-info=false"
],
"rector": [
"Composer\\Config::disableProcessTimeout",
"rector process --dry-run --no-progress-bar"
],
"rector-fix": [
"Composer\\Config::disableProcessTimeout",
"rector process --no-progress-bar"
],
"ci": [
"Composer\\Config::disableProcessTimeout",
"@cs",
"@analyze",
"@psalm",
"@rector",
"@test"
],
"cs": [
"Composer\\Config::disableProcessTimeout",
"php-cs-fixer fix --ansi --verbose --dry-run --diff"
],
"cs-fix": [
"Composer\\Config::disableProcessTimeout",
"php-cs-fixer fix --ansi --verbose --diff"
],
"style": "@cs-fix",
"deduplicate": "php phpcpd.phar src/",
"mutate": "infection --threads=2 --skip-initial-tests --coverage=build/phpunit",
"test": "phpunit"
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
}
}