Skip to content

Commit

Permalink
Bump dependencies (#313)
Browse files Browse the repository at this point in the history
- Update dependencies
- Bump PHP-Scoper
- Fix a few elements of the PHP-Scoper configuration for Box and the RequirementChecker
- Dump the requirement checker
  • Loading branch information
theofidry authored Oct 31, 2018
1 parent 04fc36c commit 577bcc0
Show file tree
Hide file tree
Showing 28 changed files with 306 additions and 243 deletions.
4 changes: 2 additions & 2 deletions .requirement-checker/bin/check-requirements.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace _HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker;
namespace _HumbugBoxaadb73f2427d\KevinGH\RequirementChecker;

require __DIR__ . '/../vendor/autoload.php';
if (\PHP_SAPI !== 'cli' && \PHP_SAPI !== 'phpdbg') {
echo \PHP_EOL . 'The application may only be invoked from a command line' . \PHP_EOL;
exit(1);
}
$checkPassed = \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\Checker::checkRequirements();
$checkPassed = \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\Checker::checkRequirements();
if (\false === $checkPassed) {
exit(1);
}
34 changes: 18 additions & 16 deletions .requirement-checker/src/Checker.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace _HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker;
namespace _HumbugBoxaadb73f2427d\KevinGH\RequirementChecker;

/**
@private
Expand All @@ -19,16 +19,16 @@ public static function checkRequirements()
{
$requirements = self::retrieveRequirements();
$checkPassed = $requirements->evaluateRequirements();
$io = new \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IO();
self::printCheck($checkPassed, new \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\Printer($io->getVerbosity(), $io->hasColorSupport()), $requirements);
$io = new \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IO();
self::printCheck($checkPassed, new \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\Printer($io->getVerbosity(), $io->hasColorSupport()), $requirements);
return $checkPassed;
}
public static function printCheck($checkPassed, \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\Printer $printer, \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\RequirementCollection $requirements)
public static function printCheck($checkPassed, \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\Printer $printer, \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\RequirementCollection $requirements)
{
if (\false === $checkPassed && \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IO::VERBOSITY_VERY_VERBOSE > $printer->getVerbosity()) {
$printer->setVerbosity(\_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IO::VERBOSITY_VERY_VERBOSE);
if (\false === $checkPassed && \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IO::VERBOSITY_VERY_VERBOSE > $printer->getVerbosity()) {
$printer->setVerbosity(\_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IO::VERBOSITY_VERY_VERBOSE);
}
$verbosity = \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IO::VERBOSITY_VERY_VERBOSE;
$verbosity = \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IO::VERBOSITY_VERY_VERBOSE;
$iniPath = $requirements->getPhpIniPath();
$printer->title('Box Requirements Checker', $verbosity);
$printer->printv('> Using PHP ', $verbosity);
Expand All @@ -49,24 +49,24 @@ public static function printCheck($checkPassed, \_HumbugBox5b963fb2bb9ba\KevinGH
$errorMessages = array();
foreach ($requirements->getRequirements() as $requirement) {
if ($errorMessage = $printer->getRequirementErrorMessage($requirement)) {
if (\_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG === $printer->getVerbosity()) {
$printer->printvln('' . $requirement->getTestMessage(), \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG, 'red');
$printer->printv(' ', \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG);
if (\_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG === $printer->getVerbosity()) {
$printer->printvln('' . $requirement->getTestMessage(), \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG, 'red');
$printer->printv(' ', \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG);
$errorMessages[] = $errorMessage;
} else {
$printer->printv('E', $verbosity, 'red');
$errorMessages[] = $errorMessage;
}
continue;
}
if (\_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG === $printer->getVerbosity()) {
$printer->printvln('' . $requirement->getHelpText(), \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG, 'green');
$printer->printv(' ', \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG);
if (\_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG === $printer->getVerbosity()) {
$printer->printvln('' . $requirement->getHelpText(), \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG, 'green');
$printer->printv(' ', \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG);
} else {
$printer->printv('.', $verbosity, 'green');
}
}
if (\_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG !== $printer->getVerbosity() && \count($requirements) > 0) {
if (\_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IO::VERBOSITY_DEBUG !== $printer->getVerbosity() && \count($requirements) > 0) {
$printer->printvln('', $verbosity);
}
if ($requirements->evaluateRequirements()) {
Expand All @@ -88,10 +88,12 @@ private static function retrieveRequirements()
if (null === self::$requirementsConfig) {
self::$requirementsConfig = __DIR__ . '/../.requirements.php';
}
/**
@var */
$config = (require self::$requirementsConfig);
$requirements = new \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\RequirementCollection();
$requirements = new \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\RequirementCollection();
foreach ($config as $constraint) {
$requirements->addRequirement('php' === $constraint['type'] ? new \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IsPhpVersionFulfilled($constraint['condition']) : new \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IsExtensionFulfilled($constraint['condition']), $constraint['message'], $constraint['helpMessage']);
$requirements->addRequirement('php' === $constraint['type'] ? new \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IsPhpVersionFulfilled($constraint['condition']) : new \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IsExtensionFulfilled($constraint['condition']), $constraint['message'], $constraint['helpMessage']);
}
return $requirements;
}
Expand Down
4 changes: 2 additions & 2 deletions .requirement-checker/src/IO.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace _HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker;
namespace _HumbugBoxaadb73f2427d\KevinGH\RequirementChecker;

