Skip to content

Commit 72f9f80

Browse files
committed
fix(ci): update magento-coding-standard constraint to integer versioning
The magento/magento-coding-standard package switched from semver (^2.1) to plain integer releases (3, 4 … 40) — the old constraint matched nothing and caused the static-analysis workflow to fail at composer install. Changed "^2.1" → ">=36" in both: - .github/workflows/static-analysis.yml (inline CI composer.json) - composer.json (require-dev)
1 parent d965179 commit 72f9f80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
{
5454
"require-dev": {
5555
"squizlabs/php_codesniffer": "^3.13",
56-
"magento/magento-coding-standard": "^2.1",
56+
"magento/magento-coding-standard": ">=36",
5757
"phpmd/phpmd": "^2.15"
5858
},
5959
"config": {

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"squizlabs/php_codesniffer": "^3.13",
2020
"phpunit/phpunit": "^10.5",
2121
"phpstan/phpstan": "^1.12",
22-
"magento/magento-coding-standard": "^2.1"
22+
"magento/magento-coding-standard": ">=36"
2323
},
2424
"version": "4.1.0",
2525
"autoload": {

0 commit comments

Comments
 (0)