Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 544 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 544 Bytes

phplint.sh

This script checks the PHP files of the given directories for syntax errors.

Usage: phplint.sh [options] <directory> [<directory> ...]

Parameters:

  • <directory> The directory/directories to search for PHP files.

Options:

  • -e <ext> | --extension <ext> Define PHP files extension other than *.php to lint.
  • -v | --verbose Print positive lint results too.
  • -h | --help Show this help.

Composer usage

Include this package using composer.

composer require --dev kba-team/phplint.sh:"~1.0"