From b27b35936645684be1b5b660b25567c4511630e2 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 13 Apr 2019 17:29:27 +0200 Subject: [PATCH] Rework the files according to phpcs --- app/_config.php | 2 +- app/src/Page.php | 4 +--- app/src/PageController.php | 2 +- public/index.php | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/_config.php b/app/_config.php index 4b0ec70..d35c907 100644 --- a/app/_config.php +++ b/app/_config.php @@ -6,4 +6,4 @@ use SilverStripe\Security\Member; // remove PasswordValidator for SilverStripe 5.0 $validator = PasswordValidator::create(); // Settings are registered via Injector configuration - see passwords.yml in framework -Member::set_password_validator($validator); +Member::set_password_validator($validator); \ No newline at end of file diff --git a/app/src/Page.php b/app/src/Page.php index 010f07a..b3bbf37 100644 --- a/app/src/Page.php +++ b/app/src/Page.php @@ -10,6 +10,4 @@ namespace private static $has_one = []; } -} - -?> \ No newline at end of file +} \ No newline at end of file diff --git a/app/src/PageController.php b/app/src/PageController.php index f55aa2f..fa7ad25 100644 --- a/app/src/PageController.php +++ b/app/src/PageController.php @@ -30,4 +30,4 @@ namespace { // See: https://docs.silverstripe.org/en/developer_guides/templates/requirements/ } } -} +} \ No newline at end of file diff --git a/public/index.php b/public/index.php index 6ddcc98..cae08c5 100644 --- a/public/index.php +++ b/public/index.php @@ -16,4 +16,4 @@ $kernel = new CoreKernel(BASE_PATH); $app = new HTTPApplication($kernel); $app->addMiddleware(new ErrorControlChainMiddleware($app)); $response = $app->handle($request); -$response->output(); +$response->output(); \ No newline at end of file