From 629969b57d3ec479d1762b1571ebcb728b84c707 Mon Sep 17 00:00:00 2001 From: Arif Hoque Date: Thu, 29 Jan 2026 10:45:16 +0600 Subject: [PATCH 1/8] github action tests.yml updated --- .github/workflows/tests.yml | 40 ++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 17b254d5..7691a8d7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,14 +31,22 @@ jobs: strategy: fail-fast: true matrix: - php: [8.3, 8.4] - phpunit: ['12.0.0', '12.1.5'] - stability: [prefer-lowest, prefer-stable] - exclude: + include: + # Prefer-stable with PHPUnit 12 - php: 8.3 - phpunit: '12.0.0' + phpunit: '12.1.5' + stability: prefer-stable - php: 8.4 - phpunit: '12.0.0' + phpunit: '12.1.5' + stability: prefer-stable + + # Prefer-lowest with PHPUnit 11 + - php: 8.3 + phpunit: '11.5.0' + stability: prefer-lowest + - php: 8.4 + phpunit: '11.5.0' + stability: prefer-lowest name: PHP ${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - ${{ matrix.stability }} @@ -89,14 +97,22 @@ jobs: strategy: fail-fast: true matrix: - php: [8.3, 8.4] - phpunit: ['12.0.0', '12.1.5'] - stability: [prefer-lowest, prefer-stable] - exclude: + include: + # Prefer-stable with PHPUnit 12 + - php: 8.3 + phpunit: '12.1.5' + stability: prefer-stable + - php: 8.4 + phpunit: '12.1.5' + stability: prefer-stable + + # Prefer-lowest with PHPUnit 11 - php: 8.3 - phpunit: '12.0.0' + phpunit: '11.5.0' + stability: prefer-lowest - php: 8.4 - phpunit: '12.0.0' + phpunit: '11.5.0' + stability: prefer-lowest name: PHP ${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - ${{ matrix.stability }} - Windows From 095687e940d9ad3a5b9f4d5244e105859c37dc26 Mon Sep 17 00:00:00 2001 From: Arif Hoque Date: Thu, 29 Jan 2026 10:51:16 +0600 Subject: [PATCH 2/8] github action tests.yml updated --- .github/workflows/tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7691a8d7..ff7a9659 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,10 +42,10 @@ jobs: # Prefer-lowest with PHPUnit 11 - php: 8.3 - phpunit: '11.5.0' + phpunit: '12.0.0' stability: prefer-lowest - php: 8.4 - phpunit: '11.5.0' + phpunit: '12.0.0' stability: prefer-lowest name: PHP ${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - ${{ matrix.stability }} @@ -108,10 +108,10 @@ jobs: # Prefer-lowest with PHPUnit 11 - php: 8.3 - phpunit: '11.5.0' + phpunit: '12.0.0' stability: prefer-lowest - php: 8.4 - phpunit: '11.5.0' + phpunit: '12.0.0' stability: prefer-lowest name: PHP ${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - ${{ matrix.stability }} - Windows From cff07d7e3b78d51d701073943564241e68c666d7 Mon Sep 17 00:00:00 2001 From: Arif Hoque Date: Thu, 29 Jan 2026 10:53:35 +0600 Subject: [PATCH 3/8] move to previous state --- .github/workflows/tests.yml | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ff7a9659..17b254d5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,22 +31,14 @@ jobs: strategy: fail-fast: true matrix: - include: - # Prefer-stable with PHPUnit 12 - - php: 8.3 - phpunit: '12.1.5' - stability: prefer-stable - - php: 8.4 - phpunit: '12.1.5' - stability: prefer-stable - - # Prefer-lowest with PHPUnit 11 + php: [8.3, 8.4] + phpunit: ['12.0.0', '12.1.5'] + stability: [prefer-lowest, prefer-stable] + exclude: - php: 8.3 phpunit: '12.0.0' - stability: prefer-lowest - php: 8.4 phpunit: '12.0.0' - stability: prefer-lowest name: PHP ${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - ${{ matrix.stability }} @@ -97,22 +89,14 @@ jobs: strategy: fail-fast: true matrix: - include: - # Prefer-stable with PHPUnit 12 - - php: 8.3 - phpunit: '12.1.5' - stability: prefer-stable - - php: 8.4 - phpunit: '12.1.5' - stability: prefer-stable - - # Prefer-lowest with PHPUnit 11 + php: [8.3, 8.4] + phpunit: ['12.0.0', '12.1.5'] + stability: [prefer-lowest, prefer-stable] + exclude: - php: 8.3 phpunit: '12.0.0' - stability: prefer-lowest - php: 8.4 phpunit: '12.0.0' - stability: prefer-lowest name: PHP ${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - ${{ matrix.stability }} - Windows From 30ee02976235011569c6c54a33510038a59f4232 Mon Sep 17 00:00:00 2001 From: Arif Hoque Date: Thu, 29 Jan 2026 11:06:55 +0600 Subject: [PATCH 4/8] added --no-audit to composer update command --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 17b254d5..cdee9bd2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -66,7 +66,7 @@ jobs: with: timeout_minutes: 5 max_attempts: 5 - command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --with="phpunit/phpunit:~${{ matrix.phpunit }}" + command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --no-audit --with="phpunit/phpunit:~${{ matrix.phpunit }}" - name: Execute tests run: vendor/bin/phpunit --display-deprecation ${{ matrix.stability == 'prefer-stable' && '--fail-on-deprecation' || '' }} @@ -125,7 +125,7 @@ jobs: with: timeout_minutes: 5 max_attempts: 5 - command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --with="phpunit/phpunit:~${{ matrix.phpunit }}" + command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --no-audit --with="phpunit/phpunit:~${{ matrix.phpunit }}" - name: Execute tests run: vendor/bin/phpunit From 94b96fd8c195ce1ac53262bc9e462d0a13cd0008 Mon Sep 17 00:00:00 2001 From: Arif Hoque Date: Thu, 29 Jan 2026 11:26:22 +0600 Subject: [PATCH 5/8] added --no-audit to composer update command --- .github/workflows/tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cdee9bd2..3aed1bf4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,6 +61,9 @@ jobs: - name: Set Framework version run: composer config version "2.x-dev" + - name: Disable Composer security blocking + run: composer config audit.block-insecure false + - name: Install dependencies uses: nick-fields/retry@v3 with: @@ -120,6 +123,9 @@ jobs: - name: Set Framework version run: composer config version "2.x-dev" + - name: Disable Composer security blocking + run: composer config audit.block-insecure false + - name: Install dependencies uses: nick-fields/retry@v3 with: From a8dba620d74bbacfe31f191d5167194f9f1e1330 Mon Sep 17 00:00:00 2001 From: Arif Hoque Date: Thu, 29 Jan 2026 11:30:06 +0600 Subject: [PATCH 6/8] added --no-audit to composer update command --- .github/workflows/tests.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3aed1bf4..44d65fb6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,7 +32,7 @@ jobs: fail-fast: true matrix: php: [8.3, 8.4] - phpunit: ['12.0.0', '12.1.5'] + phpunit: ['12.1.5', '12.5.0'] stability: [prefer-lowest, prefer-stable] exclude: - php: 8.3 @@ -61,15 +61,12 @@ jobs: - name: Set Framework version run: composer config version "2.x-dev" - - name: Disable Composer security blocking - run: composer config audit.block-insecure false - - name: Install dependencies uses: nick-fields/retry@v3 with: timeout_minutes: 5 max_attempts: 5 - command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --no-audit --with="phpunit/phpunit:~${{ matrix.phpunit }}" + command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --with="phpunit/phpunit:~${{ matrix.phpunit }}" - name: Execute tests run: vendor/bin/phpunit --display-deprecation ${{ matrix.stability == 'prefer-stable' && '--fail-on-deprecation' || '' }} @@ -93,7 +90,7 @@ jobs: fail-fast: true matrix: php: [8.3, 8.4] - phpunit: ['12.0.0', '12.1.5'] + phpunit: ['12.1.5', '12.5.0'] stability: [prefer-lowest, prefer-stable] exclude: - php: 8.3 @@ -123,15 +120,12 @@ jobs: - name: Set Framework version run: composer config version "2.x-dev" - - name: Disable Composer security blocking - run: composer config audit.block-insecure false - - name: Install dependencies uses: nick-fields/retry@v3 with: timeout_minutes: 5 max_attempts: 5 - command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --no-audit --with="phpunit/phpunit:~${{ matrix.phpunit }}" + command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --with="phpunit/phpunit:~${{ matrix.phpunit }}" - name: Execute tests run: vendor/bin/phpunit From 18c2aa4e254c706edda10520b41535b466e1fec3 Mon Sep 17 00:00:00 2001 From: Arif Hoque Date: Thu, 29 Jan 2026 11:32:57 +0600 Subject: [PATCH 7/8] unit test version update to 12.5 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d499b831..6664c67f 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ }, "require-dev": { "mockery/mockery": "^1.6", - "phpunit/phpunit": "^12.1.5" + "phpunit/phpunit": "^12.5" }, "autoload": { "psr-4": { From b08ccb001997a84e4bad698bcd15f4af6f851737 Mon Sep 17 00:00:00 2001 From: Arif Hoque Date: Thu, 29 Jan 2026 11:36:05 +0600 Subject: [PATCH 8/8] unit test version update to 12.5 --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 44d65fb6..cdb405a8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,7 +32,7 @@ jobs: fail-fast: true matrix: php: [8.3, 8.4] - phpunit: ['12.1.5', '12.5.0'] + phpunit: ['12.5.0', '12.5.8'] stability: [prefer-lowest, prefer-stable] exclude: - php: 8.3 @@ -90,7 +90,7 @@ jobs: fail-fast: true matrix: php: [8.3, 8.4] - phpunit: ['12.1.5', '12.5.0'] + phpunit: ['12.5.0', '12.5.8'] stability: [prefer-lowest, prefer-stable] exclude: - php: 8.3