/**
@private
Expand Down Expand Up @@ -132,7 +132,7 @@ private function checkColorSupport()
return \false;
}
if (\DIRECTORY_SEPARATOR === '\\') {
return \function_exists('_HumbugBox5b963fb2bb9ba\\sapi_windows_vt100_support') && sapi_windows_vt100_support(\STDOUT) || \false !== \getenv('ANSICON') || 'ON' === \getenv('ConEmuANSI') || 'xterm' === \getenv('TERM');
return \function_exists('_HumbugBoxaadb73f2427d\\sapi_windows_vt100_support') && sapi_windows_vt100_support(\STDOUT) || \false !== \getenv('ANSICON') || 'ON' === \getenv('ConEmuANSI') || 'xterm' === \getenv('TERM');
}
if (\function_exists('stream_isatty')) {
return \stream_isatty(\STDOUT);
Expand Down
4 changes: 2 additions & 2 deletions .requirement-checker/src/IsExtensionFulfilled.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace _HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker;
namespace _HumbugBoxaadb73f2427d\KevinGH\RequirementChecker;

/**
@private
*/
final class IsExtensionFulfilled implements \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IsFulfilled
final class IsExtensionFulfilled implements \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IsFulfilled
{
private $requiredExtension;
/**
Expand Down
2 changes: 1 addition & 1 deletion .requirement-checker/src/IsFulfilled.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace _HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker;
namespace _HumbugBoxaadb73f2427d\KevinGH\RequirementChecker;

/**
@private
Expand Down
8 changes: 4 additions & 4 deletions .requirement-checker/src/IsPhpVersionFulfilled.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

namespace _HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker;
namespace _HumbugBoxaadb73f2427d\KevinGH\RequirementChecker;

use _HumbugBox5b963fb2bb9ba\Composer\Semver\Semver;
use _HumbugBoxaadb73f2427d\Composer\Semver\Semver;
/**
@private
*/
final class IsPhpVersionFulfilled implements \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\IsFulfilled
final class IsPhpVersionFulfilled implements \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\IsFulfilled
{
private $requiredPhpVersion;
/**
Expand All @@ -18,6 +18,6 @@ public function __construct($requiredPhpVersion)
}
public function __invoke()
{
return \_HumbugBox5b963fb2bb9ba\Composer\Semver\Semver::satisfies(\sprintf('%d.%d.%d', \PHP_MAJOR_VERSION, \PHP_MINOR_VERSION, \PHP_RELEASE_VERSION), $this->requiredPhpVersion);
return \_HumbugBoxaadb73f2427d\Composer\Semver\Semver::satisfies(\sprintf('%d.%d.%d', \PHP_MAJOR_VERSION, \PHP_MINOR_VERSION, \PHP_RELEASE_VERSION), $this->requiredPhpVersion);
}
}
6 changes: 3 additions & 3 deletions .requirement-checker/src/Printer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace _HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker;
namespace _HumbugBoxaadb73f2427d\KevinGH\RequirementChecker;

/**
@private
Expand All @@ -19,7 +19,7 @@ final class Printer
public function __construct($verbosity, $supportColors, $width = null)
{
if (null === $width) {
$terminal = new \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\Terminal();
$terminal = new \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\Terminal();
$width = \min($terminal->getWidth(), 80);
}
$this->verbosity = $verbosity;
Expand Down Expand Up @@ -59,7 +59,7 @@ public function title($title, $verbosity, $style = null)
@param
@return
*/
public function getRequirementErrorMessage(\_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\Requirement $requirement)
public function getRequirementErrorMessage(\_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\Requirement $requirement)
{
if ($requirement->isFulfilled()) {
return null;
Expand Down
5 changes: 4 additions & 1 deletion .requirement-checker/src/Requirement.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace _HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker;
namespace _HumbugBoxaadb73f2427d\KevinGH\RequirementChecker;

/**
@private
Expand All @@ -24,6 +24,9 @@ public function __construct($checkIsFulfilled, $testMessage, $helpText)
$this->testMessage = $testMessage;
$this->helpText = $helpText;
}
/**
@return
*/
public function isFulfilled()
{
if (null === $this->fulfilled) {
Expand Down
8 changes: 4 additions & 4 deletions .requirement-checker/src/RequirementCollection.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace _HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker;
namespace _HumbugBoxaadb73f2427d\KevinGH\RequirementChecker;

use ArrayIterator;
use Countable;
Expand Down Expand Up @@ -31,7 +31,7 @@ public function count()
/**
@param
*/
public function add(\_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\Requirement $requirement)
public function add(\_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\Requirement $requirement)
{
$this->requirements[] = $requirement;
}
Expand All @@ -42,7 +42,7 @@ public function add(\_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\Requirem
*/
public function addRequirement($checkIsFulfilled, $testMessage, $helpText)
{
$this->add(new \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\Requirement($checkIsFulfilled, $testMessage, $helpText));
$this->add(new \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\Requirement($checkIsFulfilled, $testMessage, $helpText));
}
/**
@return
Expand Down Expand Up @@ -70,7 +70,7 @@ public function evaluateRequirements()
@param
@return
*/
function ($checkPassed, \_HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker\Requirement $requirement) {
function ($checkPassed, \_HumbugBoxaadb73f2427d\KevinGH\RequirementChecker\Requirement $requirement) {
return $checkPassed && $requirement->isFulfilled();
},
\true
Expand Down
2 changes: 1 addition & 1 deletion .requirement-checker/src/Terminal.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace _HumbugBox5b963fb2bb9ba\KevinGH\RequirementChecker;
namespace _HumbugBoxaadb73f2427d\KevinGH\RequirementChecker;

/**
@license
Expand Down
8 changes: 4 additions & 4 deletions .requirement-checker/vendor/autoload.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

// @generated by Humbug Box

// autoload.php @generated by Composer

require_once __DIR__ . '/composer/autoload_real.php';

$loader = ComposerAutoloaderInit049279a73ec758640197b035b4bb6323::getLoader();

// Whitelist statements @generated by PHP-Scoper
$loader = ComposerAutoloaderInit8a3c584ef303b8fee65e2622afd48e49::getLoader();

// Aliases for the whitelisted classes. For more information see:
// https://github.com/humbug/php-scoper/blob/master/README.md#class-whitelisting
class_exists('_HumbugBox5b963fb2bb9ba\Composer\Semver\Semver');
class_exists('_HumbugBoxaadb73f2427d\Composer\Semver\Semver');

return $loader;
34 changes: 17 additions & 17 deletions .requirement-checker/vendor/composer/autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
$baseDir = dirname($vendorDir);

return array(
'_HumbugBox5b963fb2bb9ba\\Composer\\Semver\\Comparator' => $vendorDir . '/composer/semver/src/Comparator.php',
'_HumbugBox5b963fb2bb9ba\\Composer\\Semver\\Constraint\\AbstractConstraint' => $vendorDir . '/composer/semver/src/Constraint/AbstractConstraint.php',
'_HumbugBox5b963fb2bb9ba\\Composer\\Semver\\Constraint\\Constraint' => $vendorDir . '/composer/semver/src/Constraint/Constraint.php',
'_HumbugBox5b963fb2bb9ba\\Composer\\Semver\\Constraint\\ConstraintInterface' => $vendorDir . '/composer/semver/src/Constraint/ConstraintInterface.php',
'_HumbugBox5b963fb2bb9ba\\Composer\\Semver\\Constraint\\EmptyConstraint' => $vendorDir . '/composer/semver/src/Constraint/EmptyConstraint.php',
'_HumbugBox5b963fb2bb9ba\\Composer\\Semver\\Constraint\\MultiConstraint' => $vendorDir . '/composer/semver/src/Constraint/MultiConstraint.php',
'_HumbugBox5b963fb2bb9ba\\Composer\\Semver\\Semver' => $vendorDir . '/composer/semver/src/Semver.php',
'_HumbugBox5b963fb2bb9ba\\Composer\\Semver\\VersionParser' => $vendorDir . '/composer/semver/src/VersionParser.php',
'_HumbugBox5b963fb2bb9ba\\KevinGH\\RequirementChecker\\Checker' => $baseDir . '/src/Checker.php',
'_HumbugBox5b963fb2bb9ba\\KevinGH\\RequirementChecker\\IO' => $baseDir . '/src/IO.php',
'_HumbugBox5b963fb2bb9ba\\KevinGH\\RequirementChecker\\IsExtensionFulfilled' => $baseDir . '/src/IsExtensionFulfilled.php',
'_HumbugBox5b963fb2bb9ba\\KevinGH\\RequirementChecker\\IsFulfilled' => $baseDir . '/src/IsFulfilled.php',
'_HumbugBox5b963fb2bb9ba\\KevinGH\\RequirementChecker\\IsPhpVersionFulfilled' => $baseDir . '/src/IsPhpVersionFulfilled.php',
'_HumbugBox5b963fb2bb9ba\\KevinGH\\RequirementChecker\\Printer' => $baseDir . '/src/Printer.php',
'_HumbugBox5b963fb2bb9ba\\KevinGH\\RequirementChecker\\Requirement' => $baseDir . '/src/Requirement.php',
'_HumbugBox5b963fb2bb9ba\\KevinGH\\RequirementChecker\\RequirementCollection' => $baseDir . '/src/RequirementCollection.php',
'_HumbugBox5b963fb2bb9ba\\KevinGH\\RequirementChecker\\Terminal' => $baseDir . '/src/Terminal.php',
'_HumbugBoxaadb73f2427d\\Composer\\Semver\\Comparator' => $vendorDir . '/composer/semver/src/Comparator.php',
'_HumbugBoxaadb73f2427d\\Composer\\Semver\\Constraint\\AbstractConstraint' => $vendorDir . '/composer/semver/src/Constraint/AbstractConstraint.php',
'_HumbugBoxaadb73f2427d\\Composer\\Semver\\Constraint\\Constraint' => $vendorDir . '/composer/semver/src/Constraint/Constraint.php',
'_HumbugBoxaadb73f2427d\\Composer\\Semver\\Constraint\\ConstraintInterface' => $vendorDir . '/composer/semver/src/Constraint/ConstraintInterface.php',
'_HumbugBoxaadb73f2427d\\Composer\\Semver\\Constraint\\EmptyConstraint' => $vendorDir . '/composer/semver/src/Constraint/EmptyConstraint.php',
'_HumbugBoxaadb73f2427d\\Composer\\Semver\\Constraint\\MultiConstraint' => $vendorDir . '/composer/semver/src/Constraint/MultiConstraint.php',
'_HumbugBoxaadb73f2427d\\Composer\\Semver\\Semver' => $vendorDir . '/composer/semver/src/Semver.php',
'_HumbugBoxaadb73f2427d\\Composer\\Semver\\VersionParser' => $vendorDir . '/composer/semver/src/VersionParser.php',
'_HumbugBoxaadb73f2427d\\KevinGH\\RequirementChecker\\Checker' => $baseDir . '/src/Checker.php',
'_HumbugBoxaadb73f2427d\\KevinGH\\RequirementChecker\\IO' => $baseDir . '/src/IO.php',
'_HumbugBoxaadb73f2427d\\KevinGH\\RequirementChecker\\IsExtensionFulfilled' => $baseDir . '/src/IsExtensionFulfilled.php',
'_HumbugBoxaadb73f2427d\\KevinGH\\RequirementChecker\\IsFulfilled' => $baseDir . '/src/IsFulfilled.php',
'_HumbugBoxaadb73f2427d\\KevinGH\\RequirementChecker\\IsPhpVersionFulfilled' => $baseDir . '/src/IsPhpVersionFulfilled.php',
'_HumbugBoxaadb73f2427d\\KevinGH\\RequirementChecker\\Printer' => $baseDir . '/src/Printer.php',
'_HumbugBoxaadb73f2427d\\KevinGH\\RequirementChecker\\Requirement' => $baseDir . '/src/Requirement.php',
'_HumbugBoxaadb73f2427d\\KevinGH\\RequirementChecker\\RequirementCollection' => $baseDir . '/src/RequirementCollection.php',
'_HumbugBoxaadb73f2427d\\KevinGH\\RequirementChecker\\Terminal' => $baseDir . '/src/Terminal.php',
);
4 changes: 2 additions & 2 deletions .requirement-checker/vendor/composer/autoload_psr4.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
$baseDir = dirname($vendorDir);

return array(
'_HumbugBox5b963fb2bb9ba\\KevinGH\\RequirementChecker\\' => array($baseDir . '/src'),
'_HumbugBox5b963fb2bb9ba\\Composer\\Semver\\' => array($vendorDir . '/composer/semver/src'),
'_HumbugBoxaadb73f2427d\\KevinGH\\RequirementChecker\\' => array($baseDir . '/src'),
'_HumbugBoxaadb73f2427d\\Composer\\Semver\\' => array($vendorDir . '/composer/semver/src'),
);
8 changes: 4 additions & 4 deletions .requirement-checker/vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit049279a73ec758640197b035b4bb6323
class ComposerAutoloaderInit8a3c584ef303b8fee65e2622afd48e49
{
private static $loader;

Expand All @@ -19,15 +19,15 @@ public static function getLoader()
return self::$loader;
}

spl_autoload_register(array('ComposerAutoloaderInit049279a73ec758640197b035b4bb6323', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit8a3c584ef303b8fee65e2622afd48e49', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit049279a73ec758640197b035b4bb6323', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit8a3c584ef303b8fee65e2622afd48e49', 'loadClassLoader'));

$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';

call_user_func(\Composer\Autoload\ComposerStaticInit049279a73ec758640197b035b4bb6323::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit8a3c584ef303b8fee65e2622afd48e49::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
Expand Down
Loading

0 comments on commit 577bcc0

Please sign in to comment.