Explorar o código

update composer dependencies - test phpunit 9

El RIDO %!s(int64=5) %!d(string=hai) anos
pai
achega
99f50f6de3
Modificáronse 4 ficheiros con 449 adicións e 213 borrados
  1. 3 3
      composer.json
  2. 441 208
      composer.lock
  3. 2 2
      vendor/composer/ClassLoader.php
  4. 3 0
      vendor/composer/autoload_real.php

+ 3 - 3
composer.json

@@ -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",
-		"yzalis/identicon" : "2.0.0"
+		"paragonie/random_compat" : "<9.99",
+		"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" : {

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 441 - 208
composer.lock


+ 2 - 2
vendor/composer/ClassLoader.php

@@ -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;
     }
     }
 
 
     /**
     /**
@@ -377,7 +377,7 @@ class ClassLoader
             $subPath = $class;
             $subPath = $class;
             while (false !== $lastPos = strrpos($subPath, '\\')) {
             while (false !== $lastPos = strrpos($subPath, '\\')) {
                 $subPath = substr($subPath, 0, $lastPos);
                 $subPath = substr($subPath, 0, $lastPos);
-                $search = $subPath.'\\';
+                $search = $subPath . '\\';
                 if (isset($this->prefixDirsPsr4[$search])) {
                 if (isset($this->prefixDirsPsr4[$search])) {
                     $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
                     $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
                     foreach ($this->prefixDirsPsr4[$search] as $dir) {
                     foreach ($this->prefixDirsPsr4[$search] as $dir) {

+ 3 - 0
vendor/composer/autoload_real.php

@@ -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) {

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio