Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/marlo-longley/phpcs-action

A Github Action for running the PHPCS (PHP Code Sniffer) on pull requests
https://github.com/marlo-longley/phpcs-action

Last synced: 1 day ago
JSON representation

A Github Action for running the PHPCS (PHP Code Sniffer) on pull requests

Awesome Lists containing this project

README

        

GitHub Action for Drupal Coder + PHPCS
GitHub Action

Usage
You can use it as a Github Action like this:

.github/workflows/phpcs.yml
```
name: Drupal Coder + PHPCS
on: [pull_request]
jobs:
build:
# Job name is PHPCS
name: PHPCS
# This job runs on Linux
runs-on: ubuntu-latest
steps:
- name: Drupal Coder + PHPCS
uses: marlo-longley/phpcs-action@master
id: phpcs
```