purdy / PHP-Lint

Github Action for PHPLint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Action for PHPLint

GitHub Action implementation of the PHPLint Package provided by https://github.com/overtrue/phplint.

Usage

You can use it as a Github Action like this:

.github/main.workflow

workflow "PHP Linting" {
  resolves = ["Execute"]
  on = "pull_request"
}

action "Execute" {
  uses = "michaelw90/php-lint@master"
}

If provided, a .phplint.yml file in the root will be used for configuration during run of the Action.

See it in practice

You can find a working and not working PR here: https://github.com/michaelw90/PHP-Lint-Demo/pulls

About

Github Action for PHPLint


Languages

Language:Dockerfile 97.4%Language:Shell 2.6%