You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Runs PHP_CodeSniffer on files changed in current PR or even only on lines by author of PR'
author: 'Konstantin Vyatkin <tino@vtkn.io>'
inputs:
files:
description: 'files to check'
default: '**.php'
required: false
scope:
description: 'scope to annotate errors or warnings - either "file" to check entire file or "blame" to check only lines changed by author of current PR'
default: 'blame'
required: false
phpcs_path:
description: 'path to phpcs executable'
default: 'phpcs'
required: false
standard:
description: 'Code style standard name (PEAR, ) or path to a phpcs.xml file'
required: false
fail_on_errors:
description: 'Whether action should fail on errors or not, default to true (fails)'
required: false
fail_on_warnings:
description: 'Whether action should fail on warnings or not, default to true (fails)'