From a8c98b5516a15d9cd4520d7a2aa03691117f51a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Huchet?= Date: Wed, 20 Mar 2024 09:02:56 +0100 Subject: [PATCH 1/8] Update composer.json --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 5c4330b..2dc5f97 100644 --- a/composer.json +++ b/composer.json @@ -19,11 +19,11 @@ ], "require": { "php": "^7.2|^8.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0" + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0" }, "require-dev": { - "phpunit/phpunit": "^7||^8.4|^9.3.3", - "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0" + "phpunit/phpunit": "^7||^8.4|^9.3.3|^10.1", + "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0" }, "autoload": { "classmap": [ From 55c098b9e2276e4a775080052f19d570eba199f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Huchet?= Date: Wed, 20 Mar 2024 09:09:44 +0100 Subject: [PATCH 2/8] up --- .github/workflows/run-tests.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 06645fe..ba79ec2 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,7 +10,7 @@ jobs: fail-fast: true matrix: php: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"] - laravel: ["^6.0", "^7.0", "^8.0", "^9.0", "^10.0"] + laravel: ["^6.0", "^7.0", "^8.0", "^9.0", "^10.0", "^11.0"] exclude: - php: "8.0" laravel: "^10.0" @@ -44,7 +44,16 @@ jobs: laravel: "^6.0" - php: "8.1" laravel: "^6.0" - + - laravel: "11.0" + php: "7.2" + - laravel: "11.0" + php: "7.3" + - laravel: "11.0" + php: "7.4" + - laravel: "11.0" + php: "8.0" + - laravel: "11.0" + php: "8.1" name: "PHP${{ matrix.php }} - Laravel${{ matrix.laravel }}" runs-on: "ubuntu-latest" From 7a8c390779778f7086b4a9f31e32adf81e66e436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Huchet?= Date: Wed, 20 Mar 2024 09:12:36 +0100 Subject: [PATCH 3/8] up warnings --- phpunit.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit.xml b/phpunit.xml index 9b3e766..d81157d 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,5 +1,5 @@ - + tests/ From 4d2b8293f9a26cc9f5d75f7a27762528b0ccb041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Huchet?= Date: Wed, 20 Mar 2024 09:17:24 +0100 Subject: [PATCH 4/8] up --- .github/workflows/run-tests.yml | 26 +++++++++++--------------- phpunit.xml | 2 +- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ba79ec2..6d6a95f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,21 +9,17 @@ jobs: strategy: fail-fast: true matrix: - php: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"] + php: ["7.2", "7.4", "8.0", "8.1", "8.2", "8.3"] laravel: ["^6.0", "^7.0", "^8.0", "^9.0", "^10.0", "^11.0"] exclude: - php: "8.0" laravel: "^10.0" - php: "7.4" laravel: "^10.0" - - php: "7.3" - laravel: "^10.0" - php: "7.2" laravel: "^10.0" - php: "7.4" laravel: "^9.0" - - php: "7.3" - laravel: "^9.0" - php: "7.2" laravel: "^9.0" - php: "8.3" @@ -44,16 +40,16 @@ jobs: laravel: "^6.0" - php: "8.1" laravel: "^6.0" - - laravel: "11.0" - php: "7.2" - - laravel: "11.0" - php: "7.3" - - laravel: "11.0" - php: "7.4" - - laravel: "11.0" - php: "8.0" - - laravel: "11.0" - php: "8.1" + - php: "7.2" + laravel: "^11.0" + - php: "7.4" + laravel: "^11.0" + - php: "8.0" + laravel: "^11.0" + - php: "8.1" + laravel: "^11.0" + - php: "8.2" + laravel: "^11.0" name: "PHP${{ matrix.php }} - Laravel${{ matrix.laravel }}" runs-on: "ubuntu-latest" diff --git a/phpunit.xml b/phpunit.xml index d81157d..13a3b9b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,5 +1,5 @@ - + tests/ From 5f3573de4654c657594404f3af32f2cda25902ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Huchet?= Date: Wed, 20 Mar 2024 09:20:17 +0100 Subject: [PATCH 5/8] up --- phpunit.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit.xml b/phpunit.xml index 13a3b9b..809de5c 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,5 +1,5 @@ - + tests/ From a238b36dcb06ece909fd1630fa9ae833fa7c5f60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Huchet?= Date: Wed, 20 Mar 2024 09:43:43 +0100 Subject: [PATCH 6/8] up --- phpunit.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index 809de5c..dc72abd 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -5,11 +5,11 @@ tests/ - - + + src/ - - + + From c485d25e962033fd905f039eee7e961fa42aa588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Huchet?= Date: Wed, 20 Mar 2024 09:47:11 +0100 Subject: [PATCH 7/8] up --- phpunit.xml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index dc72abd..8af1096 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -5,16 +5,4 @@ tests/ - - - src/ - - - - - - - - - From 44c47e5728492dae3db3f7b332ccc761080cb765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Huchet?= Date: Wed, 20 Mar 2024 09:48:39 +0100 Subject: [PATCH 8/8] test coverage --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6d6a95f..fa243f2 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -76,4 +76,4 @@ jobs: run: "composer dump-autoload --optimize --strict-psr" - name: "Execute unit tests" - run: "vendor/bin/phpunit --coverage-clover=coverage.xml --log-junit=test-report.xml --testdox" + run: "vendor/bin/phpunit"