Skip to content

Commit 8d37ab7

Browse files
committed
Update supported PHP versions
1 parent aec6744 commit 8d37ab7

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

.github/workflows/php.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,11 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
php-version:
16-
- "7.4"
17-
- "8.0"
1816
- "8.1"
17+
- "8.2"
1918
dependencies:
2019
- "lowest"
2120
- "highest"
22-
exclude:
23-
- php-version: "8.1"
24-
dependencies: "lowest"
2521
name: Tests with PHP ${{ matrix.php-version }} and ${{ matrix.dependencies }} dependencies
2622

2723
steps:

Magento2/ruleset.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
<severity>8</severity>
351351
<type>warning</type>
352352
</rule>
353-
353+
354354
<!-- Severity 7 warnings: General code issues. -->
355355
<rule ref="Generic.Arrays.DisallowLongArraySyntax">
356356
<severity>7</severity>
@@ -762,7 +762,7 @@
762762
</rule>
763763

764764
<!-- PHPCompatibility configuration. -->
765-
<config name="testVersion" value="7.4-"/>
765+
<config name="testVersion" value="8.1-8.2"/>
766766
<rule ref="PHPCompatibility">
767767
<exclude name="PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound" />
768768
<!-- Following sniffs have been updated or renamed in PHPCompatibility 10 -->

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"type": "phpcodesniffer-standard",
99
"version": "31",
1010
"require": {
11-
"php": ">=7.4",
11+
"php": "~8.1.0 || ~8.2.0",
1212
"webonyx/graphql-php": "^15.0",
1313
"ext-simplexml": "*",
1414
"ext-dom": "*",

composer.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)