Skip to content

MDaskalovAtBE/PHP-Lint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action for PHPLint

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

Usage

Use with GitHub Actions

.github/workflows/phplint.yml

name: PHP Linting
on: pull_request
jobs:
  phplint:
    runs-on: ubuntu-latest
    steps:
        - uses: actions/checkout@v1
        - uses: MDaskalovAtBE/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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 96.3%
  • Shell 3.7%