From 7d9cd01a1155318046edeffe5860722c2883adaf Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos <1697880+AngelFQC@users.noreply.github.com> Date: Tue, 17 Dec 2024 16:17:20 -0500 Subject: [PATCH 1/3] Vendor: Remove brumann/polyfill-unserialize > In case you are using PHP 7.0+ the original unserialize() will be used instead. --- composer.json | 1 - main/inc/lib/UnserializeApi.php | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 48d1ef75ee1..f72148038ec 100755 --- a/composer.json +++ b/composer.json @@ -48,7 +48,6 @@ "ext-zlib": "*", "angelfqc/vimeo-api": "2.0.6", "apereo/phpcas": "^1.6", - "brumann/polyfill-unserialize": "^1.0", "chamilo/pclzip": "~2.8", "clue/graph": "~0.9.0", "culqi/culqi-php": "1.3.4", diff --git a/main/inc/lib/UnserializeApi.php b/main/inc/lib/UnserializeApi.php index 14244c9aeef..6a87789b994 100644 --- a/main/inc/lib/UnserializeApi.php +++ b/main/inc/lib/UnserializeApi.php @@ -1,8 +1,6 @@ $allowedClasses] ); } - return Unserialize::unserialize( + return unserialize( $serialized, ['allowed_classes' => $allowedClasses] ); From 9c9641d9594be0df4872a71adc546676c283f32d Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos <1697880+AngelFQC@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:30:52 -0500 Subject: [PATCH 2/3] Vendor: Change repositories for xapi/client and xapi/repository-api --- composer.json | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f72148038ec..4a9623ea6ee 100755 --- a/composer.json +++ b/composer.json @@ -86,12 +86,13 @@ "onelogin/php-saml": "^3.0", "paragonie/random-lib": "2.0.0", "patchwork/utf8": "~1.2", - "php-ffmpeg/php-ffmpeg": "0.5.1", + "php-ffmpeg/php-ffmpeg": "^0.5.1", "php-http/guzzle6-adapter": "^2.0", "php-xapi/client": "0.7.x-dev", + "php-xapi/model": "dev-master as v3.1.0", "php-xapi/repository-api": "dev-master as 0.3.1", "php-xapi/repository-doctrine": "dev-master", - "php-xapi/symfony-serializer": "2.1.0 as 2.0", + "php-xapi/symfony-serializer": "dev-master as 2.0", "phpmailer/phpmailer": "~6.1", "phpoffice/phpexcel": "~1.8", "phpoffice/phpword": "~0.14", @@ -188,6 +189,16 @@ "type": "github", "url": "https://github.com/AngelFQC/xapi-symfony-serializer.git", "no-api": true + }, + { + "type": "github", + "url": "https://github.com/AngelFQC/xapi-client.git", + "no-api": true + }, + { + "type": "github", + "url": "https://github.com/AngelFQC/xapi-repository-api.git", + "no-api": true }, { "type": "github", From a0e0b96a60919d035fd4dffb89af5952a4484208 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos <1697880+AngelFQC@users.noreply.github.com> Date: Tue, 17 Dec 2024 18:03:26 -0500 Subject: [PATCH 3/3] Vendor: Remove zend-config, zend-feed, zend-http, zend-soap from zendframework --- composer.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 4a9623ea6ee..579026656eb 100755 --- a/composer.json +++ b/composer.json @@ -122,11 +122,7 @@ "twig/twig": "1.*", "webit/eval-math": "1.0.1", "yuloh/bccomp-polyfill": "dev-master", - "packbackbooks/lti-1p3-tool": "1.1.1.x-dev", - "zendframework/zend-config": "~3.0", - "zendframework/zend-feed": "~2.6|^3.0", - "zendframework/zend-http": "~2.6|^3.0", - "zendframework/zend-soap": "~2.6|^3.0" + "packbackbooks/lti-1p3-tool": "1.1.1.x-dev" }, "require-dev": { "behat/behat": "~3.5",