Skip to content

Commit 4945957

Browse files
authored
[3.3] Downgraded PHP Version for the Code Styles job (#2678)
* Downgraded PHP Bersion for the Code Styles job * Changed AdditionalInformation into valid PHP code * PHP CS Fixes
1 parent b0d8a52 commit 4945957

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v3
24+
- name: Setup PHP Action
25+
uses: shivammathur/setup-php@v2
26+
with:
27+
php-version: 8.0
2428
- name: Set up Python ${{ matrix.python-version }}
2529
uses: actions/setup-python@v3
2630
with:

code_samples/back_office/image_editor/src/AdditionalInformation.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

3-
new FieldValue([
3+
$fieldValue = new FieldValue([
44
'data' => [
55
'width' => '100',
66
'height' => '200',
@@ -14,4 +14,4 @@
1414
'author' => 'John Smith',
1515
],
1616
],
17-
]),
17+
]);

0 commit comments

Comments
 (0)