diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9bf4e713..0e453657 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,16 +12,9 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1, 8.2, 8.3, 8.4] - laravel: [10, 11, 12] + php: [8.2, 8.3, 8.4] + laravel: [11, 12] stability: ["prefer-lowest", "prefer-stable"] - exclude: - - php: 8.4 - laravel: 10 - - php: 8.1 - laravel: 11 - - php: 8.1 - laravel: 12 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} (w/ ${{ matrix.stability }}) steps: @@ -37,37 +30,6 @@ jobs: tools: composer:v2 coverage: none - - name: Remove PHPStan on PHP 8.1 and Laravel 10 - run: composer remove --dev larastan/larastan - if: matrix.php == 8.1 || matrix.laravel == 10 - - - name: Set Minimum PHP 8.1 Versions - uses: nick-fields/retry@v3 - with: - timeout_minutes: 5 - max_attempts: 5 - command: | - composer require vlucas/phpdotenv:^5.3.1 --${{ matrix.stability }} --no-update --no-interaction - if: matrix.php >= 8.1 && matrix.stability == 'prefer-lowest' - - - name: Set Minimum PHP 8.2 Versions - uses: nick-fields/retry@v3 - with: - timeout_minutes: 5 - max_attempts: 5 - command: | - composer require nesbot/carbon:^2.62.1 --dev --${{ matrix.stability }} --no-update --no-interaction - if: matrix.php >= 8.2 && matrix.stability == 'prefer-lowest' && matrix.laravel < 12 - - - name: Set Minimum PHP 8.2 Versions and Laravel > 11 - uses: nick-fields/retry@v3 - with: - timeout_minutes: 5 - max_attempts: 5 - command: | - composer require "orchestra/testbench:^9.2|^10.0" --dev --${{ matrix.stability }} --no-update --no-interaction - if: matrix.php >= 8.2 && matrix.stability == 'prefer-lowest' && matrix.laravel >= 11 - - name: Set Laravel version uses: nick-fields/retry@v3 with: diff --git a/composer.json b/composer.json index 485a188f..78e0a6c1 100644 --- a/composer.json +++ b/composer.json @@ -28,17 +28,17 @@ } }, "require": { - "php": "^8.1.0", + "php": "^8.2.0", "ext-json": "*", - "laravel/framework": "^10.0|^11.0|^12.0", - "symfony/console": "^6.2|^7.0" + "laravel/framework": "^11.0|^12.0", + "symfony/console": "^7.0" }, "require-dev": { "guzzlehttp/guzzle": "^7.2", "roave/security-advisories": "dev-master", - "orchestra/testbench": "^8.0|^9.2|^10.0", + "orchestra/testbench": "^9.2|^10.0", "mockery/mockery": "^1.3.3", - "phpunit/phpunit": "^10.4|^11.5", + "phpunit/phpunit": "^11.5", "laravel/pint": "^1.16", "larastan/larastan": "^3.0" },