From 96f7adb48db801eed43be1746ccb882356651db1 Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> Date: Fri, 19 Dec 2025 11:14:16 +0700 Subject: [PATCH 1/3] refactor: remove `ignore-platform-req` --- .github/workflows/test-phpunit.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test-phpunit.yml b/.github/workflows/test-phpunit.yml index b9a8666cbcb4..38f432c4b796 100644 --- a/.github/workflows/test-phpunit.yml +++ b/.github/workflows/test-phpunit.yml @@ -59,9 +59,7 @@ jobs: - '8.2' - '8.3' - '8.4' - include: - - php-version: '8.5' - composer-option: '--ignore-platform-req=php' + - '8.5' uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo with: @@ -101,8 +99,6 @@ jobs: - php-version: '8.2' db-platform: MySQLi mysql-version: '5.7' - - php-version: '8.5' - composer-option: '--ignore-platform-req=php' uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo with: @@ -130,9 +126,7 @@ jobs: - '8.2' - '8.3' - '8.4' - include: - - php-version: '8.5' - composer-option: '--ignore-platform-req=php' + - '8.5' uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo with: @@ -158,9 +152,7 @@ jobs: - '8.2' - '8.3' - '8.4' - include: - - php-version: '8.5' - composer-option: '--ignore-platform-req=php' + - '8.5' uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo with: From 9b1ac49a27b2cfe6f4ed1ff5072e8b64deca7fa1 Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> Date: Fri, 19 Dec 2025 11:16:06 +0700 Subject: [PATCH 2/3] Remove ignore-platform-req=php from composer update --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 2c71f8e640e9..31eafceefbc8 100644 --- a/composer.json +++ b/composer.json @@ -92,7 +92,7 @@ ], "post-autoload-dump": [ "@php -r \"if (PHP_VERSION_ID >= 80500) { echo '@todo Remove \"--ignore-platform-req=php\" once deps catch up.', PHP_EOL; }\"", - "@composer update --ansi --working-dir=utils --ignore-platform-req=php" + "@composer update --ansi --working-dir=utils" ], "analyze": [ "Composer\\Config::disableProcessTimeout", From 81c6c4028892b941197871c0b79c025849183a7c Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> Date: Fri, 19 Dec 2025 11:27:03 +0700 Subject: [PATCH 3/3] Remove PHP version check from composer.json Removed a PHP version check from post-autoload-dump command. --- composer.json | 1 - 1 file changed, 1 deletion(-) diff --git a/composer.json b/composer.json index 31eafceefbc8..22a86d7664a9 100644 --- a/composer.json +++ b/composer.json @@ -91,7 +91,6 @@ "CodeIgniter\\ComposerScripts::postUpdate" ], "post-autoload-dump": [ - "@php -r \"if (PHP_VERSION_ID >= 80500) { echo '@todo Remove \"--ignore-platform-req=php\" once deps catch up.', PHP_EOL; }\"", "@composer update --ansi --working-dir=utils" ], "analyze": [