Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 2 additions & 40 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down