Skip to content
eye

GitHub Action

PHP Simple Lint

1.0.1 Latest version

PHP Simple Lint

eye

PHP Simple Lint

Run Lint using Bash

Installation

Copy and paste the following snippet into your .yml file.

              

- name: PHP Simple Lint

uses: davidlienhard/[email protected]

Learn more about this action in davidlienhard/php-simple-lint

Choose a version

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/\*'