From 58f66ff263d277e30040ea483d3d4f31554157ee Mon Sep 17 00:00:00 2001 From: wikigods Date: Sun, 14 Apr 2024 12:21:08 -0500 Subject: [PATCH 1/2] fix Laravel 11 Support --- composer.json | 18 +++++++++--------- phpunit.xml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index 2ee3dac..330c61a 100644 --- a/composer.json +++ b/composer.json @@ -15,17 +15,17 @@ } ], "require": { - "php": "^8.1", - "illuminate/cache": "~10.0|~11.0", - "illuminate/container": "~10.0|~11.0", - "illuminate/contracts": "~10.0|~11.0", - "illuminate/support": "~10.0|~11.0", - "illuminate/routing": "~10.0|~11.0", - "illuminate/view": "~10.0|~11.0" + "php": "^8.2", + "illuminate/cache": "~11.0", + "illuminate/container": "~11.0", + "illuminate/contracts": "~11.0", + "illuminate/support": "~11.0", + "illuminate/routing": "~11.0", + "illuminate/view": "~11.0" }, "require-dev": { "mockery/mockery": "^1.6", - "phpunit/phpunit": "^10.4" + "phpunit/phpunit": "^11.0.1" }, "autoload": { "psr-4": { @@ -51,5 +51,5 @@ "test": "vendor/bin/phpunit", "test-coverage": "vendor/bin/phpunit --coverage-html coverage" }, - "minimum-stability": "dev", + "minimum-stability": "stable" } diff --git a/phpunit.xml b/phpunit.xml index b8584cc..131e641 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -6,7 +6,7 @@ colors="true" processIsolation="false" stopOnFailure="false" - xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd" + xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" > From 79eb9fe927a06b9ee25d9d3c5a9f9008a5f7e68e Mon Sep 17 00:00:00 2001 From: wikigods Date: Sun, 14 Apr 2024 12:23:03 -0500 Subject: [PATCH 2/2] Update php.yml --- .github/workflows/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index b486ed7..5a256e6 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -10,7 +10,7 @@ jobs: strategy: max-parallel: 2 matrix: - php-versions: ['8.1', '8.2', '8.3'] + php-versions: ['8.2'] name: PHP ${{ matrix.php-versions }}