You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
PHP Lint
2.0.0
GitHub Action implementation of the PHPLint Package provided by @Overtrue/phplint.
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.
You can find a working and not working PR here: https://github.com/michaelw90/PHP-Lint-Demo/pulls