Completed
Push — master ( 2a3e96...8b8afe )
by Greg
03:03
created
tests/_helpers/CodeGuy.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\CodeGuyActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.
tests/cli/WriteFileCest.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@  discard block
 block discarded – undo
11 11
     {
12 12
         $I->wantTo('write lines with WriteToFile task');
13 13
         $I->taskWriteToFile('blogpost.md')
14
-           ->line('****')
15
-           ->line('hello world')
16
-           ->line('****')
17
-           ->run();
14
+            ->line('****')
15
+            ->line('hello world')
16
+            ->line('****')
17
+            ->run();
18 18
         $I->seeFileFound('blogpost.md');
19 19
         $I->seeFileContentsEqual(<<<HERE
20 20
 ****
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
     public function appendToFile(CliGuy $I)
29 29
     {
30 30
         $I->taskWriteToFile('a.txt')
31
-           ->append()
32
-           ->line('hello world')
33
-           ->run();
31
+            ->append()
32
+            ->line('hello world')
33
+            ->run();
34 34
         $I->seeFileFound('a.txt');
35 35
         $I->seeFileContentsEqual(<<<HERE
36 36
 Ahello world
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     public function testWouldChange(CliGuy $I)
43 43
     {
44 44
         $writeTask = $I->taskWriteToFile('a.txt')
45
-           ->append();
45
+            ->append();
46 46
         $I->assertEquals(false, $writeTask->wouldChange(), "No changes to test file.");
47 47
         $writeTask->line('hello world');
48 48
         $I->assertEquals(true, $writeTask->wouldChange(), "Test file would change.");
@@ -68,15 +68,15 @@  discard block
 block discarded – undo
68 68
     {
69 69
         $I->wantTo('append lines with WriteToFile task, but only if pattern does not match');
70 70
         $I->taskWriteToFile('blogpost.md')
71
-           ->line('****')
72
-           ->line('hello world')
73
-           ->line('****')
74
-           ->appendUnlessMatches('/hello/', 'Should not add this')
75
-           ->appendUnlessMatches('/goodbye/', 'Should add this')
76
-           ->appendIfMatches('/hello/', ' and should also add this')
77
-           ->appendIfMatches('/goodbye/', ' but should not add this')
78
-           ->appendIfMatches('/should/', '!')
79
-           ->run();
71
+            ->line('****')
72
+            ->line('hello world')
73
+            ->line('****')
74
+            ->appendUnlessMatches('/hello/', 'Should not add this')
75
+            ->appendUnlessMatches('/goodbye/', 'Should add this')
76
+            ->appendIfMatches('/hello/', ' and should also add this')
77
+            ->appendIfMatches('/goodbye/', ' but should not add this')
78
+            ->appendIfMatches('/should/', '!')
79
+            ->run();
80 80
         $I->seeFileFound('blogpost.md');
81 81
         $I->seeFileContentsEqual(<<<HERE
82 82
 ****
Please login to merge, or discard this patch.
tests/cli/AssetsCept.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 $initialFileSize = filesize($sampleCss);
12 12
 
13 13
 $I->taskMinify($sampleCss)
14
-  ->to('minifiedSample.css')
15
-  ->run();
14
+    ->to('minifiedSample.css')
15
+    ->run();
16 16
 
17 17
 $I->seeFileFound($outputCss);
18 18
 $minifiedFileSize = filesize($outputCss);
Please login to merge, or discard this patch.
src/Common/ResourceExistenceChecker.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -90,25 +90,25 @@
 block discarded – undo
90 90
         $this->checkResources($targets);
91 91
     }
92 92
 
93
-   /**
94
-    * Wrapper method around phps is_dir()
95
-    *
96
-    * @param string $directory
97
-    *
98
-    * @return bool
99
-    */
93
+    /**
94
+     * Wrapper method around phps is_dir()
95
+     *
96
+     * @param string $directory
97
+     *
98
+     * @return bool
99
+     */
100 100
     protected function isDir($directory)
101 101
     {
102 102
         return is_dir($directory);
103 103
     }
104 104
 
105
-   /**
106
-    * Wrapper method around phps file_exists()
107
-    *
108
-    * @param string $file
109
-    *
110
-    * @return bool
111
-    */
105
+    /**
106
+     * Wrapper method around phps file_exists()
107
+     *
108
+     * @param string $file
109
+     *
110
+     * @return bool
111
+     */
112 112
     protected function isFile($file)
113 113
     {
114 114
         return file_exists($file);
Please login to merge, or discard this patch.
src/Task/Assets/loadTasks.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@  discard block
 block discarded – undo
4 4
 trait loadTasks
5 5
 {
6 6
     /**
7
-    * @param string $input
8
-    *
7
+     * @param string $input
8
+     *
9 9
      * @return \Robo\Task\Assets\Minify
10
-    */
10
+     */
11 11
     protected function taskMinify($input)
12 12
     {
13 13
         return $this->task(Minify::class, $input);
@@ -23,11 +23,11 @@  discard block
 block discarded – undo
23 23
         return $this->task(ImageMinify::class, $input);
24 24
     }
25 25
 
26
-   /**
27
-    * @param array $input
28
-    *
29
-    * @return \Robo\Task\Assets\Less
30
-    */
26
+    /**
27
+     * @param array $input
28
+     *
29
+     * @return \Robo\Task\Assets\Less
30
+     */
31 31
     protected function taskLess($input)
32 32
     {
33 33
         return $this->task(Less::class, $input);
Please login to merge, or discard this patch.
src/Task/Testing/Atoum.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,6 @@
 block discarded – undo
83 83
 
84 84
     /**
85 85
      * Path to the bootstrap file.
86
-
87 86
      * @param string $file
88 87
      *
89 88
      * @return $this
Please login to merge, or discard this patch.
src/Collection/CollectionBuilder.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -140,15 +140,15 @@
 block discarded – undo
140 140
         return $this;
141 141
     }
142 142
 
143
-  /**
144
-   * Add arbitrary code to execute as a task.
145
-   *
146
-   * @see \Robo\Collection\CollectionInterface::addCode
147
-   *
148
-   * @param callable $code
149
-   * @param int|string $name
150
-   * @return $this
151
-   */
143
+    /**
144
+     * Add arbitrary code to execute as a task.
145
+     *
146
+     * @see \Robo\Collection\CollectionInterface::addCode
147
+     *
148
+     * @param callable $code
149
+     * @param int|string $name
150
+     * @return $this
151
+     */
152 152
     public function addCode(callable $code, $name = \Robo\Collection\CollectionInterface::UNNAMEDTASK)
153 153
     {
154 154
         $this->getCollection()->addCode($code, $name);
Please login to merge, or discard this patch.
src/ClassDiscovery/RelativeNamespaceDiscovery.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,8 +91,8 @@
 block discarded – undo
91 91
     {
92 92
         $finder = new Finder();
93 93
         $finder->files()
94
-          ->name($pattern)
95
-          ->in($directories);
94
+            ->name($pattern)
95
+            ->in($directories);
96 96
 
97 97
         return $finder;
98 98
     }
Please login to merge, or discard this patch.
tests/unit/ClassDiscovery/RelativeNamespaceDiscoveryTest.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -38,10 +38,10 @@  discard block
 block discarded – undo
38 38
     public function testConvertPathToNamespaceData()
39 39
     {
40 40
         return [
41
-          ['/A/B/C', 'A\B\C'],
42
-          ['A/B/C', 'A\B\C'],
43
-          ['A/B/C', 'A\B\C'],
44
-          ['A/B/C.php', 'A\B\C'],
41
+            ['/A/B/C', 'A\B\C'],
42
+            ['A/B/C', 'A\B\C'],
43
+            ['A/B/C', 'A\B\C'],
44
+            ['A/B/C.php', 'A\B\C'],
45 45
         ];
46 46
     }
47 47
 
@@ -61,9 +61,9 @@  discard block
 block discarded – undo
61 61
     public function testConvertNamespaceToPathData()
62 62
     {
63 63
         return [
64
-          ['A\B\C', '/A/B/C'],
65
-          ['\A\B\C\\', '/A/B/C'],
66
-          ['A\B\C\\', '/A/B/C'],
64
+            ['A\B\C', '/A/B/C'],
65
+            ['\A\B\C\\', '/A/B/C'],
66
+            ['A\B\C\\', '/A/B/C'],
67 67
         ];
68 68
     }
69 69
 
Please login to merge, or discard this patch.