Passed
Push — master ( 582587...3b42e9 )
by Anthony
04:10 queued 11s
created
Controller/LoginController.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,16 +8,14 @@
 block discarded – undo
8 8
 use Symfony\Component\HttpFoundation\RedirectResponse;
9 9
 use Symfony\Component\Routing\Annotation\Route;
10 10
 
11
-class LoginController extends Controller
12
-{
11
+class LoginController extends Controller {
13 12
 	/**
14 13
 	 * @Route("/login/", name="ribsadmin_login")
15 14
 	 * @param Request $request
16 15
 	 *
17 16
 	 * @return Response
18 17
 	 */
19
-	public function loginAction()
20
-	{
18
+	public function loginAction() {
21 19
 		$csrf_token = $this->has('security.csrf.token_manager')
22 20
 			? $this->get('security.csrf.token_manager')->getToken('authenticate')->getValue()
23 21
 			: null;
Please login to merge, or discard this patch.
Controller/RegistrationController.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,13 +8,11 @@
 block discarded – undo
8 8
 use Symfony\Component\HttpFoundation\Request;
9 9
 use Symfony\Component\Routing\Annotation\Route;
10 10
 
11
-class RegistrationController extends Controller
12
-{
11
+class RegistrationController extends Controller {
13 12
 	/**
14 13
 	 * @Route("/register/", name="ribsadmin_register")
15 14
 	 */
16
-	public function registerAction(Request $request)
17
-	{
15
+	public function registerAction(Request $request) {
18 16
 		// 1) build the form
19 17
 		$passwordEncoder = $this->get("security.password_encoder");
20 18
 		$user = new Account();
Please login to merge, or discard this patch.