From 4b79ea735176ff8daa7bb1cf5fc9eff6faf4a74f Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 2 Dec 2024 15:35:10 +0100 Subject: [PATCH] deps(php-saml): apply PHP 8.4 compat patch Signed-off-by: Arthur Schiwon --- composer.json | 13 ++++++++++++- composer.lock | 50 +++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 61 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index eb900a88..7c215eea 100644 --- a/composer.json +++ b/composer.json @@ -5,6 +5,16 @@ "classmap-authoritative": true, "platform": { "php": "8.0" + }, + "allow-plugins": { + "cweagans/composer-patches": true + } + }, + "extra": { + "patches": { + "onelogin/php-saml": { + "PHP 8.4 compatibility": "https://patch-diff.githubusercontent.com/raw/SAML-Toolkits/php-saml/pull/600.patch" + } } }, "scripts": { @@ -22,6 +32,7 @@ }, "require": { "onelogin/php-saml": "^4.2", - "firebase/php-jwt": "^6.10" + "firebase/php-jwt": "^6.10", + "cweagans/composer-patches": "^1.7" } } diff --git a/composer.lock b/composer.lock index 041bfa55..0d35baf7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,56 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b7edd55bc9eb548ff4328ba8cf2e33ae", + "content-hash": "997e8977b4b70350e2cb94cac483387a", "packages": [ + { + "name": "cweagans/composer-patches", + "version": "1.7.3", + "source": { + "type": "git", + "url": "https://github.com/cweagans/composer-patches.git", + "reference": "e190d4466fe2b103a55467dfa83fc2fecfcaf2db" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cweagans/composer-patches/zipball/e190d4466fe2b103a55467dfa83fc2fecfcaf2db", + "reference": "e190d4466fe2b103a55467dfa83fc2fecfcaf2db", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0", + "php": ">=5.3.0" + }, + "require-dev": { + "composer/composer": "~1.0 || ~2.0", + "phpunit/phpunit": "~4.6" + }, + "type": "composer-plugin", + "extra": { + "class": "cweagans\\Composer\\Patches" + }, + "autoload": { + "psr-4": { + "cweagans\\Composer\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Cameron Eagans", + "email": "me@cweagans.net" + } + ], + "description": "Provides a way to patch Composer packages.", + "support": { + "issues": "https://github.com/cweagans/composer-patches/issues", + "source": "https://github.com/cweagans/composer-patches/tree/1.7.3" + }, + "time": "2022-12-20T22:53:13+00:00" + }, { "name": "firebase/php-jwt", "version": "v6.10.2",