Passed
Push — develop ( d3c53a...e28085 )
by nguereza
14:20
created
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/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/MakeActionCommand.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     ) {
78 78
         parent::__construct($application, $filesystem);
79 79
         $this->setName('make:action')
80
-               ->setDescription('Command to generate new action class');
80
+                ->setDescription('Command to generate new action class');
81 81
 
82 82
         $this->addOption('-a|--base-action', 'The base action class', BaseAction::class, true);
83 83
     }
Please login to merge, or discard this patch.
src/Console/Command/MakeDatabaseConfigCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
         parent::__construct($application, $filesystem);
66 66
 
67 67
         $this->setName('make:dbconfig')
68
-               ->setDescription('Command to generate class that hold database configuration value');
68
+                ->setDescription('Command to generate class that hold database configuration value');
69 69
     }
70 70
 
71 71
     /**
Please login to merge, or discard this patch.
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.
src/Orm/StandardRepository.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,9 +44,9 @@
 block discarded – undo
44 44
 class StandardRepository extends Repository
45 45
 {
46 46
     /**
47
-    * Create new instance
48
-    * @param EntityManager $manager
49
-    */
47
+     * Create new instance
48
+     * @param EntityManager $manager
49
+     */
50 50
     public function __construct(EntityManager $manager)
51 51
     {
52 52
         parent::__construct($manager, StandardEntity::class);
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,14 +41,12 @@
 block discarded – undo
41 41
 * @class StandardRepository
42 42
 * @package Platine\Framework\Orm
43 43
 */
44
-class StandardRepository extends Repository
45
-{
44
+class StandardRepository extends Repository {
46 45
     /**
47 46
     * Create new instance
48 47
     * @param EntityManager $manager
49 48
     */
50
-    public function __construct(EntityManager $manager)
51
-    {
49
+    public function __construct(EntityManager $manager) {
52 50
         parent::__construct($manager, StandardEntity::class);
53 51
     }
54 52
 
Please login to merge, or discard this patch.
src/Orm/StandardEntity.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 StandardEntity extends Entity
44 44
 {
45 45
     /**
46
-    * {@inheritdoc}
47
-    */
46
+     * {@inheritdoc}
47
+     */
48 48
     public static function mapEntity(EntityMapperInterface $mapper): void
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 StandardEntity
41 41
 * @package Platine\Framework\Orm
42 42
 */
43
-class StandardEntity extends Entity
44
-{
43
+class StandardEntity extends Entity {
45 44
     /**
46 45
     * {@inheritdoc}
47 46
     */
Please login to merge, or discard this patch.
src/Tool/Database/DumpDriverInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
39 39
  * @class DumpDriverInterface
40 40
  * @package Platine\Framework\Tool\Database
41 41
  */
42
-interface DumpDriverInterface
43
-{
42
+interface DumpDriverInterface {
44 43
     /**
45 44
      * Create new instance
46 45
      * @param Connection $connection
Please login to merge, or discard this patch.