diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index a527b20..2f127f9 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,15 +8,13 @@ jobs: strategy: fail-fast: true matrix: - php: [8.2, 8.1] - laravel: [10.*, 9.*] + php: [8.3, 8.2, 8.1] + laravel: [10.*] db: [mysql, postgres, sqlite] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* - - laravel: 9.* - testbench: 7.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - DB ${{ matrix.db }} - ${{ matrix.dependency-version }} diff --git a/README.md b/README.md index 2dd60a6..a80b44a 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ Stop duplicating your Eloquent query scopes and constraints in PHP. This package ## Requirements -* PHP 8.0+ -* Laravel 9.0 +* PHP 8.1+ +* Laravel 10.0 This package is tested with GitHub Actions using MySQL 8.0, PostgreSQL 10.8 and SQLite. diff --git a/composer.json b/composer.json index 84939be..5a1e32c 100644 --- a/composer.json +++ b/composer.json @@ -16,14 +16,13 @@ } ], "require": { - "php": "^8.1|^8.2", - "illuminate/support": "^9.0|^10.0", - "nesbot/carbon": "^2.66" + "php": "^8.1|^8.2|^8.3", + "illuminate/support": "^10.0" }, "require-dev": { "mockery/mockery": "^1.4.4", - "orchestra/testbench": "^7.0|^8.0", - "phpunit/phpunit": "^9.5" + "orchestra/testbench": "^8.0", + "phpunit/phpunit": "^10.4" }, "autoload": { "psr-4": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 22fe879..f9aad31 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,29 +1,12 @@ + backupGlobals="false" + colors="true" + processIsolation="false" + stopOnFailure="false"> tests - - - src/ - - - - - - - - - - + \ No newline at end of file