Skip to content

Commit 3f1d512

Browse files
committed
fix(build): add PHP 8.2 8.3 and 8.4 version for code styling + unit tests
Signed-off-by: Yann 'Ze' Richard <[email protected]>
1 parent b57ce2a commit 3f1d512

File tree

4 files changed

+63
-37
lines changed

4 files changed

+63
-37
lines changed

.github/workflows/code-styling.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
os: ['ubuntu-latest']
14-
php: [8.1]
14+
php: [8.3]
1515
experimental: [ false ]
1616
fail-fast: false
1717

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: ['ubuntu-latest']
15-
php: [7.1, 7.2, 7.3, 7.4, 8.0, 8.1]
15+
php: [7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4]
1616
experimental: [ false ]
1717
fail-fast: false
1818

1919
env:
20-
coverage: ${{ (matrix.os == 'ubuntu-latest' && matrix.php == '8.1') && 'xdebug' || '0' }}
20+
coverage: ${{ (matrix.os == 'ubuntu-latest' && matrix.php == '8.3') && 'xdebug' || '0' }}
2121
github-token: ${{ secrets.GITHUB_TOKEN }}
2222
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
2323

composer.lock

Lines changed: 56 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpcs.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -369,16 +369,16 @@
369369
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
370370
<properties>
371371
<property
372-
name="newlinesCountBetweenOpenTagAndDeclare"
373-
value="2"
372+
name="linesCountBeforeDeclare"
373+
value="1"
374374
/>
375375
<property
376376
name="spacesCountAroundEqualsSign"
377377
value="0"
378378
/>
379379
<property
380-
name="newlinesCountAfterDeclare"
381-
value="2"
380+
name="linesCountAfterDeclare"
381+
value="1"
382382
/>
383383
</properties>
384384
</rule>
@@ -413,8 +413,6 @@
413413
forbid useless/duplicated information in phpDoc -->
414414
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint">
415415
<properties>
416-
<property name="allAnnotationsAreUseful" value="true"/>
417-
<property name="enableEachParameterAndReturnInspection" value="true"/>
418416
<property name="traversableTypeHints" type="array">
419417
<element value="Doctrine\Common\Collections\Collection"/>
420418
</property>

0 commit comments

Comments
 (0)