Skip to content

Commit 99e3ae2

Browse files
authored
Merge pull request #233 from magento-commerce/imported-fredden-magento-coding-standard-453
[Imported] Update supported PHP versions
2 parents 0f81833 + 1243a58 commit 99e3ae2

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@
761761
</rule>
762762

763763
<!-- PHPCompatibility configuration. -->
764-
<config name="testVersion" value="7.4-"/>
764+
<config name="testVersion" value="8.1-8.2"/>
765765
<rule ref="PHPCompatibility">
766766
<exclude name="PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound" />
767767
<!-- Following sniffs have an equivalent in PHPCS -->

composer.json

+2-2
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": "*",
@@ -19,7 +19,7 @@
1919
"phpcsstandards/phpcsutils": "^1.0.5"
2020
},
2121
"require-dev": {
22-
"phpunit/phpunit": "^9.5.8",
22+
"phpunit/phpunit": "^9.5.10",
2323
"yoast/phpunit-polyfills": "^1.0"
2424
},
2525
"autoload-dev": {

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)