Passed
Push — master ( c074c3...5fb5b3 )
by Sebastian
02:59 queued 47s
created
tests/CaptainHook/Hook/Branch/Action/EnsureNamingTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             $this->createGitInfoOperator('', 'Foo bar baz')
50 50
         );
51 51
 
52
-        $action  = new Config\Action(EnsureNaming::class, ['regex' => '#bar#']);
52
+        $action = new Config\Action(EnsureNaming::class, ['regex' => '#bar#']);
53 53
 
54 54
         $standard = new EnsureNaming();
55 55
         $standard->execute($config, $io, $repo, $action);
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         $repo->expects($this->once())->method('getInfoOperator')->willReturn(
75 75
             $this->createGitInfoOperator('', 'Foo bar baz')
76 76
         );
77
-        $action  = new Config\Action(
77
+        $action = new Config\Action(
78 78
             EnsureNaming::class,
79 79
             [
80 80
                 'regex'   => '#.*#',
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 
100 100
         $io     = new NullIO();
101 101
         $config = new Config(CH_PATH_FILES . '/captainhook.json');
102
-        $repo    = $this->createRepositoryMock();
102
+        $repo = $this->createRepositoryMock();
103 103
         $action = new Config\Action(EnsureNaming::class);
104 104
 
105 105
         $standard = new EnsureNaming();
Please login to merge, or discard this patch.