Passed
Push — main ( 75a059...0d0fde )
by Michael
02:41
created
src/Helpers/helpers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 use MichaelRubel\Formatters\Formatter;
7 7
 use MichaelRubel\Formatters\FormatterServiceProvider;
8 8
 
9
-if (! function_exists('format')) {
9
+if (!function_exists('format')) {
10 10
     /**
11 11
      * @param string       $formatter
12 12
      * @param string|array $items
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
             ? app($formatter)
21 21
             : app($formatter . FormatterServiceProvider::FORMATTER_POSTFIX);
22 22
 
23
-        if (! $formatter instanceof Formatter) {
23
+        if (!$formatter instanceof Formatter) {
24 24
             throw new ShouldImplementInterfaceException();
25 25
         }
26 26
 
Please login to merge, or discard this patch.
src/FormatterServiceProvider.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -87,11 +87,11 @@
 block discarded – undo
87 87
         // @codeCoverageIgnoreStart
88 88
         $path = str_contains($file->getPathName(), $app_folder)
89 89
             ? Str::ucfirst(str_replace(DIRECTORY_SEPARATOR, self::CLASS_SEPARATOR, $app_folder))
90
-              . self::CLASS_SEPARATOR
90
+                . self::CLASS_SEPARATOR
91 91
             : (new \ReflectionClass(static::class))->getNamespaceName()
92
-              . self::CLASS_SEPARATOR
93
-              . self::PACKAGE_FOLDER
94
-              . self::CLASS_SEPARATOR;
92
+                . self::CLASS_SEPARATOR
93
+                . self::PACKAGE_FOLDER
94
+                . self::CLASS_SEPARATOR;
95 95
         // @codeCoverageIgnoreEnd
96 96
 
97 97
         return sprintf(
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
         $packageFormatters
59 59
             ->merge($appFormatters)
60
-            ->each(function ($file) use ($app_folder) {
60
+            ->each(function($file) use ($app_folder) {
61 61
                 $filename = $file->getFilenameWithoutExtension();
62 62
 
63 63
                 $class = $this->getFormatterClass(
Please login to merge, or discard this patch.