Passed
Push — main ( bacfa2...24c5a0 )
by Osvaldo
07:23
created
vendor/osvaldogdelrio/factory/vendor/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,6 @@
 block discarded – undo
2 2
 
3 3
 // autoload.php @generated by Composer
4 4
 
5
-require_once __DIR__ . '/composer/autoload_real.php';
5
+require_once __DIR__.'/composer/autoload_real.php';
6 6
 
7 7
 return ComposerAutoloaderInit806e07cdf43c7c81033d8908d20b95ac::getLoader();
Please login to merge, or discard this patch.
vendor/osvaldogdelrio/factory/vendor/composer/autoload_classmap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 $baseDir = dirname($vendorDir);
7 7
 
8 8
 return array(
9
-    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
9
+    'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php',
10 10
 );
Please login to merge, or discard this patch.
vendor/osvaldogdelrio/factory/vendor/composer/autoload_real.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     public static function loadClassLoader($class)
10 10
     {
11 11
         if ('Composer\Autoload\ClassLoader' === $class) {
12
-            require __DIR__ . '/ClassLoader.php';
12
+            require __DIR__.'/ClassLoader.php';
13 13
         }
14 14
     }
15 15
 
@@ -28,21 +28,21 @@  discard block
 block discarded – undo
28 28
 
