Skip to content

PHP Lint

Actions
Run Lint Against Pull Request
2.1.0
Latest
Star (38)

GitHub Action for PHPLint

GitHub Action implementation of the PHPLint Package provided by @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: 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

PHP Lint 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

Run Lint Against Pull Request
2.1.0
Latest

PHP Lint 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.