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" : { "require" : {
"php" : "^5.6.0 || ^7.0 || ^8.0", "php" : "^5.6.0 || ^7.0 || ^8.0",
"paragonie/random_compat" : "2.0.18", "paragonie/random_compat" : "<9.99",
"yzalis/identicon" : "2.0.0" "yzalis/identicon" : "^2.0.0"
}, },
"require-dev" : { "require-dev" : {
"phpunit/phpunit" : "^4.6 || ^5.0" "phpunit/phpunit" : "^4.6 || ^5 || ^9"
}, },
"autoload" : { "autoload" : {
"psr-4" : { "psr-4" : {

1518
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) 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;
} }
/** /**

View File

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