We shouldn't forget to run `php-cs-fixer` time to time
This commit is contained in:
Jeremy Benoist
2015-08-20 07:53:55 +02:00
parent 34437f408c
commit 8ce32af612
22 changed files with 73 additions and 74 deletions

View File

@ -136,9 +136,9 @@ class EntryController extends Controller
return $this->render(
'WallabagCoreBundle:Entry:entries.html.twig',
array(
'form' => $form->createView(),
'entries' => $entries,
'currentPage' => $page
'form' => $form->createView(),
'entries' => $entries,
'currentPage' => $page,
)
);
}
@ -178,9 +178,9 @@ class EntryController extends Controller
return $this->render(
'WallabagCoreBundle:Entry:entries.html.twig',
array(
'form' => $form->createView(),
'entries' => $entries,
'currentPage' => $page
'form' => $form->createView(),
'entries' => $entries,
'currentPage' => $page,
)
);
}
@ -220,9 +220,9 @@ class EntryController extends Controller
return $this->render(
'WallabagCoreBundle:Entry:entries.html.twig',
array(
'form' => $form->createView(),
'entries' => $entries,
'currentPage' => $page
'form' => $form->createView(),
'entries' => $entries,
'currentPage' => $page,
)
);
}
@ -265,7 +265,7 @@ class EntryController extends Controller
$this->get('session')->getFlashBag()->add(
'notice',
'Entry ' . ($entry->isArchived() ? 'archived' : 'unarchived')
'Entry '.($entry->isArchived() ? 'archived' : 'unarchived')
);
return $this->redirect($request->headers->get('referer'));
@ -290,7 +290,7 @@ class EntryController extends Controller
$this->get('session')->getFlashBag()->add(
'notice',
'Entry ' . ($entry->isStarred() ? 'starred' : 'unstarred')
'Entry '.($entry->isStarred() ? 'starred' : 'unstarred')
);
return $this->redirect($request->headers->get('referer'));

View File

@ -25,7 +25,7 @@ class SecurityController extends Controller
return $this->render('WallabagCoreBundle:Security:login.html.twig', array(
// last username entered by the user
'last_username' => $session->get(SecurityContext::LAST_USERNAME),
'error' => $error,
'error' => $error,
));
}

View File

@ -10,13 +10,14 @@ class StaticController extends Controller
/**
* @Route("/howto", name="howto")
*/
public function howtoAction()
{
return $this->render(
'WallabagCoreBundle:Static:howto.html.twig',
array()
);
}
public function howtoAction()
{
return $this->render(
'WallabagCoreBundle:Static:howto.html.twig',
array()
);
}
/**
* @Route("/about", name="about")
*/

View File

@ -23,9 +23,8 @@ class TagController extends Controller
return $this->render(
'WallabagCoreBundle:Tag:tags.html.twig',
array(
'tags' => $tags
'tags' => $tags,
)
);
}
}