Passed
Push — master ( 8444bd...a0a668 )
by Caen
03:19 queued 12s
created
packages/framework/src/Pages/InMemoryPage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             return $this->__call('compile', []);
95 95
         }
96 96
 
97
-        if ($this->getBladeView() && ! $this->getContents()) {
97
+        if ($this->getBladeView() && !$this->getContents()) {
98 98
             if (str_ends_with($this->getBladeView(), '.blade.php')) {
99 99
                 // If the view key is for a Blade file path, we'll use the anonymous view compiler to compile it.
100 100
                 // This allows you to use any arbitrary file, without needing to register its namespace or directory.
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      */
125 125
     public function __call(string $method, array $parameters): mixed
126 126
     {
127
-        if (! isset($this->macros[$method])) {
127
+        if (!isset($this->macros[$method])) {
128 128
             throw new BadMethodCallException(sprintf(
129 129
                 'Method %s::%s does not exist.', static::class, $method
130 130
             ));
Please login to merge, or discard this patch.
packages/framework/src/Foundation/Internal/LoadConfiguration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /** Get all the configuration files for the application. */
15 15
     protected function getConfigurationFiles(Application $app): array
16 16
     {
17
-        return tap(parent::getConfigurationFiles($app), function (array &$files) use ($app): void {
17
+        return tap(parent::getConfigurationFiles($app), function(array &$files) use ($app): void {
18 18
             // Inject our custom config file which is stored in `app/config.php`.
19 19
             $files['app'] = $app->basePath().DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'config.php';
20 20
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         // If we're running in a Phar and no project config directory exists,
63 63
         // we need to adjust the path to use the bundled static Phar config file.
64 64
 
65
-        if (\Phar::running() && (! is_dir($files['app']))) {
65
+        if (\Phar::running() && (!is_dir($files['app']))) {
66 66
             $files['app'] = dirname(__DIR__, 6).DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'app.php';
67 67
         }
68 68
     }
Please login to merge, or discard this patch.
packages/framework/src/Foundation/Kernel/Filesystem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
      */
141 141
     public function vendorPath(string $path = '', string $package = 'framework'): string
142 142
     {
143
-        if (PharSupport::running() && ! PharSupport::hasVendorDirectory()) {
143
+        if (PharSupport::running() && !PharSupport::hasVendorDirectory()) {
144 144
             return PharSupport::vendorPath($path, $package);
145 145
         }
146 146
 
Please login to merge, or discard this patch.