We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75d35f2 commit e39cfb0Copy full SHA for e39cfb0
2 files changed
.github/workflows/static-tests.yml
@@ -13,7 +13,8 @@ jobs:
13
14
- name: Run Magento 2 PHPCS Tests
15
run: |
16
- export PHPCS_LEVEL=$(jq -r '.phpcs_severity // 10' MODULE.json)
+ PHPCS_LEVEL=${{ env.PHPCS_LEVEL }}
17
+ test -z "$PHPCS_LEVEL" && PHPCS_LEVEL=$(jq -r '.phpcs_severity // 10' MODULE.json)
18
test -z "$PHPCS_LEVEL" && PHPCS_LEVEL=10
19
echo "Testing for PHPCS severity $PHPCS_LEVEL"
20
cd /tmp/magento
MODULE.json
@@ -15,6 +15,6 @@
"components": [],
"config": [],
"tests": [],
- "phpcs_severity": "1",
+ "phpcs_severity": "6",
"phpstan_level": "5"
-}
+}
0 commit comments