Skip to content

Commit 1a1613d

Browse files
authored
test(php): Enable PHP 8.3 testing
1 parent eb31ae9 commit 1a1613d

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/testing.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1']
10+
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
1111
extra-tests: ['0']
1212
# We only need to run PHPStan and Druapl core regression tests once on
1313
# the latest PHP version.
1414
include:
15-
- php-versions: '8.2'
15+
- php-versions: '8.3'
1616
extra-tests: '1'
1717
steps:
1818
- name: Checkout Coder
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
- name: Setup PHP, with composer and extensions
2222
uses: shivammathur/setup-php@v2
@@ -31,7 +31,7 @@ jobs:
3131
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
3232

3333
- name: Cache composer dependencies
34-
uses: actions/cache@v3
34+
uses: actions/cache@v4
3535
with:
3636
path: ${{ steps.composercache.outputs.dir }}
3737
# Use composer.json for key, if composer.lock is not committed.
@@ -72,10 +72,8 @@ jobs:
7272

7373
- name: Run PHPCS on Drupal core for regressions
7474
if: ${{ matrix.extra-tests == '1' }}
75-
# @todo Remove the ignored files once Drupal core has fixed them.
76-
# In case more Drupal core files have known problems that should be
77-
# ignored, add them with the --ignore option.
75+
# In case Drupal core files have known problems that should be
76+
# ignored temporarily, add them with the --ignore option.
7877
run: |
7978
cd drupal/core
80-
../../vendor/bin/phpcs -p \
81-
--ignore=modules/sdc/src/ExtensionType.php,lib/Drupal/Core/Database/Transaction/ClientConnectionTransactionState.php,lib/Drupal/Core/Database/Transaction/StackItemType.php
79+
../../vendor/bin/phpcs -p

0 commit comments

Comments
 (0)