update composer dependencies - test phpunit 9

This commit is contained in:
El RIDO 2020-10-10 11:50:48 +02:00
parent 50f81e1d2e
commit 99f50f6de3
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
4 changed files with 1053 additions and 480 deletions

View File

@ -25,11 +25,11 @@
},
"require" : {
"php" : "^5.6.0 || ^7.0 || ^8.0",
"paragonie/random_compat" : "2.0.18",
"yzalis/identicon" : "2.0.0"
"paragonie/random_compat" : "<9.99",
"yzalis/identicon" : "^2.0.0"
},
"require-dev" : {
"phpunit/phpunit" : "^4.6 || ^5.0"
"phpunit/phpunit" : "^4.6 || ^5 || ^9"
},
"autoload" : {
"psr-4" : {

1520
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -279,7 +279,7 @@ class ClassLoader
*/
public function setApcuPrefix($apcuPrefix)
{
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
}
/**
@ -377,7 +377,7 @@ class ClassLoader
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
foreach ($this->prefixDirsPsr4[$search] as $dir) {

View File

@ -13,6 +13,9 @@ class ComposerAutoloaderInitDontChange
}
}
/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {