Rework the files according to phpcs
This commit is contained in:
parent
8fec9f1dfb
commit
b27b359366
4 changed files with 4 additions and 6 deletions
|
@ -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);
|
|
@ -10,6 +10,4 @@ namespace
|
||||||
|
|
||||||
private static $has_one = [];
|
private static $has_one = [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
|
@ -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/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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();
|
Loading…
Reference in a new issue