Passed
Pull Request — master (#1957)
by
unknown
03:16
created
src/Phinx/Util/Util.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      */
105 105
     public static function mapClassNameToFileName($className)
106 106
     {
107
-        $snake = function ($matches) {
107
+        $snake = function($matches) {
108 108
             return '_' . strtolower($matches[0]);
109 109
         };
110 110
         $fileName = preg_replace_callback('/\d+|[A-Z]/', $snake, $className);
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
      */
273 273
     public static function getFiles($paths)
274 274
     {
275
-        $files = static::globAll(array_map(function ($path) {
275
+        $files = static::globAll(array_map(function($path) {
276 276
             return $path . DIRECTORY_SEPARATOR . "*.php";
277 277
         }, (array)$paths));
278 278
         // glob() can return the same file multiple times
Please login to merge, or discard this patch.
src/Phinx/Console/Command/ListAliases.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
                         sprintf('%s %s', str_repeat('=', $maxAliasLength), str_repeat('=', $maxClassLength)),
57 57
                     ],
58 58
                     array_map(
59
-                        function ($alias, $class) use ($maxAliasLength, $maxClassLength) {
59
+                        function($alias, $class) use ($maxAliasLength, $maxClassLength) {
60 60
                             return sprintf('%s %s', str_pad($alias, $maxAliasLength), str_pad($class, $maxClassLength));
61 61
                         },
62 62
                         array_keys($aliases),
Please login to merge, or discard this patch.
src/composer_autoloader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  *
7 7
  * @return bool
8 8
  */
9
-return function () {
9
+return function() {
10 10
     $files = [
11 11
       __DIR__ . '/../../../autoload.php', // composer dependency
12 12
       __DIR__ . '/../vendor/autoload.php', // stand-alone package
Please login to merge, or discard this patch.