Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion phpstan/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ inputs:
cacheDir:
description: PHPStan cache dir
default: ${{ github.workspace }}/var/phpstan
errorFormat:
description: "PHPStan error format"
default: "github"

runs:
using: "composite"
Expand All @@ -34,4 +37,4 @@ runs:
- name: Run PHPStan
shell: bash
working-directory: custom/plugins/${{ inputs.extensionName }}
run: ${GITHUB_WORKSPACE}/vendor/bin/phpstan analyze --error-format=github --no-progress
run: ${GITHUB_WORKSPACE}/vendor/bin/phpstan analyze --error-format=${{ inputs.errorFormat }} --no-progress