Test Failed
Push — develop ( 5ff630...7f862e )
by nguereza
03:35
created
src/Demo/Template/SessionFlashTag.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@
 block discarded – undo
26 26
     protected string $name;
27 27
 
28 28
     /**
29
-    * {@inheritdoc}
30
-    */
29
+     * {@inheritdoc}
30
+     */
31 31
     public function __construct(string $markup, &$tokens, Parser $parser)
32 32
     {
33 33
         $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/');
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,8 +15,7 @@  discard block
 block discarded – undo
15 15
  *
16 16
  * @author tony
17 17
  */
18
-class SessionFlashTag extends AbstractTag
19
-{
18
+class SessionFlashTag extends AbstractTag {
20 19
 
21 20
     /**
22 21
      * The key of the session
@@ -27,8 +26,7 @@  discard block
 block discarded – undo
27 26
     /**
28 27
     * {@inheritdoc}
29 28
     */
30
-    public function __construct(string $markup, &$tokens, Parser $parser)
31
-    {
29
+    public function __construct(string $markup, &$tokens, Parser $parser) {
32 30
         $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/');
33 31
         if ($lexer->match($markup)) {
34 32
             $this->name = $lexer->getStringMatch(0);
Please login to merge, or discard this patch.
src/Demo/Provider/AppServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * class AppServiceProvider
55 55
  * @package Platine\Framework
56 56
  */
57
-class AppServiceProvider extends ServiceProvider
58
-{
57
+class AppServiceProvider extends ServiceProvider {
59 58
 
60 59
     /**
61 60
      * {@inheritdoc}
Please login to merge, or discard this patch.
config/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,6 +3,6 @@
 block discarded – undo
3 3
 use Platine\Framework\Demo\Action\HomeAction;
4 4
 use Platine\Route\Router;
5 5
 
6
-return [static function (Router $router): void {
6
+return [static function(Router $router): void {
7 7
     $router->get('/', HomeAction::class, 'home');
8 8
 }];
Please login to merge, or discard this patch.
src/Service/Provider/AuthServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * class AuthServiceProvider
56 56
  * @package Platine\Framework\Service\Provider
57 57
  */
58
-class AuthServiceProvider extends ServiceProvider
59
-{
58
+class AuthServiceProvider extends ServiceProvider {
60 59
 
61 60
     /**
62 61
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Http/Response/RedirectResponse.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,15 +53,13 @@
 block discarded – undo
53 53
  * class RedirectResponse
54 54
  * @package Platine\Framework\Http\Response
55 55
  */
56
-class RedirectResponse extends Response
57
-{
56
+class RedirectResponse extends Response {
58 57
 
59 58
     /**
60 59
      * Create new instance
61 60
      * @param string $url
62 61
      */
63
-    public function __construct(string $url = '/')
64
-    {
62
+    public function __construct(string $url = '/') {
65 63
         parent::__construct(302);
66 64
         $this->headers['Location'] = [$url];
67 65
     }
Please login to merge, or discard this patch.
src/Http/Response/TemplateResponse.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * class TemplateResponse
55 55
  * @package Platine\Framework\Http\Response
56 56
  */
57
-class TemplateResponse extends Response
58
-{
57
+class TemplateResponse extends Response {
59 58
 
60 59
     protected Template $template;
61 60
 
Please login to merge, or discard this patch.
src/Auth/Auth.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,6 @@
 block discarded – undo
51 51
  * class Auth
52 52
  * @package Platine\Framework\Auth
53 53
  */
54
-class Auth
55
-{
54
+class Auth {
56 55
 
57 56
 }
Please login to merge, or discard this patch.
src/Auth/Middleware/AuthenticationMiddleware.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@
 block discarded – undo
61 61
  * class AuthenticationMiddleware
62 62
  * @package Platine\Framework\Auth\Middleware
63 63
  */
64
-class AuthenticationMiddleware implements MiddlewareInterface
65
-{
64
+class AuthenticationMiddleware implements MiddlewareInterface {
66 65
 
67 66
     /**
68 67
      * The session instance to use
Please login to merge, or discard this patch.
src/Auth/Middleware/AuthorizationMiddleware.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@
 block discarded – undo
61 61
  * class AuthorizationMiddleware
62 62
  * @package Platine\Framework\Auth\Middleware
63 63
  */
64
-class AuthorizationMiddleware implements MiddlewareInterface
65
-{
64
+class AuthorizationMiddleware implements MiddlewareInterface {
66 65
 
67 66
     /**
68 67
      * The session instance to use
Please login to merge, or discard this patch.