Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 562 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 562 Bytes

PHP Simple Lint

Simple PHP Lint Action using a shell script

This requires PHP already to be set up in the workflow.

Inputs

folder

The folder to control. Defaults to "./".

ignore

Semicolon separated list of folders or files to ignore. Special caracters like asterisks or semicolons must be escaped.

ignore: './vendor/\*' or ignore: './vendor/\*\;./tests/\*'

Defaults to './vendor/\*'

Example usage

- name: PHP Simple Lint
  uses: davidlienhard/php-simple-lint@1
  with:
    folder: './'
    ignore: './vendor/\*'