IMPR: add linter

This commit is contained in:
Tony Air 2022-05-03 20:36:39 +02:00
parent fc0b5f74d1
commit 4b111ef30e
2 changed files with 9 additions and 3 deletions

View File

@ -8,5 +8,5 @@ use Page;
class HomePage extends Page
{
private static $icon_class = 'font-icon-p-home';
private static $controller_name = HomePageController::class;
private static $controller_name = HomePageController::class;
}

View File

@ -51,7 +51,8 @@
},
"require-dev": {
"phpunit/phpunit": "*",
"lekoala/silverstripe-debugbar": "dev-master"
"lekoala/silverstripe-debugbar": "dev-master",
"sunnysideup/easy-coding-standards": "dev-master"
},
"repositories": [
{
@ -97,7 +98,12 @@
]
},
"config": {
"process-timeout": 600
"process-timeout": 600,
"allow-plugins": {
"composer/installers": true,
"silverstripe/vendor-plugin": true,
"silverstripe/recipe-plugin": true
}
},
"prefer-stable": true,
"minimum-stability": "dev"