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.
- Host: GitHub
- URL: https://github.com/gdegirmenci/php-lint-github-action-example
- Owner: gdegirmenci
- Created: 2020-08-21T22:09:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-22T14:32:31.000Z (almost 5 years ago)
- Last Synced: 2025-03-29T18:32:11.086Z (3 months ago)
- Topics: code-quality, continuous-integration, github-actions, php, php-codesniffer
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.