Passed
Push — master ( d3c640...c72e57 )
by Grupo
02:13
created
src/Console/Domain/Entity/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     const VO = self::DOMAIN . self::DS . 'ValueObjects';
28 28
     const EVENTS = self::DOMAIN . self::DS . 'Events';
29 29
     const REPOSITORIES = self::DOMAIN . self::DS . 'Repositories';
30
-    const INFRASTRUCTURE =  self::DS . 'Infrastructure';
30
+    const INFRASTRUCTURE = self::DS . 'Infrastructure';
31 31
     const PERSISTENCE = self::INFRASTRUCTURE . self::DS . 'Persistence';
32 32
     const ORM = self::PERSISTENCE . self::DS . 'ORM';
33 33
     const DOCTRINE = self::ORM . self::DS . 'Doctrine';
Please login to merge, or discard this patch.
src/Console/Domain/Exceptions/ModuleAlreadyExists.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         $message = 'Modulo já existe.';
18 18
 
19
-        if (null == !$moduleName) {
19
+        if (null==!$moduleName) {
20 20
             $message = sprintf('Modulo "%s" já existe', $moduleName);
21 21
         }
22 22
 
Please login to merge, or discard this patch.
src/Console/Infrastructure/Domain/Services/PhpClass/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
                 PhpProperty::create('provides')
35 35
                 ->setVisibility('protected')
36 36
                 ->setType('array')
37
-                ->setValue(PhpConstant::create('[]', [], true))
37
+                ->setValue(PhpConstant::create('[]', [ ], true))
38 38
             );
39 39
 
40 40
 
Please login to merge, or discard this patch.
src/Console/Infrastructure/Domain/Services/ClassMappingMakerSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public static function getSubscribedEvents()
39 39
     {
40
-        return [ModuleWasCreated::NAME => 'create'];
40
+        return [ ModuleWasCreated::NAME => 'create' ];
41 41
     }
42 42
 
43 43
     public function create(ModuleWasCreated $created)
Please login to merge, or discard this patch.
src/Console/Infrastructure/Domain/Services/ModuleMakerSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public static function getSubscribedEvents()
38 38
     {
39
-        return [ModuleWasCreated::NAME => 'createModule'];
39
+        return [ ModuleWasCreated::NAME => 'createModule' ];
40 40
     }
41 41
 
42 42
     /**
Please login to merge, or discard this patch.
src/Console/Infrastructure/Application/SymfonyEventAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
     public static function getInstance()
31 31
     {
32
-        if (self::$instance === null) {
32
+        if (self::$instance===null) {
33 33
             self::$instance = new self();
34 34
         }
35 35
 
Please login to merge, or discard this patch.
Infrastructure/Domain/Services/ClassServiceProviderMakerSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public static function getSubscribedEvents()
39 39
     {
40
-        return [ModuleWasCreated::NAME => 'create'];
40
+        return [ ModuleWasCreated::NAME => 'create' ];
41 41
     }
42 42
 
43 43
     public function create(ModuleWasCreated $created)
Please login to merge, or discard this patch.
src/Console/Infrastructure/Domain/Events/CommandWasCreated.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function getCommand(): Command
33 33
     {
34
-       return $this->command;
34
+        return $this->command;
35 35
     }
36 36
 
37 37
     public function getName(): string
Please login to merge, or discard this patch.
src/Console/Infrastructure/Domain/Services/ClassCommandMakerSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,6 @@
 block discarded – undo
35 35
 
36 36
     public static function getSubscribedEvents()
37 37
     {
38
-        return [CommandWasCreated::NAME => 'create'];
38
+        return [ CommandWasCreated::NAME => 'create' ];
39 39
     }
40 40
 }
41 41
\ No newline at end of file
Please login to merge, or discard this patch.