Qual: Fix ci (pre-commit) Exclude/fix shellcheck notices

This commit is contained in:
MDW
2025-01-15 14:37:24 +01:00
parent 55b96e085e
commit fffa47723f

View File

@@ -62,8 +62,9 @@ jobs:
- name: Extract PHP version
id: extract-php-version
run: |
# shellcheck disable=SC2016
PHP_VERSION=$(sed -n 's/.*\$arrayphpmaxversionwarning\s*=\s*array\s*(\s*\([0-9]\+\)\s*,\s*\([0-9]\+\).*/\1.\2/p' htdocs/install/check.php)
echo "PHP_VERSION=$PHP_VERSION" >> $GITHUB_ENV
echo "PHP_VERSION=$PHP_VERSION" >> "$GITHUB_ENV"
- name: Setup PHPCS
uses: shivammathur/setup-php@v2