Rework the files according to phpcs

This commit is contained in:
Manuel Thalmann 2019-04-13 17:29:27 +02:00
parent 8fec9f1dfb
commit b27b359366
4 changed files with 4 additions and 6 deletions

View file

@ -6,4 +6,4 @@ use SilverStripe\Security\Member;
// remove PasswordValidator for SilverStripe 5.0 // remove PasswordValidator for SilverStripe 5.0
$validator = PasswordValidator::create(); $validator = PasswordValidator::create();
// Settings are registered via Injector configuration - see passwords.yml in framework // Settings are registered via Injector configuration - see passwords.yml in framework
Member::set_password_validator($validator); Member::set_password_validator($validator);

View file

@ -10,6 +10,4 @@ namespace
private static $has_one = []; private static $has_one = [];
} }
} }
?>

View file

@ -30,4 +30,4 @@ namespace {
// See: https://docs.silverstripe.org/en/developer_guides/templates/requirements/ // See: https://docs.silverstripe.org/en/developer_guides/templates/requirements/
} }
} }
} }

View file

@ -16,4 +16,4 @@ $kernel = new CoreKernel(BASE_PATH);
$app = new HTTPApplication($kernel); $app = new HTTPApplication($kernel);
$app->addMiddleware(new ErrorControlChainMiddleware($app)); $app->addMiddleware(new ErrorControlChainMiddleware($app));
$response = $app->handle($request); $response = $app->handle($request);
$response->output(); $response->output();