Passed
Push — master ( da319f...fac0f3 )
by Petr
02:38
created
php-src/Clipr/Useful.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public static function mb_str_pad(string $input, int $pad_length, string $pad_string = ' ', int $pad_type = STR_PAD_RIGHT): string
27 27
     {
28
-        $diff = strlen( $input ) - mb_strlen( $input );
29
-        return str_pad( $input, $pad_length + $diff, $pad_string, $pad_type );
28
+        $diff = strlen($input) - mb_strlen($input);
29
+        return str_pad($input, $pad_length + $diff, $pad_string, $pad_type);
30 30
     }
31 31
 
32 32
     /**
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     public static function sanitizeClass(string $input): string
51 51
     {
52 52
         $input = strtr($input, [':' => '\\', '/' => '\\']);
53
-        return ('\\' == $input[0]) ? mb_substr($input, 1) : $input ;
53
+        return ('\\' == $input[0]) ? mb_substr($input, 1) : $input;
54 54
     }
55 55
 
56 56
     public static function getTaskCall(object $class): string
Please login to merge, or discard this patch.
run/Lister.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
                 $namespaced = strtr($namespaced, DIRECTORY_SEPARATOR, '\\');
102 102
                 // remove ext
103 103
                 $withExt = mb_strripos($file, Interfaces\ISources::EXT_PHP);
104
-                $withoutExt = (false !== $withExt) ? mb_substr($file, 0, $withExt) : $file ;
104
+                $withoutExt = (false !== $withExt) ? mb_substr($file, 0, $withExt) : $file;
105 105
                 // return named class
106 106
                 return $namespaced . $withoutExt;
107 107
             }
Please login to merge, or discard this patch.