Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chekalsky/phpcs-action
Github Action helps you check your code with PHP_CodeSniffer
https://github.com/chekalsky/phpcs-action
actions github-actions php php-codesniffer phpcs
Last synced: 4 months ago
JSON representation
Github Action helps you check your code with PHP_CodeSniffer
- Host: GitHub
- URL: https://github.com/chekalsky/phpcs-action
- Owner: chekalsky
- License: mit
- Archived: true
- Created: 2020-01-15T23:33:27.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-08T22:19:50.000Z (over 2 years ago)
- Last Synced: 2024-09-20T17:02:12.150Z (4 months ago)
- Topics: actions, github-actions, php, php-codesniffer, phpcs
- Homepage:
- Size: 7.81 KB
- Stars: 55
- Watchers: 4
- Forks: 29
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-actions - PHP_CodeSniffer With Annotations
- fucking-awesome-actions - PHP_CodeSniffer With Annotations
- awesome-workflows - PHP_CodeSniffer With Annotations
README
# PHP CodeSniffer GitHub Action
This action is deprecated in favor of much faster and better-supported solution, please update your Actions accordingly:
```
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
tools: cs2pr, phpcs- name: Run phpcs
run: phpcs -q --report=checkstyle src | cs2pr
```Details [here](https://github.com/marketplace/actions/setup-php-action#tools-with-checkstyle-support).
F