Passed
Push — main ( 394fb3...82ed03 )
by Sebastian
03:26
created
tests/unit/Runner/Hook/PreCommitTest.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -78,8 +78,8 @@  discard block
 block discarded – undo
78 78
 
79 79
         // every action has to get executed
80 80
         $actionConfigFail->expects($this->atLeastOnce())
81
-                         ->method('getAction')
82
-                         ->willReturn(CH_PATH_FILES . '/bin/failure');
81
+                            ->method('getAction')
82
+                            ->willReturn(CH_PATH_FILES . '/bin/failure');
83 83
 
84 84
         // so even if the first actions fails this action has to get executed
85 85
         $actionConfigSuccess->expects($this->atLeastOnce())
@@ -88,8 +88,8 @@  discard block
 block discarded – undo
88 88
 
89 89
         $hookConfig->method('isEnabled')->willReturn(true);
90 90
         $hookConfig->expects($this->once())
91
-                   ->method('getActions')
92
-                   ->willReturn([$actionConfigFail, $actionConfigSuccess]);
91
+                    ->method('getActions')
92
+                    ->willReturn([$actionConfigFail, $actionConfigSuccess]);
93 93
 
94 94
         $config->expects($this->once())->method('getHookConfigToExecute')->willReturn($hookConfig);
95 95
         $config->method('isHookEnabled')->willReturn(true);
@@ -125,8 +125,8 @@  discard block
 block discarded – undo
125 125
 
126 126
         $hookConfig->method('isEnabled')->willReturn(true);
127 127
         $hookConfig->expects($this->once())
128
-                   ->method('getActions')
129
-                   ->willReturn([$actionConfigFail, $actionConfigSuccess]);
128
+                    ->method('getActions')
129
+                    ->willReturn([$actionConfigFail, $actionConfigSuccess]);
130 130
 
131 131
         $config->expects($this->once())->method('getHookConfigToExecute')->willReturn($hookConfig);
132 132
         $config->expects($this->atLeastOnce())->method('isHookEnabled')->willReturn(true);
Please login to merge, or discard this patch.