diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 9a49f3e..d7f464c 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -13,15 +13,11 @@ jobs: strategy: fail-fast: false matrix: - php: [8.0, 8.1, '8.2'] - laravel: ['8.*', '9.*', '10.*', '11.*'] + php: ['8.1', '8.2'] + laravel: ['10.*', '11.*'] dependency-version: [prefer-stable] os: [ubuntu-latest] exclude: - - laravel: 10.* - php: 8.0 - - laravel: 11.* - php: 8.0 - laravel: 11.* php: 8.1 @@ -29,7 +25,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4.1.2 + uses: actions/checkout@v4 - name: Cache dependencies uses: actions/cache@v4 diff --git a/composer.json b/composer.json index 9c08161..0de7d76 100644 --- a/composer.json +++ b/composer.json @@ -30,17 +30,17 @@ "docs": "https://docs.astrotomic.info/laravel-translatable" }, "require": { - "php": "^8.0", - "illuminate/contracts": "^8.0 || ^9.0 || ^10.0 || ^11.0", - "illuminate/database": "^8.0 || ^9.0 || ^10.0 || ^11.0", - "illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0" + "php": "^8.1", + "illuminate/contracts": "^10.0 || ^11.0", + "illuminate/database": "^10.0 || ^11.0", + "illuminate/support": "^10.0 || ^11.0" }, "require-dev": { "laravel/legacy-factories": "^1.0.4", "laravel/pint": "^1.15", "mockery/mockery": "^1.3.3", - "orchestra/testbench": "^6.0 || ^7.0 || ^8.0 || ^9.0", - "phpunit/phpunit": "^9.0 || ^10.5" + "orchestra/testbench": "^8.0 || ^9.0", + "phpunit/phpunit": "^10.5" }, "minimum-stability": "dev", "prefer-stable": true,