From 42a8a361d5ce37243e39d27eb5238b49f0bc08e1 Mon Sep 17 00:00:00 2001 From: Juan Pablo Barreto Date: Thu, 16 Mar 2023 10:54:15 +0100 Subject: [PATCH 1/3] Upgrade L10 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c60157e..9feea23 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0.2", - "illuminate/macroable": "^7.0|^8.0|^9.0", + "illuminate/macroable": "^7.0|^8.0|^9.0|^10.0", "phpunit/phpunit": "^8.3|^9.0|^10.0", "spatie/url": "^1.3.4|^2.0", "symfony/dom-crawler": "^5.4|^6.1" From 0c2ed8039749ea18b4efe2924d97027a0d54fff1 Mon Sep 17 00:00:00 2001 From: Juan Pablo Barreto Date: Thu, 16 Mar 2023 10:54:59 +0100 Subject: [PATCH 2/3] Exclude phpunit 10 from 8.0 PHPunit 10 has a dependency on PHP8.1 --- .github/workflows/run-tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ac26426..fbf12de 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -16,6 +16,9 @@ jobs: php: [8.0, 8.1, 8.2] phpunit: [^8.3, 9.*, 10.*] stability: [prefer-lowest, prefer-stable] + exclude: + - php: 8.0 + phpunit: 10.* name: P${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - ${{ matrix.stability }} - ${{ matrix.os }} From 51f3914d6e63140ef73ec63d5e71f4f9a21411cc Mon Sep 17 00:00:00 2001 From: Juan Pablo Barreto Date: Thu, 16 Mar 2023 10:57:34 +0100 Subject: [PATCH 3/3] Bump phpunit dependency for internal testing https://stackoverflow.com/questions/70455395/phpunit-cannot-acquire-reference-to-globals --- .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 fbf12de..3882faa 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,7 +14,7 @@ jobs: matrix: os: [ubuntu-latest] php: [8.0, 8.1, 8.2] - phpunit: [^8.3, 9.*, 10.*] + phpunit: [^8.5.23, 9.*, 10.*] stability: [prefer-lowest, prefer-stable] exclude: - php: 8.0