diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index 497b903..3ac5887 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -43,6 +43,8 @@ jobs: with: php-version: ${{ inputs.php_version }} - uses: "ramsey/composer-install@v2" + with: + composer-options: "--ignore-platform-reqs" - name: "Give permissions" run: | @@ -86,4 +88,4 @@ jobs: echo "$JSON_REPORT" | jq -r ' .files | to_entries[] | .key as $path | .value.messages[] as $msg | "\($path):\($msg.line):\($msg.column):`\($msg.source)`
\($msg.message)" ' | reviewdog -efm="%f:%l:%c:%m" -name="phpcs" -filter-mode="added" -fail-on-error=true -reporter=github-pr-review # Exit with the original phpcs exit code - exit $PHPCS_EXIT_CODE \ No newline at end of file + exit $PHPCS_EXIT_CODE