From 82184f0284dbfbedc0074a97c66408e95a687452 Mon Sep 17 00:00:00 2001 From: Marco Rieser Date: Fri, 20 Mar 2026 10:48:25 +0100 Subject: [PATCH 01/13] Expand `illuminate/support` dependency to include version ^13.0 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 45f439a..83db3cf 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ ], "require": { "php": "^8.2", - "illuminate/support": "^11.0 || ^12.0", + "illuminate/support": "^11.0 || ^12.0 || ^13.0", "laravel/prompts": "^0.1.17 || ^0.2.0 || ^0.3.0" }, "require-dev": { From 42ffb5d88a6ffc90d4d4203b3e5590aa4f827ba0 Mon Sep 17 00:00:00 2001 From: Marco Rieser Date: Fri, 20 Mar 2026 10:52:39 +0100 Subject: [PATCH 02/13] Update test matrix to include PHP 8.5 and Laravel 13.x --- .github/workflows/run-tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 87d66ba..84dd5aa 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -9,8 +9,8 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.4, 8.3, 8.2] - laravel: [11.*, 12.*] + php: [8.2, 8.3, 8.4, 8.5] + laravel: [11.*, 12.*, 13.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 11.* From 179bbdf6b6c83fc67854a242871cc711be6faabb Mon Sep 17 00:00:00 2001 From: Marco Rieser Date: Fri, 20 Mar 2026 10:54:07 +0100 Subject: [PATCH 03/13] Expand dev dependencies to support newer versions of `orchestra/testbench` and `phpunit/phpunit` --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 83db3cf..5a0b550 100644 --- a/composer.json +++ b/composer.json @@ -18,8 +18,8 @@ }, "require-dev": { "nunomaduro/collision": "^8.1", - "orchestra/testbench": "^9.0 || ^10.0", - "phpunit/phpunit": "^10.0 || ^11.0" + "orchestra/testbench": "^9.0 || ^10.0 || ^11.0", + "phpunit/phpunit": "^10.5|^11.0|^12.0" }, "autoload": { "psr-4": { From 76e21c2fd17b42d3bf72b4979f20a2b4224a3bc9 Mon Sep 17 00:00:00 2001 From: Marco Rieser Date: Fri, 20 Mar 2026 10:55:38 +0100 Subject: [PATCH 04/13] Update test matrix to include Laravel 13.x and Testbench 11.x --- .github/workflows/run-tests.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 84dd5aa..e8f06e2 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -17,6 +17,8 @@ jobs: testbench: 9.* - laravel: 12.* testbench: 10.* + - laravel: 13.* + testbench: 11.* name: PHP ${{ matrix.php }} – Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} From 4266d241c60bcf5196fd8a24dca485376185240c Mon Sep 17 00:00:00 2001 From: Marco Rieser Date: Fri, 20 Mar 2026 10:57:43 +0100 Subject: [PATCH 05/13] Refine test matrix: switch from `include` to `exclude`, remove `testbench` dependencies. --- .github/workflows/run-tests.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index e8f06e2..92f0f91 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -12,13 +12,11 @@ jobs: php: [8.2, 8.3, 8.4, 8.5] laravel: [11.*, 12.*, 13.*] stability: [prefer-lowest, prefer-stable] - include: + exclude: - laravel: 11.* - testbench: 9.* - - laravel: 12.* - testbench: 10.* + php: 8.5 - laravel: 13.* - testbench: 11.* + php: 8.2 name: PHP ${{ matrix.php }} – Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} @@ -35,7 +33,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Run tests From 1865f8d4e8767857ec668ed5d5a011e0db3f0980 Mon Sep 17 00:00:00 2001 From: Marco Rieser Date: Fri, 20 Mar 2026 10:59:06 +0100 Subject: [PATCH 06/13] Switch to PHP 8 Attributes for test annotations in ExampleTest --- tests/ExampleTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php index baa38e0..482708f 100644 --- a/tests/ExampleTest.php +++ b/tests/ExampleTest.php @@ -3,10 +3,11 @@ namespace Aerni\Sync\Tests; use Orchestra\Testbench\TestCase; +use PHPUnit\Framework\Attributes\Test; class ExampleTest extends TestCase { - /** @test */ + #[Test] public function true_is_true() { $this->assertTrue(true); From d5d6b39186c7278389975a7401a0730d5d109bbd Mon Sep 17 00:00:00 2001 From: Marco Rieser Date: Fri, 20 Mar 2026 11:02:50 +0100 Subject: [PATCH 07/13] Update `phpunit.xml` for PHPUnit 11.x compatibility and environment variable configuration adjustments --- phpunit.xml | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index 78049a5..978e7d5 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,14 +1,26 @@ - - - - - ./tests - - - - - ./src - - + + + + ./tests + + + + + + + + + + + + From 290fe7ac1c93be989574de4ffdb1b881c64d29d7 Mon Sep 17 00:00:00 2001 From: Marco Rieser Date: Fri, 20 Mar 2026 11:04:13 +0100 Subject: [PATCH 08/13] Simplify test matrix by removing `stability` dimension and corresponding composer update logic. --- .github/workflows/run-tests.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 92f0f91..ae41917 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -11,14 +11,13 @@ jobs: os: [ubuntu-latest] php: [8.2, 8.3, 8.4, 8.5] laravel: [11.*, 12.*, 13.*] - stability: [prefer-lowest, prefer-stable] exclude: - laravel: 11.* php: 8.5 - laravel: 13.* php: 8.2 - name: PHP ${{ matrix.php }} – Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} + name: PHP ${{ matrix.php }} – Laravel ${{ matrix.laravel }} steps: - name: Checkout code @@ -34,7 +33,6 @@ jobs: - name: Install dependencies run: | composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update - composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Run tests run: vendor/bin/phpunit From 784b1daf63f5de85996bfc07371ff9b251b8efad Mon Sep 17 00:00:00 2001 From: Marco Rieser Date: Fri, 20 Mar 2026 11:05:54 +0100 Subject: [PATCH 09/13] Add `composer install` step to GitHub Actions workflow to ensure dependencies are installed --- .github/workflows/run-tests.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index ae41917..240a2d7 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -33,6 +33,7 @@ jobs: - name: Install dependencies run: | composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update + composer install --no-interaction - name: Run tests run: vendor/bin/phpunit From c84806c97f9c9a9f13cb1f51f08f03977202fcea Mon Sep 17 00:00:00 2001 From: Marco Rieser Date: Sat, 21 Mar 2026 07:37:39 +0100 Subject: [PATCH 10/13] Remove Laravel 11.x and related dependencies from test matrix and composer requirements. --- .github/workflows/run-tests.yaml | 4 +--- composer.json | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 240a2d7..d89dd4a 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -10,10 +10,8 @@ jobs: matrix: os: [ubuntu-latest] php: [8.2, 8.3, 8.4, 8.5] - laravel: [11.*, 12.*, 13.*] + laravel: [12.*, 13.*] exclude: - - laravel: 11.* - php: 8.5 - laravel: 13.* php: 8.2 diff --git a/composer.json b/composer.json index 5a0b550..6c1ee7c 100644 --- a/composer.json +++ b/composer.json @@ -13,13 +13,13 @@ ], "require": { "php": "^8.2", - "illuminate/support": "^11.0 || ^12.0 || ^13.0", + "illuminate/support": "^12.0 || ^13.0", "laravel/prompts": "^0.1.17 || ^0.2.0 || ^0.3.0" }, "require-dev": { "nunomaduro/collision": "^8.1", - "orchestra/testbench": "^9.0 || ^10.0 || ^11.0", - "phpunit/phpunit": "^10.5|^11.0|^12.0" + "orchestra/testbench": "^10.0 || ^11.0", + "phpunit/phpunit": "^11.0|^12.0|^13.0" }, "autoload": { "psr-4": { From ee1ebf795ddc97221fe69d123fc2cfd83cdd7db6 Mon Sep 17 00:00:00 2001 From: Marco Rieser Date: Fri, 27 Mar 2026 20:23:04 +0100 Subject: [PATCH 11/13] Update test matrix: add `stability` dimension and refine dependency installation logic. --- .github/workflows/run-tests.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index d89dd4a..fa20fb9 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -11,11 +11,12 @@ jobs: os: [ubuntu-latest] php: [8.2, 8.3, 8.4, 8.5] laravel: [12.*, 13.*] + stability: [prefer-lowest, prefer-stable] exclude: - laravel: 13.* php: 8.2 - name: PHP ${{ matrix.php }} – Laravel ${{ matrix.laravel }} + name: PHP ${{ matrix.php }} – Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} steps: - name: Checkout code @@ -30,8 +31,8 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update - composer install --no-interaction + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Run tests run: vendor/bin/phpunit From 143f237207763d42fd800cb82c12db122f9d3cb8 Mon Sep 17 00:00:00 2001 From: Marco Rieser Date: Fri, 27 Mar 2026 20:24:42 +0100 Subject: [PATCH 12/13] Expand test matrix: add `testbench` dimension for Laravel 12.x and 13.x configurations. --- .github/workflows/run-tests.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index fa20fb9..1bd7f8c 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -12,6 +12,11 @@ jobs: php: [8.2, 8.3, 8.4, 8.5] laravel: [12.*, 13.*] stability: [prefer-lowest, prefer-stable] + include: + - laravel: 12.* + testbench: 10.* + - laravel: 13.* + testbench: 11.* exclude: - laravel: 13.* php: 8.2 From 331662b8b51d342b18254299c0273d9d58c13945 Mon Sep 17 00:00:00 2001 From: Marco Rieser Date: Fri, 27 Mar 2026 20:27:40 +0100 Subject: [PATCH 13/13] Update GitHub Actions workflow: bump `actions/checkout` to v6 --- .github/workflows/run-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 1bd7f8c..250bd13 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2