Skip to content

Commit

Permalink
Add PHP 8.4 to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Nov 30, 2024
1 parent dfcd977 commit ec79ef9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php_versions: ['8.1', '8.2', '8.3']
php_versions: ['8.1', '8.2', '8.3', '8.4']

runs-on: ubuntu-latest
name: PHPUnit - PHP ${{ matrix.php_versions }} - Memory SQLite
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php_versions: ['8.1', '8.2', '8.3']
php_versions: ['8.1', '8.2', '8.3', '8.4']

runs-on: ubuntu-latest
name: PHPUnit - PHP ${{ matrix.php_versions }} - MySQL
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php_versions: ['8.1', '8.2', '8.3']
php_versions: ['8.1', '8.2', '8.3', '8.4']

runs-on: ubuntu-latest
name: PHPUnit - PHP ${{ matrix.php_versions }} - MariaDB
Expand Down Expand Up @@ -203,7 +203,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php_versions: ['8.1', '8.2', '8.3']
php_versions: ['8.1', '8.2', '8.3', '8.4']

runs-on: ubuntu-latest
name: PHPUnit - PHP ${{ matrix.php_versions }} - SQLite
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php_versions: ['8.1', '8.2', '8.3']
php_versions: ['8.1', '8.2', '8.3', '8.4']

runs-on: ubuntu-latest
name: PHPUnit - PHP ${{ matrix.php_versions }} - PostgreSQL
Expand Down Expand Up @@ -321,7 +321,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php_versions: ['8.1', '8.2', '8.3']
php_versions: ['8.1', '8.2', '8.3', '8.4']

runs-on: windows-latest
name: PHPUnit - PHP ${{ matrix.php_versions }} - Windows
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/PHPStan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php_versions: ['8.1', '8.2', '8.3']
php_versions: ['8.1', '8.2', '8.3', '8.4']

runs-on: ubuntu-latest
name: PHPStan - ${{ matrix.php_versions }}
Expand Down
6 changes: 3 additions & 3 deletions app/src/Database/Relations/BelongsToManyThrough.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ public function getExistenceCompareKey(): string
/**
* Add a "via" query to load the intermediate models through which the child models are related.
*
* @param string|null $viaRelationName
* @param callable $viaCallback
* @param string|null $viaRelationName
* @param callable|null $viaCallback
*
* @return self
*/
public function withVia(?string $viaRelationName = null, callable $viaCallback = null): self
public function withVia(?string $viaRelationName = null, ?callable $viaCallback = null): self
{
$this->tertiaryRelated = $this->intermediateRelation->getRelated();

Expand Down

0 comments on commit ec79ef9

Please sign in to comment.