Skip to content

Commit 097bda3

Browse files
authored
Merge pull request #194 from magento-gl/AC-6437
AC-6437:Ensure PHP8.1 support after 7.4 removal - Added support for R…
2 parents 0263b89 + 5fd9e4c commit 097bda3

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

.github/workflows/php.yml

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
php-version:
16-
- "7.3"
17-
- "7.4"
18-
- "8.0"
1916
- "8.1"
2017
dependencies:
2118
- "lowest"

Magento2/Sniffs/Commenting/ClassPropertyPHPDocFormattingSniff.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ class ClassPropertyPHPDocFormattingSniff extends AbstractVariableSniff
2929
T_NS_SEPARATOR,
3030
T_STRING,
3131
T_COMMENT,
32-
T_NULLABLE
32+
T_NULLABLE,
33+
T_BITWISE_AND,
34+
T_TYPE_UNION,
3335
];
3436

3537
/**

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"AFL-3.0"
77
],
88
"type": "phpcodesniffer-standard",
9-
"version": "26",
9+
"version": "27",
1010
"require": {
11-
"php": ">=7.3",
11+
"php": "^8.1||^8.2",
1212
"webonyx/graphql-php": "^14.9",
1313
"ext-simplexml": "*",
1414
"ext-dom": "*",

composer.lock

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

0 commit comments

Comments
 (0)