Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.4 #1553

Closed
wants to merge 4 commits into from
Closed

PHP 8.4 #1553

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
2 changes: 1 addition & 1 deletion content/collections/docs/4-to-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ composer update statamic/cms --with-dependencies
- The minimum version of PHP is now 8.1.
- The minimum version of Laravel is now 10.

We highly recommend upgrading all the way to Laravel 11 and PHP 8.3.
We highly recommend upgrading all the way to Laravel 11 and PHP 8.4.

:::tip
If you want to (semi-)automate the Laravel upgrade process, we recommend using [Laravel Shift](https://laravelshift.com/discounts/statamic-1983) (use that link for a special 19.83% discount 🤘).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Statamic and its other first-party packages follow [Semantic Versioning](https:/
<tr>
<td class="font-bold">5</td>
<td>10-11</td>
<td>8.2-8.3</td>
<td>8.2-8.4</td>
<td>May 2024</td>
<td>May 2025</td>
<td>Nov 2025</td>
Expand Down
9 changes: 6 additions & 3 deletions content/collections/extending-docs/testing-in-addons.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ phpunit.xml

## The `TestCase`

The `TestCase` class extends Statamic's built-in `AddonTestCase` which is responsible for booting your addon's service provider, amongst other things.
The `TestCase` class extends Statamic's built-in `AddonTestCase` which is responsible for booting your addon's service provider, amongst other things.

Under the hood, Statamic's `AddonTestCase` extends [Orchestra Testbench](https://github.com/orchestral/testbench)'s `TestCase` class. Testbench allows you to test against a *real* Laravel application.

Expand Down Expand Up @@ -125,12 +125,15 @@ jobs:
php_tests:
strategy:
matrix:
php: [8.2, 8.3]
php: [8.2, 8.3, 8.4]
laravel: [10.*, 11.*]
os: [ubuntu-latest]
exclude:
- php: 8.4
laravel: 10.*

name: ${{ matrix.php }} - ${{ matrix.laravel }}

runs-on: ${{ matrix.os }}

steps:
Expand Down