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 c322151 commit 6d897d3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 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 @@ -60,7 +60,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 @@ -129,7 +129,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 @@ -191,7 +191,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 @@ -243,7 +243,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 @@ -302,7 +302,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
2 changes: 1 addition & 1 deletion app/src/Repository/TokenRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public function removeExpired(): int
*
* @return string
*/
protected function generateRandomToken(string $gen = null): string
protected function generateRandomToken(?string $gen = null): string
{
do {
$gen = md5(uniqid((string) mt_rand(), false));
Expand Down

0 comments on commit 6d897d3

Please sign in to comment.