Skip to content

Commit

Permalink
Merge pull request #233 from magento-commerce/imported-fredden-magent…
Browse files Browse the repository at this point in the history
…o-coding-standard-453

[Imported] Update supported PHP versions
  • Loading branch information
sinhaparul authored Aug 9, 2023
2 parents 0f81833 + 1243a58 commit 99e3ae2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@ jobs:
fail-fast: false
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
dependencies:
- "lowest"
- "highest"
exclude:
- php-version: "8.1"
dependencies: "lowest"
name: Tests with PHP ${{ matrix.php-version }} and ${{ matrix.dependencies }} dependencies

steps:
Expand Down
2 changes: 1 addition & 1 deletion Magento2/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@
</rule>

<!-- PHPCompatibility configuration. -->
<config name="testVersion" value="7.4-"/>
<config name="testVersion" value="8.1-8.2"/>
<rule ref="PHPCompatibility">
<exclude name="PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound" />
<!-- Following sniffs have an equivalent in PHPCS -->
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "phpcodesniffer-standard",
"version": "31",
"require": {
"php": ">=7.4",
"php": "~8.1.0 || ~8.2.0",
"webonyx/graphql-php": "^15.0",
"ext-simplexml": "*",
"ext-dom": "*",
Expand All @@ -19,7 +19,7 @@
"phpcsstandards/phpcsutils": "^1.0.5"
},
"require-dev": {
"phpunit/phpunit": "^9.5.8",
"phpunit/phpunit": "^9.5.10",
"yoast/phpunit-polyfills": "^1.0"
},
"autoload-dev": {
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 99e3ae2

Please sign in to comment.