Completed
Push — master ( a2df97...e9a9f0 )
by Vladimir
06:27
created
src/DependencyInjection/Compiler/AddCheckPluginsCompilerPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
             $checkPluginAlias .= '.'.$checkPluginPref;
84 84
         }
85 85
 
86
-        if(isset($conf['importance'])) {
86
+        if (isset($conf['importance'])) {
87 87
             $conf['tags'][] = $conf['importance'];
88 88
         }
89 89
 
Please login to merge, or discard this patch.
src/Check/CheckPluginAbstract.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -129,10 +129,10 @@
 block discarded – undo
129 129
             ->children()
130 130
                 ->scalarNode('importance')
131 131
                     ->validate()
132
-                        ->ifTrue( function($value) {
133
-                            if($value === null) {
132
+                        ->ifTrue(function($value) {
133
+                            if ($value === null) {
134 134
                                 return false;
135
-                            } else if(in_array($value, self::getImportances())) {
135
+                            } else if (in_array($value, self::getImportances())) {
136 136
                                 return false;
137 137
                             }
138 138
 
Please login to merge, or discard this patch.