Completed
Push — v2.0 ( 5f7a6d...a08a69 )
by emilien
05:14
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 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
                             ->end()
75 75
                         ->end()
76 76
                     ->end()
77
-                 ->end()
77
+                    ->end()
78 78
         ;
79 79
 
80 80
         return $treeBuilder;
Please login to merge, or discard this 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.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,9 @@
 block discarded – undo
21 21
 
22 22
                         foreach($classes as $key=>$value)
23 23
                         {
24
-                            if (!class_exists($key))
25
-                                return $key;
24
+                            if (!class_exists($key)) {
25
+                                                            return $key;
26
+                            }
26 27
                         }
27 28
                         return false;
28 29
 
Please login to merge, or discard this patch.