Skip to content

Commit

Permalink
Implement and apply phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
vitormattos committed Feb 26, 2021
1 parent a43c6f1 commit 75d26d6
Show file tree
Hide file tree
Showing 6 changed files with 1,452 additions and 607 deletions.
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"glpi-project/tools": "^0.1"
"glpi-project/tools": ">=0.1",
"squizlabs/php_codesniffer": "^3.5"
},
"config": {
"platform": {
"php": "7.4"
}
},
"scripts": {
"build": "robo build",
"phpcs" : "phpcs --standard=PSR12 -n inc",
"phpcbf" : "phpcbf --standard=PSR12 -n inc"
}
}
Loading

0 comments on commit 75d26d6

Please sign in to comment.