Passed
Branch master (29943c)
by emilien
03:05
created
DependencyInjection/EntityChangeWatchExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $config        = $this->processConfiguration($configuration, $configs);
24 24
         $container->setParameter('entity_watch.classes', $config['classes']);
25 25
 
26
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
26
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
27 27
         $loader->load('services.yml');
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@
 block discarded – undo
17 17
 
18 18
 
19 19
         $rootNode->children()
20
-                    ->arrayNode('classes')->validate()->ifTrue(function($classes){
20
+                    ->arrayNode('classes')->validate()->ifTrue(function($classes) {
21 21
 
22
-                        foreach($classes as $key=>$value)
22
+                        foreach ($classes as $key=>$value)
23 23
                         {
24 24
                             if (!class_exists($key))
25 25
                                 return $key;
Please login to merge, or discard this patch.
Tests/BaseTestCaseORM.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         $config = null === $config ? $this->getMockAnnotatedConfig() : $config;
53 53
         $em = EntityManager::create($conn, $config, $evm ?: $this->getEventManager());
54 54
         $schema = array_map(
55
-            function ($class) use ($em) {
55
+            function($class) use ($em) {
56 56
                 return $em->getClassMetadata($class);
57 57
             },
58 58
             (array)$this->getUsedEntityFixtures()
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         $config = $this->getMockAnnotatedConfig();
80 80
         $em = EntityManager::create($conn, $config, $evm ?: $this->getEventManager());
81 81
         $schema = array_map(
82
-            function ($class) use ($em) {
82
+            function($class) use ($em) {
83 83
                 return $em->getClassMetadata($class);
84 84
             },
85 85
             (array)$this->getUsedEntityFixtures()
Please login to merge, or discard this patch.
Tests/Fixtures/Services/EntityDeleteCallback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $this->testDeleteAfterAccess = true;
24 24
     }
25 25
 
26
-    public function reset(){
26
+    public function reset() {
27 27
         $this->testDeleteAccess = false;
28 28
         $this->testDeleteAfterAccess = false;
29 29
     }
Please login to merge, or discard this patch.
Tests/Fixtures/Services/SubEntityCreateCallback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $this->testCreateAfterAccess = true;
24 24
     }
25 25
 
26
-    public function reset(){
26
+    public function reset() {
27 27
         $this->testCreateAccess = false;
28 28
         $this->testCreateAfterAccess = false;
29 29
     }
Please login to merge, or discard this patch.
Tests/Fixtures/Services/EntityUpdateCallback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $this->testUpdateAfterAccess = true;
24 24
     }
25 25
 
26
-    public function reset(){
26
+    public function reset() {
27 27
         $this->testUpdateAccess = false;
28 28
         $this->testUpdateAfterAccess = false;
29 29
     }
Please login to merge, or discard this patch.
Tests/Fixtures/Services/EntityCreateCallback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $this->testCreateAfterAccess = true;
24 24
     }
25 25
 
26
-    public function reset(){
26
+    public function reset() {
27 27
         $this->testCreateAccess = false;
28 28
         $this->testCreateAfterAccess = false;
29 29
     }
Please login to merge, or discard this patch.
Tests/Fixtures/Services/EntityUpdateSubEntitiesCallback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $this->testUpdateSubEntitiesAfterAccess = true;
24 24
     }
25 25
 
26
-    public function reset(){
26
+    public function reset() {
27 27
         $this->testUpdateSubEntitiesAccess = false;
28 28
         $this->testUpdateSubEntitiesAfterAccess = false;
29 29
     }
Please login to merge, or discard this patch.