Skip to content

idbi/php-linter-gh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 = "id-bi/php-linter-gh-action@master"
}

Or to use GitHub Actions

.github/workflows/phplint.yml

name: PHP Linting

on: pull_request

jobs:
  phplint:

    runs-on: ubuntu-latest

    steps:
        - uses: actions/checkout@v1
        - uses: id-bi/php-linter-gh-action@master

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published