Skip to content

PHP CodeSniffer Check

Actions
PHP CodeSniffer checker action
v0.3
LatestPre-release
Star (0)

PHP CodeSniffer Github Action

Description

A Github action to support PHP CodeSniffer checks.

Important

Currently only PHP 7.4 is supported, however support for other PHP versions is planned.

Variables

  • check_path - path for file/folder to be checked with PHPCS. E.g. ./app/, defaults to ..
  • phpcs_path - Path to PHPCS binary. E.g. ./vendor/bin/phpcs, defaults to phpcs.
  • phpcs_standard - PHPCS standard to use. E.g. PSR12.

PHP CodeSniffer Check is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

PHP CodeSniffer checker action
v0.3
LatestPre-release

PHP CodeSniffer Check is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.