29 29
         $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30 30
         if ($useStaticLoader) {
31
-            require __DIR__ . '/autoload_static.php';
31
+            require __DIR__.'/autoload_static.php';
32 32
 
33 33
             call_user_func(\Composer\Autoload\ComposerStaticInit806e07cdf43c7c81033d8908d20b95ac::getInitializer($loader));
34 34
         } else {
35
-            $map = require __DIR__ . '/autoload_namespaces.php';
35
+            $map = require __DIR__.'/autoload_namespaces.php';
36 36
             foreach ($map as $namespace => $path) {
37 37
                 $loader->set($namespace, $path);
38 38
             }
39 39
 
40
-            $map = require __DIR__ . '/autoload_psr4.php';
40
+            $map = require __DIR__.'/autoload_psr4.php';
41 41
             foreach ($map as $namespace => $path) {
42 42
                 $loader->setPsr4($namespace, $path);
43 43
             }
44 44
 
45
-            $classMap = require __DIR__ . '/autoload_classmap.php';
45
+            $classMap = require __DIR__.'/autoload_classmap.php';
46 46
             if ($classMap) {
47 47
                 $loader->addClassMap($classMap);
48 48
             }
Please login to merge, or discard this patch.
vendor/osvaldogdelrio/factory/vendor/composer/autoload_static.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -6,27 +6,27 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInit806e07cdf43c7c81033d8908d20b95ac
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         's' => 
11
-        array (
11
+        array(
12 12
             'src\\' => 4,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'src\\' => 
18
-        array (
19
-            0 => __DIR__ . '/../..' . '/src',
18
+        array(
19
+            0 => __DIR__.'/../..'.'/src',
20 20
         ),
21 21
     );
22 22
 
23
-    public static $classMap = array (
24
-        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
23
+    public static $classMap = array(
24
+        'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php',
25 25
     );
26 26
 
27 27
     public static function getInitializer(ClassLoader $loader)
28 28
     {
29
-        return \Closure::bind(function () use ($loader) {
29
+        return \Closure::bind(function() use ($loader) {
30 30
             $loader->prefixLengthsPsr4 = ComposerStaticInit806e07cdf43c7c81033d8908d20b95ac::$prefixLengthsPsr4;
31 31
             $loader->prefixDirsPsr4 = ComposerStaticInit806e07cdf43c7c81033d8908d20b95ac::$prefixDirsPsr4;
32 32
             $loader->classMap = ComposerStaticInit806e07cdf43c7c81033d8908d20b95ac::$classMap;
Please login to merge, or discard this patch.
vendor/osvaldogdelrio/factory/vendor/composer/autoload_psr4.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 $baseDir = dirname($vendorDir);
7 7
 
8 8
 return array(
9
-    'src\\' => array($baseDir . '/src'),
9
+    'src\\' => array($baseDir.'/src'),
10 10
 );
Please login to merge, or discard this patch.
vendor/osvaldogdelrio/factory/vendor/composer/InstalledVersions.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
             return implode(' || ', $ranges);
144 144
         }
145 145
 
146
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
146
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
147 147
     }
148 148
 
149 149
     /**
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
             return $installed['versions'][$packageName]['version'];
165 165
         }
166 166
 
167
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
167
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
168 168
     }
169 169
 
170 170
     /**
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
             return $installed['versions'][$packageName]['pretty_version'];
186 186
         }
187 187
 
188
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
188
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
189 189
     }
190 190
 
191 191
     /**
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
             return $installed['versions'][$packageName]['reference'];
207 207
         }
208 208
 
209
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
209
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
210 210
     }
211 211
 
212 212
     /**
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
             return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null;
224 224
         }
225 225
 
226
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
226
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
227 227
     }
228 228
 
229 229
     /**
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
             // only require the installed.php file if this file is loaded from its dumped location,
253 253
             // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
254 254
             if (substr(__DIR__, -8, 1) !== 'C') {
255
-                self::$installed = include __DIR__ . '/installed.php';
255
+                self::$installed = include __DIR__.'/installed.php';
256 256
             } else {
257 257
                 self::$installed = array();
258 258
             }
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
             // only require the installed.php file if this file is loaded from its dumped location,
326 326
             // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
327 327
             if (substr(__DIR__, -8, 1) !== 'C') {
328
-                self::$installed = require __DIR__ . '/installed.php';
328
+                self::$installed = require __DIR__.'/installed.php';
329 329
             } else {
330 330
                 self::$installed = array();
331 331
             }
Please login to merge, or discard this patch.
vendor/osvaldogdelrio/factory/vendor/composer/ClassLoader.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -406,18 +406,18 @@  discard block
 block discarded – undo
406 406
     private function findFileWithExtension($class, $ext)
407 407
     {
408 408
         // PSR-4 lookup
409
-        $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
409
+        $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR).$ext;
410 410
 
411 411
         $first = $class[0];
412 412
         if (isset($this->prefixLengthsPsr4[$first])) {
413 413
             $subPath = $class;
414 414
             while (false !== $lastPos = strrpos($subPath, '\\')) {
415 415
                 $subPath = substr($subPath, 0, $lastPos);
416
-                $search = $subPath . '\\';
416
+                $search = $subPath.'\\';
417 417
                 if (isset($this->prefixDirsPsr4[$search])) {
418
-                    $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
418
+                    $pathEnd = DIRECTORY_SEPARATOR.substr($logicalPathPsr4, $lastPos + 1);
419 419
                     foreach ($this->prefixDirsPsr4[$search] as $dir) {
420
-                        if (file_exists($file = $dir . $pathEnd)) {
420
+                        if (file_exists($file = $dir.$pathEnd)) {
421 421
                             return $file;
422 422
                         }
423 423
                     }
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
 
428 428
         // PSR-4 fallback dirs
429 429
         foreach ($this->fallbackDirsPsr4 as $dir) {
430
-            if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
430
+            if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr4)) {
431 431
                 return $file;
432 432
             }
433 433
         }
@@ -439,14 +439,14 @@  discard block
 block discarded – undo
439 439
                 . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
440 440
         } else {
441 441
             // PEAR-like class name
442
-            $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
442
+            $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR).$ext;
443 443
         }
444 444
 
445 445
         if (isset($this->prefixesPsr0[$first])) {
446 446
             foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
447 447
                 if (0 === strpos($class, $prefix)) {
448 448
                     foreach ($dirs as $dir) {
449
-                        if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
449
+                        if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) {
450 450
                             return $file;
451 451
                         }
452 452
                     }
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
 
457 457
         // PSR-0 fallback dirs
458 458
         foreach ($this->fallbackDirsPsr0 as $dir) {
459
-            if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
459
+            if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) {
460 460
                 return $file;
461 461
             }
462 462
         }
Please login to merge, or discard this patch.
vendor/osvaldogdelrio/factory/vendor/composer/installed.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
         'pretty_version' => 'dev-main',
4 4
         'version' => 'dev-main',
5 5
         'type' => 'library',
6
-        'install_path' => __DIR__ . '/../../',
6
+        'install_path' => __DIR__.'/../../',
7 7
         'aliases' => array(),
8 8
         'reference' => '1e4147c2c66ea1e2e3708b2c50738a6a2c0f0392',
9 9
         'name' => 'osvaldogdelrio/factory',
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
             'pretty_version' => 'dev-main',
15 15
             'version' => 'dev-main',
16 16
             'type' => 'library',
17
-            'install_path' => __DIR__ . '/../../',
17
+            'install_path' => __DIR__.'/../../',
18 18
             'aliases' => array(),
19 19
             'reference' => '1e4147c2c66ea1e2e3708b2c50738a6a2c0f0392',
20 20
             'dev_requirement' => false,
Please login to merge, or discard this patch.
vendor/osvaldogdelrio/factory/src/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     private function verificarSiExisteLaClase($nombreDeLaClase)
21 21
     {
22
-        if(!class_exists($nombreDeLaClase))
22
+        if (!class_exists($nombreDeLaClase))
23 23
         {
24 24
             throw new Exception("La clase no existe", 1);
25 25
         }
Please login to merge, or discard this patch.