m6web/php-lint

This package is abandoned and no longer maintained. No replacement package was suggested.

Simple command to run php lint

v0.2.0 2022-01-19 13:53 UTC

This package is auto-updated.

Last update: 2022-03-25 15:00:41 UTC


README

Build Status

PhpLint

PhpLint is a simple package to simply execute linter on directories.

Installation

composer require m6web/php-lint

Usage

PhpLint allows to validate one or multiple directories recursively:

  • One directory:
./bin/phplint directory/path
  • More than one directory:
./bin/phplint directory1/path directory2/path ...

PhpLint use symfony/finder to find directories. So you can use all finder syntax to find directories:

./bin/phplint directory/*/*/src