Passed
Push — develop ( e28085...b72380 )
by nguereza
08:51
created
src/Helper/ActionHelper.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -133,9 +133,9 @@
 block discarded – undo
133 133
     }
134 134
 
135 135
         /**
136
-     *
137
-     * @return Pagination
138
-     */
136
+         *
137
+         * @return Pagination
138
+         */
139 139
     public function getPagination(): Pagination
140 140
     {
141 141
         return $this->pagination;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@
 block discarded – undo
46 46
  * @package Platine\Framework\Helper
47 47
  * @template T
48 48
  */
49
-class ActionHelper
50
-{
49
+class ActionHelper {
51 50
     /**
52 51
      * Create new instance
53 52
      * @param Pagination $pagination
Please login to merge, or discard this patch.
src/Helper/DatabaseHelper.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@  discard block
 block discarded – undo
62 62
         array $tables = []
63 63
     ): void {
64 64
         $this->dbDump->setCompress($compress)
65
-                     ->setTables($tables)
66
-                     ->backup($filename);
65
+                        ->setTables($tables)
66
+                        ->backup($filename);
67 67
     }
68 68
 
69 69
     /**
@@ -75,6 +75,6 @@  discard block
 block discarded – undo
75 75
     public function restore(string $filename, bool $compress = false): void
76 76
     {
77 77
         $this->dbDump->setCompress($compress)
78
-                     ->restore($filename);
78
+                        ->restore($filename);
79 79
     }
80 80
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,14 +39,12 @@
 block discarded – undo
39 39
 * @class DatabaseHelper
40 40
 * @package Platine\Framework\Helper
41 41
 */
42
-class DatabaseHelper
43
-{
42
+class DatabaseHelper {
44 43
     /**
45 44
      * Create new instance
46 45
      * @param DatabaseDump $dbDump
47 46
      */
48
-    public function __construct(protected DatabaseDump $dbDump)
49
-    {
47
+    public function __construct(protected DatabaseDump $dbDump) {
50 48
     }
51 49
 
52 50
     /**
Please login to merge, or discard this patch.
src/Template/Tag/FieldTag.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@  discard block
 block discarded – undo
50 50
 class FieldTag extends AbstractTag
51 51
 {
52 52
     /**
53
-    * {@inheritdoc}
54
-    */
53
+     * {@inheritdoc}
54
+     */
55 55
     public function __construct(string $markup, &$tokens, Parser $parser)
56 56
     {
57 57
         $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/');
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-    * {@inheritdoc}
70
-    */
69
+     * {@inheritdoc}
70
+     */
71 71
     public function render(Context $context): string
72 72
     {
73 73
         $attributes = $this->normalizeAttributes($context);
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,13 +47,11 @@
 block discarded – undo
47 47
 * @class FieldTag
48 48
 * @package Platine\Framework\Template\Tag
49 49
 */
50
-class FieldTag extends AbstractTag
51
-{
50
+class FieldTag extends AbstractTag {
52 51
     /**
53 52
     * {@inheritdoc}
54 53
     */
55
-    public function __construct(string $markup, &$tokens, Parser $parser)
56
-    {
54
+    public function __construct(string $markup, &$tokens, Parser $parser) {
57 55
         $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/');
58 56
         if ($lexer->match($markup)) {
59 57
             $this->extractAttributes($markup);
Please login to merge, or discard this patch.
src/Template/Tag/SelectTag.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
 class SelectTag extends FieldTag
49 49
 {
50 50
     /**
51
-    * {@inheritdoc}
52
-    */
51
+     * {@inheritdoc}
52
+     */
53 53
     public function __construct(string $markup, &$tokens, Parser $parser)
54 54
     {
55 55
         $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/');
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-    * {@inheritdoc}
68
-    */
67
+     * {@inheritdoc}
68
+     */
69 69
     public function render(Context $context): string
70 70
     {
71 71
         $attributes = $this->normalizeAttributes($context);
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,13 +45,11 @@
 block discarded – undo
45 45
 * @class SelectTag
46 46
 * @package Platine\Framework\Template\Tag
47 47
 */
48
-class SelectTag extends FieldTag
49
-{
48
+class SelectTag extends FieldTag {
50 49
     /**
51 50
     * {@inheritdoc}
52 51
     */
53
-    public function __construct(string $markup, &$tokens, Parser $parser)
54
-    {
52
+    public function __construct(string $markup, &$tokens, Parser $parser) {
55 53
         $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/');
56 54
         if ($lexer->match($markup)) {
57 55
             $this->extractAttributes($markup);
Please login to merge, or discard this patch.
src/Template/Tag/ImageTag.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
@@ -48,8 +48,7 @@  discard block
 block discarded – undo
48 48
  * @class ImageTag
49 49
  * @package Platine\Framework\Template\Tag
50 50
  */
51
-class ImageTag extends AbstractTag
52
-{
51
+class ImageTag extends AbstractTag {
53 52
     /**
54 53
      * The name of the tag
55 54
      * @var string
@@ -65,8 +64,7 @@  discard block
 block discarded – undo
65 64
     /**
66 65
     * {@inheritdoc}
67 66
     */
68
-    public function __construct(string $markup, &$tokens, Parser $parser)
69
-    {
67
+    public function __construct(string $markup, &$tokens, Parser $parser) {
70 68
         $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/');
71 69
         if ($lexer->match($markup)) {
72 70
             $this->name = $lexer->getStringMatch(0);
Please login to merge, or discard this patch.
src/Template/Tag/PublicImageTag.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@
 block discarded – undo
43 43
 class PublicImageTag extends ImageTag
44 44
 {
45 45
     /**
46
-    * {@inheritdoc}
47
-    */
46
+     * {@inheritdoc}
47
+     */
48 48
     protected string $tagName = 'public_image';
49 49
 
50 50
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
  * @class PublicImageTag
41 41
  * @package Platine\Framework\Template\Tag
42 42
  */
43
-class PublicImageTag extends ImageTag
44
-{
43
+class PublicImageTag extends ImageTag {
45 44
     /**
46 45
     * {@inheritdoc}
47 46
     */
Please login to merge, or discard this patch.
src/Exception/ApplicationException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,6 +39,5 @@
 block discarded – undo
39 39
  * @class ApplicationException
40 40
  * @package Platine\Framework\Exception
41 41
  */
42
-class ApplicationException extends Exception
43
-{
42
+class ApplicationException extends Exception {
44 43
 }
Please login to merge, or discard this patch.
src/Console/Command/MakeFilterCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         parent::__construct($application, $filesystem);
62 62
 
63 63
         $this->setName('make:filter')
64
-               ->setDescription('Command to generate new filter class');
64
+                ->setDescription('Command to generate new filter class');
65 65
     }
66 66
 
67 67
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
  * @class MakeFilterCommand
43 43
  * @package Platine\Framework\Console\Command
44 44
  */
45
-class MakeFilterCommand extends MakeActionCommand
46
-{
45
+class MakeFilterCommand extends MakeActionCommand {
47 46
     /**
48 47
      * {@inheritdoc}
49 48
      */
Please login to merge, or discard this patch.
src/Console/Command/MakeDatabaseConfigCommand.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,7 @@
 block discarded – undo
44 44
  * @class MakeDatabaseConfigCommand
45 45
  * @package Platine\Framework\Console\Command
46 46
  */
47
-class MakeDatabaseConfigCommand extends MakeCommand
48
-{
47
+class MakeDatabaseConfigCommand extends MakeCommand {
49 48
     /**
50 49
      * {@inheritdoc}
51 50
      */
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         parent::__construct($application, $filesystem);
67 67
 
68 68
         $this->setName('make:dbconfig')
69
-               ->setDescription('Command to generate class that hold database configuration value');
69
+                ->setDescription('Command to generate class that hold database configuration value');
70 70
 
71 71
         $this->addOption('-c|--config-entity', 'The configuration entity class', Configuration::class, true);
72 72
     }
Please login to merge, or discard this patch.