diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9832cf9..53c285d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [7.4, 8.0, 8.1] + php: [7.4, 8.0, 8.1, 8.2] include: - php: 7.4 testbench: 6.0 @@ -20,6 +20,10 @@ jobs: - php: 8.1 testbench: 8.0 phpunit: 9.5 + + - php: 8.2 + testbench: 9.0 + phpunit: 11.0 steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/README.md b/README.md index 39627dc..d17c6b1 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ The current version of Elastic Client has been tested with the following configu * PHP 7.4-8.x * Elasticsearch 8.x -* Laravel 6.x-10.x +* Laravel 6.x-11.x ## Installation diff --git a/composer.json b/composer.json index a104212..a67705a 100644 --- a/composer.json +++ b/composer.json @@ -41,8 +41,8 @@ "elasticsearch/elasticsearch": "^8.0" }, "require-dev": { - "phpunit/phpunit": "^9.5", - "orchestra/testbench": "^8.0", + "phpunit/phpunit": "^11.0", + "orchestra/testbench": "^9.0", "friendsofphp/php-cs-fixer": "^3.14", "phpstan/phpstan": "^1.10" }, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 1aa1dea..569db3f 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,25 +1,24 @@ - - - src - - - src/ServiceProvider.php - - - - - tests/Unit - - + colors="true" + cacheDirectory=".phpunit.cache" + requireCoverageMetadata="true" + beStrictAboutCoverageMetadata="true"> + + + tests/Unit + + + + + src + + + src/ServiceProvider.php + +