Skip to content

Commit d0f919b

Browse files
authored
Forced PHP version to 7.4 for PHPCS related workflows (#3571)
1 parent d08d603 commit d0f919b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/php-cs-fixer.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111
runs-on: [ubuntu-latest]
1212

1313
steps:
14+
- name: Setup PHP
15+
uses: shivammathur/setup-php@v2
16+
with:
17+
php-version: 7.4
18+
1419
- name: Checkout code
1520
uses: actions/checkout@v4
1621

.github/workflows/phpcs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
path: .phpcs.php.xml.dist
2222

2323
steps:
24+
- name: Setup PHP
25+
uses: shivammathur/setup-php@v2
26+
with:
27+
php-version: 7.4
28+
2429
- name: Checkout code
2530
uses: actions/checkout@v4
2631

0 commit comments

Comments
 (0)