From 1faf026de253721f3424befe9e39cd4a5ecb5212 Mon Sep 17 00:00:00 2001 From: overtrue Date: Wed, 15 Feb 2023 11:23:29 +0800 Subject: [PATCH] Laravel 10 --- .github/workflows/ci.yml | 2 +- .gitignore | 1 + composer.json | 6 +++--- phpunit.xml.dist | 30 +++++++++++------------------- 4 files changed, 16 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eaaa768..bf336b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: phpunit: strategy: matrix: - php_version: [8.0, 8.1] + php_version: [8.1, 8.2] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.gitignore b/.gitignore index 5204370..3c0d246 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ composer.lock .phpunit.result.cache .php-cs-fixer.cache cghooks.lock +.phpunit.cache/ diff --git a/composer.json b/composer.json index 3e3edf1..ad486ab 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ ], "require": { "php": "^8.0.2", - "laravel/framework": "^9.0" + "laravel/framework": "^9.0|^10.0" }, "autoload": { "psr-4": { @@ -24,8 +24,8 @@ }, "require-dev": { "mockery/mockery": "^1.4.4", - "phpunit/phpunit": "^9.5.10", - "orchestra/testbench": "^7.0", + "phpunit/phpunit": "^10.0.0", + "orchestra/testbench": "^8.0", "friendsofphp/php-cs-fixer": "^3.5", "brainmaestro/composer-git-hooks": "dev-master", "laravel/pint": "^1.2" diff --git a/phpunit.xml.dist b/phpunit.xml.dist index e47284c..46a93e1 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,21 +1,13 @@ - - - - ./tests/ - - - - - src/ - - + + + + src/ + + + + + ./tests/ + +