Skip to content

Commit c73d393

Browse files
committed
Fix github actions for PHP 8.4
1 parent 7f7bd81 commit c73d393

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/quality-assurance.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup PHP
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: 8.3
18+
php-version: 8.4
1919
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
2020
coverage: none
2121

@@ -43,7 +43,7 @@ jobs:
4343
- name: Setup PHP
4444
uses: shivammathur/setup-php@v2
4545
with:
46-
php-version: 8.3
46+
php-version: 8.4
4747
coverage: none
4848

4949
- name: Install composer dependencies
@@ -58,7 +58,7 @@ jobs:
5858
fail-fast: true
5959
matrix:
6060
os: [ubuntu-latest]
61-
php: [8.3]
61+
php: [8.4]
6262
stability: [prefer-stable]
6363

6464
name: Run Tests - P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}

.github/workflows/quality-control.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup PHP
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: 8.3
18+
php-version: 8.4
1919
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
2020
coverage: none
2121

@@ -48,7 +48,7 @@ jobs:
4848
- name: Setup PHP
4949
uses: shivammathur/setup-php@v2
5050
with:
51-
php-version: 8.3
51+
php-version: 8.4
5252
coverage: none
5353

5454
- name: Install composer dependencies
@@ -63,7 +63,7 @@ jobs:
6363
fail-fast: true
6464
matrix:
6565
os: [ubuntu-latest]
66-
php: [8.3]
66+
php: [8.4]
6767
stability: [prefer-stable]
6868

6969
name: Run Tests - P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}

src/Languages/Php/Patterns/ClosureDebugPattern.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Tempest\Highlight\Languages\Php\Patterns;
46

57
use Tempest\Highlight\IsPattern;
@@ -23,4 +25,4 @@ public function getTokenType(): TokenType
2325
{
2426
return TokenTypeEnum::PROPERTY;
2527
}
26-
}
28+
}

0 commit comments

Comments
 (0)