Skip to content

Commit e39cfb0

Browse files
committed
Increase PHPCS_LEVEL to 6
1 parent 75d35f2 commit e39cfb0

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/static-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313

1414
- name: Run Magento 2 PHPCS Tests
1515
run: |
16-
export PHPCS_LEVEL=$(jq -r '.phpcs_severity // 10' MODULE.json)
16+
PHPCS_LEVEL=${{ env.PHPCS_LEVEL }}
17+
test -z "$PHPCS_LEVEL" && PHPCS_LEVEL=$(jq -r '.phpcs_severity // 10' MODULE.json)
1718
test -z "$PHPCS_LEVEL" && PHPCS_LEVEL=10
1819
echo "Testing for PHPCS severity $PHPCS_LEVEL"
1920
cd /tmp/magento

MODULE.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"components": [],
1616
"config": [],
1717
"tests": [],
18-
"phpcs_severity": "1",
18+
"phpcs_severity": "6",
1919
"phpstan_level": "5"
20-
}
20+
}

0 commit comments

Comments
 (0)