@@ -2,6 +2,6 @@ |
||
| 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 ComposerAutoloaderInite5eca23334d547f58d55dd3321eace6e::getLoader(); |
@@ -6,32 +6,32 @@ |
||
| 6 | 6 | |
| 7 | 7 | class ComposerStaticInite5eca23334d547f58d55dd3321eace6e |
| 8 | 8 | { |
| 9 | - public static $prefixLengthsPsr4 = array ( |
|
| 9 | + public static $prefixLengthsPsr4 = array( |
|
| 10 | 10 | 'K' => |
| 11 | - array ( |
|
| 11 | + array( |
|
| 12 | 12 | 'Kristuff\\Mishell\\' => 17, |
| 13 | 13 | ), |
| 14 | 14 | ); |
| 15 | 15 | |
| 16 | - public static $prefixDirsPsr4 = array ( |
|
| 16 | + public static $prefixDirsPsr4 = array( |
|
| 17 | 17 | 'Kristuff\\Mishell\\' => |
| 18 | - array ( |
|
| 19 | - 0 => __DIR__ . '/../..' . '/lib', |
|
| 18 | + array( |
|
| 19 | + 0 => __DIR__.'/../..'.'/lib', |
|
| 20 | 20 | ), |
| 21 | 21 | ); |
| 22 | 22 | |
| 23 | - public static $classMap = array ( |
|
| 24 | - 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', |
|
| 25 | - 'Kristuff\\Mishell\\Console' => __DIR__ . '/../..' . '/lib/Console.php', |
|
| 26 | - 'Kristuff\\Mishell\\Program' => __DIR__ . '/../..' . '/lib/Program.php', |
|
| 27 | - 'Kristuff\\Mishell\\ShellColoredPrinter' => __DIR__ . '/../..' . '/lib/ShellColoredPrinter.php', |
|
| 28 | - 'Kristuff\\Mishell\\ShellPrinter' => __DIR__ . '/../..' . '/lib/ShellPrinter.php', |
|
| 29 | - 'Kristuff\\Mishell\\ShellTablePrinter' => __DIR__ . '/../..' . '/lib/ShellTablePrinter.php', |
|
| 23 | + public static $classMap = array( |
|
| 24 | + 'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php', |
|
| 25 | + 'Kristuff\\Mishell\\Console' => __DIR__.'/../..'.'/lib/Console.php', |
|
| 26 | + 'Kristuff\\Mishell\\Program' => __DIR__.'/../..'.'/lib/Program.php', |
|
| 27 | + 'Kristuff\\Mishell\\ShellColoredPrinter' => __DIR__.'/../..'.'/lib/ShellColoredPrinter.php', |
|
| 28 | + 'Kristuff\\Mishell\\ShellPrinter' => __DIR__.'/../..'.'/lib/ShellPrinter.php', |
|
| 29 | + 'Kristuff\\Mishell\\ShellTablePrinter' => __DIR__.'/../..'.'/lib/ShellTablePrinter.php', |
|
| 30 | 30 | ); |
| 31 | 31 | |
| 32 | 32 | public static function getInitializer(ClassLoader $loader) |
| 33 | 33 | { |
| 34 | - return \Closure::bind(function () use ($loader) { |
|
| 34 | + return \Closure::bind(function() use ($loader) { |
|
| 35 | 35 | $loader->prefixLengthsPsr4 = ComposerStaticInite5eca23334d547f58d55dd3321eace6e::$prefixLengthsPsr4; |
| 36 | 36 | $loader->prefixDirsPsr4 = ComposerStaticInite5eca23334d547f58d55dd3321eace6e::$prefixDirsPsr4; |
| 37 | 37 | $loader->classMap = ComposerStaticInite5eca23334d547f58d55dd3321eace6e::$classMap; |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | } elseif (!isset($this->prefixDirsPsr4[$prefix])) { |
| 249 | 249 | // Register directories for a new namespace. |
| 250 | 250 | $length = strlen($prefix); |
| 251 | - if ('\\' !== $prefix[$length - 1]) { |
|
| 251 | + if ('\\' !== $prefix[$length-1]) { |
|
| 252 | 252 | throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); |
| 253 | 253 | } |
| 254 | 254 | $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; |
@@ -303,7 +303,7 @@ discard block |
||
| 303 | 303 | $this->fallbackDirsPsr4 = (array) $paths; |
| 304 | 304 | } else { |
| 305 | 305 | $length = strlen($prefix); |
| 306 | - if ('\\' !== $prefix[$length - 1]) { |
|
| 306 | + if ('\\' !== $prefix[$length-1]) { |
|
| 307 | 307 | throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); |
| 308 | 308 | } |
| 309 | 309 | $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; |
@@ -395,7 +395,7 @@ discard block |
||
| 395 | 395 | } |
| 396 | 396 | |
| 397 | 397 | if ($prepend) { |
| 398 | - self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders; |
|
| 398 | + self::$registeredLoaders = array($this->vendorDir => $this)+self::$registeredLoaders; |
|
| 399 | 399 | } else { |
| 400 | 400 | unset(self::$registeredLoaders[$this->vendorDir]); |
| 401 | 401 | self::$registeredLoaders[$this->vendorDir] = $this; |
@@ -493,18 +493,18 @@ discard block |
||
| 493 | 493 | private function findFileWithExtension($class, $ext) |
| 494 | 494 | { |
| 495 | 495 | // PSR-4 lookup |
| 496 | - $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; |
|
| 496 | + $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR).$ext; |
|
| 497 | 497 | |
| 498 | 498 | $first = $class[0]; |
| 499 | 499 | if (isset($this->prefixLengthsPsr4[$first])) { |
| 500 | 500 | $subPath = $class; |
| 501 | 501 | while (false !== $lastPos = strrpos($subPath, '\\')) { |
| 502 | 502 | $subPath = substr($subPath, 0, $lastPos); |
| 503 | - $search = $subPath . '\\'; |
|
| 503 | + $search = $subPath.'\\'; |
|
| 504 | 504 | if (isset($this->prefixDirsPsr4[$search])) { |
| 505 | - $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); |
|
| 505 | + $pathEnd = DIRECTORY_SEPARATOR.substr($logicalPathPsr4, $lastPos+1); |
|
| 506 | 506 | foreach ($this->prefixDirsPsr4[$search] as $dir) { |
| 507 | - if (file_exists($file = $dir . $pathEnd)) { |
|
| 507 | + if (file_exists($file = $dir.$pathEnd)) { |
|
| 508 | 508 | return $file; |
| 509 | 509 | } |
| 510 | 510 | } |
@@ -514,7 +514,7 @@ discard block |
||
| 514 | 514 | |
| 515 | 515 | // PSR-4 fallback dirs |
| 516 | 516 | foreach ($this->fallbackDirsPsr4 as $dir) { |
| 517 | - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { |
|
| 517 | + if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr4)) { |
|
| 518 | 518 | return $file; |
| 519 | 519 | } |
| 520 | 520 | } |
@@ -522,18 +522,18 @@ discard block |
||
| 522 | 522 | // PSR-0 lookup |
| 523 | 523 | if (false !== $pos = strrpos($class, '\\')) { |
| 524 | 524 | // namespaced class name |
| 525 | - $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1) |
|
| 526 | - . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); |
|
| 525 | + $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos+1) |
|
| 526 | + . strtr(substr($logicalPathPsr4, $pos+1), '_', DIRECTORY_SEPARATOR); |
|
| 527 | 527 | } else { |
| 528 | 528 | // PEAR-like class name |
| 529 | - $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; |
|
| 529 | + $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR).$ext; |
|
| 530 | 530 | } |
| 531 | 531 | |
| 532 | 532 | if (isset($this->prefixesPsr0[$first])) { |
| 533 | 533 | foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { |
| 534 | 534 | if (0 === strpos($class, $prefix)) { |
| 535 | 535 | foreach ($dirs as $dir) { |
| 536 | - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { |
|
| 536 | + if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) { |
|
| 537 | 537 | return $file; |
| 538 | 538 | } |
| 539 | 539 | } |
@@ -543,7 +543,7 @@ discard block |
||
| 543 | 543 | |
| 544 | 544 | // PSR-0 fallback dirs |
| 545 | 545 | foreach ($this->fallbackDirsPsr0 as $dir) { |
| 546 | - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { |
|
| 546 | + if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) { |
|
| 547 | 547 | return $file; |
| 548 | 548 | } |
| 549 | 549 | } |
@@ -4,10 +4,10 @@ |
||
| 4 | 4 | $baseDir = dirname($vendorDir); |
| 5 | 5 | |
| 6 | 6 | return array( |
| 7 | - 'Kristuff\\Mishell\\Console' => $baseDir . '/lib/Console.php', |
|
| 8 | - 'Kristuff\\Mishell\\Program' => $baseDir . '/lib/Program.php', |
|
| 9 | - 'Kristuff\\Mishell\\ShellPrinter' => $baseDir . '/lib/ShellPrinter.php', |
|
| 10 | - 'Kristuff\\Mishell\\ShellTablePrinter' => $baseDir . '/lib/ShellTablePrinter.php', |
|
| 11 | - 'Kristuff\\Mishell\\ShellColoredPrinter' => $baseDir . '/lib/ShellColoredPrinter.php', |
|
| 12 | - 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', |
|
| 7 | + 'Kristuff\\Mishell\\Console' => $baseDir.'/lib/Console.php', |
|
| 8 | + 'Kristuff\\Mishell\\Program' => $baseDir.'/lib/Program.php', |
|
| 9 | + 'Kristuff\\Mishell\\ShellPrinter' => $baseDir.'/lib/ShellPrinter.php', |
|
| 10 | + 'Kristuff\\Mishell\\ShellTablePrinter' => $baseDir.'/lib/ShellTablePrinter.php', |
|
| 11 | + 'Kristuff\\Mishell\\ShellColoredPrinter' => $baseDir.'/lib/ShellColoredPrinter.php', |
|
| 12 | + 'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php', |
|
| 13 | 13 | ); |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | return implode(' || ', $ranges); |
| 157 | 157 | } |
| 158 | 158 | |
| 159 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
| 159 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
| 160 | 160 | } |
| 161 | 161 | |
| 162 | 162 | /** |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | return $installed['versions'][$packageName]['version']; |
| 178 | 178 | } |
| 179 | 179 | |
| 180 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
| 180 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | /** |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | return $installed['versions'][$packageName]['pretty_version']; |
| 199 | 199 | } |
| 200 | 200 | |
| 201 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
| 201 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
| 202 | 202 | } |
| 203 | 203 | |
| 204 | 204 | /** |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | return $installed['versions'][$packageName]['reference']; |
| 220 | 220 | } |
| 221 | 221 | |
| 222 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
| 222 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
| 223 | 223 | } |
| 224 | 224 | |
| 225 | 225 | /** |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null; |
| 237 | 237 | } |
| 238 | 238 | |
| 239 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
| 239 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
| 240 | 240 | } |
| 241 | 241 | |
| 242 | 242 | /** |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | // only require the installed.php file if this file is loaded from its dumped location, |
| 266 | 266 | // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 |
| 267 | 267 | if (substr(__DIR__, -8, 1) !== 'C') { |
| 268 | - self::$installed = include __DIR__ . '/installed.php'; |
|
| 268 | + self::$installed = include __DIR__.'/installed.php'; |
|
| 269 | 269 | } else { |
| 270 | 270 | self::$installed = array(); |
| 271 | 271 | } |
@@ -328,7 +328,7 @@ discard block |
||
| 328 | 328 | } elseif (is_file($vendorDir.'/composer/installed.php')) { |
| 329 | 329 | $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; |
| 330 | 330 | if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { |
| 331 | - self::$installed = $installed[count($installed) - 1]; |
|
| 331 | + self::$installed = $installed[count($installed)-1]; |
|
| 332 | 332 | } |
| 333 | 333 | } |
| 334 | 334 | } |
@@ -338,7 +338,7 @@ discard block |
||
| 338 | 338 | // only require the installed.php file if this file is loaded from its dumped location, |
| 339 | 339 | // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 |
| 340 | 340 | if (substr(__DIR__, -8, 1) !== 'C') { |
| 341 | - self::$installed = require __DIR__ . '/installed.php'; |
|
| 341 | + self::$installed = require __DIR__.'/installed.php'; |
|
| 342 | 342 | } else { |
| 343 | 343 | self::$installed = array(); |
| 344 | 344 | } |
@@ -9,7 +9,7 @@ discard block |
||
| 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 | |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | return self::$loader; |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | - require __DIR__ . '/platform_check.php'; |
|
| 25 | + require __DIR__.'/platform_check.php'; |
|
| 26 | 26 | |
| 27 | 27 | spl_autoload_register(array('ComposerAutoloaderInite5eca23334d547f58d55dd3321eace6e', 'loadClassLoader'), true, true); |
| 28 | 28 | self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); |
@@ -30,21 +30,21 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); |
| 32 | 32 | if ($useStaticLoader) { |
| 33 | - require __DIR__ . '/autoload_static.php'; |
|
| 33 | + require __DIR__.'/autoload_static.php'; |
|
| 34 | 34 | |
| 35 | 35 | call_user_func(\Composer\Autoload\ComposerStaticInite5eca23334d547f58d55dd3321eace6e::getInitializer($loader)); |
| 36 | 36 | } else { |
| 37 | - $map = require __DIR__ . '/autoload_namespaces.php'; |
|
| 37 | + $map = require __DIR__.'/autoload_namespaces.php'; |
|
| 38 | 38 | foreach ($map as $namespace => $path) { |
| 39 | 39 | $loader->set($namespace, $path); |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - $map = require __DIR__ . '/autoload_psr4.php'; |
|
| 42 | + $map = require __DIR__.'/autoload_psr4.php'; |
|
| 43 | 43 | foreach ($map as $namespace => $path) { |
| 44 | 44 | $loader->setPsr4($namespace, $path); |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | - $classMap = require __DIR__ . '/autoload_classmap.php'; |
|
| 47 | + $classMap = require __DIR__.'/autoload_classmap.php'; |
|
| 48 | 48 | if ($classMap) { |
| 49 | 49 | $loader->addClassMap($classMap); |
| 50 | 50 | } |
@@ -6,5 +6,5 @@ |
||
| 6 | 6 | $baseDir = dirname($vendorDir); |
| 7 | 7 | |
| 8 | 8 | return array( |
| 9 | - 'Kristuff\\Mishell\\' => array($baseDir . '/lib'), |
|
| 9 | + 'Kristuff\\Mishell\\' => array($baseDir.'/lib'), |
|
| 10 | 10 | ); |
@@ -5,7 +5,7 @@ discard block |
||
| 5 | 5 | $issues = array(); |
| 6 | 6 | |
| 7 | 7 | if (!(PHP_VERSION_ID >= 50600)) { |
| 8 | - $issues[] = 'Your Composer dependencies require a PHP version ">= 5.6.0". You are running ' . PHP_VERSION . '.'; |
|
| 8 | + $issues[] = 'Your Composer dependencies require a PHP version ">= 5.6.0". You are running '.PHP_VERSION.'.'; |
|
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | if ($issues) { |
@@ -14,13 +14,13 @@ discard block |
||
| 14 | 14 | } |
| 15 | 15 | if (!ini_get('display_errors')) { |
| 16 | 16 | if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { |
| 17 | - fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); |
|
| 17 | + fwrite(STDERR, 'Composer detected issues in your platform:'.PHP_EOL.PHP_EOL.implode(PHP_EOL, $issues).PHP_EOL.PHP_EOL); |
|
| 18 | 18 | } elseif (!headers_sent()) { |
| 19 | - echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; |
|
| 19 | + echo 'Composer detected issues in your platform:'.PHP_EOL.PHP_EOL.str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)).PHP_EOL.PHP_EOL; |
|
| 20 | 20 | } |
| 21 | 21 | } |
| 22 | 22 | trigger_error( |
| 23 | - 'Composer detected issues in your platform: ' . implode(' ', $issues), |
|
| 23 | + 'Composer detected issues in your platform: '.implode(' ', $issues), |
|
| 24 | 24 | E_USER_ERROR |
| 25 | 25 | ); |
| 26 | 26 | } |
@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | 'pretty_version' => '1.0.0+no-version-set', |
| 4 | 4 | 'version' => '1.0.0.0', |
| 5 | 5 | 'type' => 'library', |
| 6 | - 'install_path' => __DIR__ . '/../../', |
|
| 6 | + 'install_path' => __DIR__.'/../../', |
|
| 7 | 7 | 'aliases' => array(), |
| 8 | 8 | 'reference' => NULL, |
| 9 | 9 | 'name' => 'kristuff/mishell', |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | 'pretty_version' => '1.0.0+no-version-set', |
| 15 | 15 | 'version' => '1.0.0.0', |
| 16 | 16 | 'type' => 'library', |
| 17 | - 'install_path' => __DIR__ . '/../../', |
|
| 17 | + 'install_path' => __DIR__.'/../../', |
|
| 18 | 18 | 'aliases' => array(), |
| 19 | 19 | 'reference' => NULL, |
| 20 | 20 | 'dev_requirement' => false, |