An open API service indexing awesome lists of open source software.

https://github.com/gdegirmenci/php-lint-github-action-example

This is an example usage of Github action to improve code quality with using linter.
https://github.com/gdegirmenci/php-lint-github-action-example

code-quality continuous-integration github-actions php php-codesniffer

Last synced: 2 months ago
JSON representation

This is an example usage of Github action to improve code quality with using linter.

Awesome Lists containing this project

README

        

# PHP Lint Github Action Example
This is an example usage of Github action to improve code quality with using linter.

For an action, [Super Linter](https://github.com/github/super-linter) is used, which is Github's official release.

## Configuration
The action detail could be found in `.github/workflows/linter.yml`

The configuration file for [PHP Code Sniffer](https://github.com/squizlabs/PHP_CodeSniffer) could be found in `.github/linters/phpcs.xml`

Other possible rule sets to define in config file could be found from [here](https://github.com/squizlabs/PHP_CodeSniffer/tree/master/src/Standards) as well.