From d508a0cb86c9f79b6ab509eccca1ce1c90ec0254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Fri, 28 Aug 2026 17:46:26 +0200 Subject: [PATCH] build(ci): require ext-oci8 in composer.json and add ignore-platform-req in GitLab CI --- .gitlab-ci.yml | 4 ++-- composer.json | 1 + composer.lock | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9129a84..c78a13f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,7 +41,7 @@ include: before_script: - apk add --no-cache icu-dev && docker-php-ext-install bcmath intl - composer config gitlab-token.lab.s-web.fr "${CI_DEPLOY_USER}" "${CI_DEPLOY_PASSWORD}" - - composer install --no-interaction --optimize-autoloader --no-scripts + - composer install --no-interaction --optimize-autoloader --no-scripts --ignore-platform-req=ext-oci8 rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_COMMIT_BRANCH == "develop" @@ -111,7 +111,7 @@ tests_laravel: before_script: - apk add --no-cache $PHPIZE_DEPS linux-headers icu-dev && docker-php-ext-install bcmath intl && pecl install pcov && docker-php-ext-enable pcov - composer config gitlab-token.lab.s-web.fr "${CI_DEPLOY_USER}" "${CI_DEPLOY_PASSWORD}" - - composer install --no-interaction --prefer-dist --optimize-autoloader --no-scripts + - composer install --no-interaction --prefer-dist --optimize-autoloader --no-scripts --ignore-platform-req=ext-oci8 script: - cp .env.testing .env - php artisan key:generate diff --git a/composer.json b/composer.json index 2dde1f3..a4ccc36 100644 --- a/composer.json +++ b/composer.json @@ -9,6 +9,7 @@ "ext-bcmath": "*", "ext-intl": "*", "ext-mbstring": "*", + "ext-oci8": "*", "laravel/framework": "^13.24", "laravel/sanctum": "^4.0", "psr/clock": "^1.0", diff --git a/composer.lock b/composer.lock index 81e8c20..7120240 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f4587f38615f44811e032521737f785a", + "content-hash": "be8373b5ec01af6a0375ffef89d984b6", "packages": [ { "name": "brick/math", @@ -11843,7 +11843,8 @@ "php": "^8.5", "ext-bcmath": "*", "ext-intl": "*", - "ext-mbstring": "*" + "ext-mbstring": "*", + "ext-oci8": "*" }, "platform-dev": {}, "plugin-api-version": "2.9.0"