Skip to content

teamrhfitness/github-actions-phpcs

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.