Completed
Push — master ( fcb2ed...d272e4 )
by Nil
10:52
created
src/BackslashFixer/Fixer/FileEditor.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
     }
134 134
 
135 135
     /**
136
-     * @param $generator
136
+     * @param FileGenerator $generator
137 137
      * @return array
138 138
      */
139 139
     protected function getReplaceableFunctions($generator)
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Author: Nil Portugués Calderó <[email protected]>
4
- * Date: 11/1/15
5
- * Time: 12:30 AM
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * Author: Nil Portugués Calderó <[email protected]>
4
+     * Date: 11/1/15
5
+     * Time: 12:30 AM
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 namespace NilPortugues\BackslashFixer\Fixer;
11 11
 
12 12
 use NilPortugues\BackslashFixer\Fixer\Interfaces\FileSystem as FileSystemInterface;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
                 $line = $token[2];
72 72
 
73 73
                 if ($this->isBackslashable($functions, $token, $previousToken, $constants)) {
74
-                    $source[$line-1] = str_replace($token[1], '\\'.$token[1], $source[$line-1]);
74
+                    $source[$line - 1] = str_replace($token[1], '\\' . $token[1], $source[$line - 1]);
75 75
                 }
76 76
             }
77 77
 
Please login to merge, or discard this patch.
src/BackslashFixer/Fixer/FunctionRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     /**
37 37
      * Search backwards starting from haystack length characters from the end
38 38
      *
39
-     * @param $haystack
39
+     * @param string $haystack
40 40
      * @param $needle
41 41
      * @return bool
42 42
      */
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Author: Nil Portugués Calderó <[email protected]>
4
- * Date: 10/31/15
5
- * Time: 11:24 PM
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * Author: Nil Portugués Calderó <[email protected]>
4
+     * Date: 10/31/15
5
+     * Time: 11:24 PM
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 namespace NilPortugues\BackslashFixer\Fixer;
11 11
 
12 12
 /**
Please login to merge, or discard this patch.
src/bootstrap.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,10 +5,10 @@
 block discarded – undo
5 5
     return \file_exists($file) ? include $file : \\false;
6 6
 }
7 7
 
8
-if ((!$loader = includeIfExists(__DIR__.'/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__.'/../../../autoload.php'))) {
9
-    echo 'You must set up the project dependencies, run the following commands:'.\\PHP_EOL.
10
-        'curl -sS https://getcomposer.org/installer | php'.\\PHP_EOL.
11
-        'php composer.phar install'.\\PHP_EOL;
8
+if ((!$loader = includeIfExists(__DIR__ . '/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__ . '/../../../autoload.php'))) {
9
+    echo 'You must set up the project dependencies, run the following commands:' . \\PHP_EOL .
10
+        'curl -sS https://getcomposer.org/installer | php' . \\PHP_EOL .
11
+        'php composer.phar install' . \\PHP_EOL;
12 12
     exit(1);
13 13
 }
14 14
 
Please login to merge, or discard this patch.