Passed
Push — master ( 176455...e166a4 )
by Satoshi
02:24
created
src/Commands/CycleDetectCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
                 ->addHeader('class')
33 33
                 ->addHeader('');
34 34
             foreach ($cycle as $index => $class) {
35
-                $haveNextClass = (bool)($index < (count($cycle) - 1));
35
+                $haveNextClass = (bool) ($index < (count($cycle) - 1));
36 36
                 $table->addRow([$class, $haveNextClass ? '->' : '']);
37 37
             }
38 38
 
Please login to merge, or discard this patch.
src/Detector/RuleViolationDetector/DependencyRuleFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         foreach ($ruleDefinitions as $ruleName => $ruleDefinition) {
19 19
             $this->verifyDefinition($ruleDefinition);
20 20
             if (is_int($ruleName)) {
21
-                $ruleName = (string)$ruleName;
21
+                $ruleName = (string) $ruleName;
22 22
             }
23 23
             $rules[] = $this->createDependencyRule($ruleName, $ruleDefinition);
24 24
         }
Please login to merge, or discard this patch.