Skip to content

Commit 75d26d6

Browse files
committed
Implement and apply phpcs
1 parent a43c6f1 commit 75d26d6

6 files changed

+1452
-607
lines changed

composer.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22
"minimum-stability": "dev",
33
"prefer-stable": true,
44
"require-dev": {
5-
"glpi-project/tools": "^0.1"
5+
"glpi-project/tools": ">=0.1",
6+
"squizlabs/php_codesniffer": "^3.5"
67
},
78
"config": {
89
"platform": {
910
"php": "7.4"
1011
}
12+
},
13+
"scripts": {
14+
"build": "robo build",
15+
"phpcs" : "phpcs --standard=PSR12 -n inc",
16+
"phpcbf" : "phpcbf --standard=PSR12 -n inc"
1117
}
1218
}

0 commit comments

Comments
 (0)