kba-team/phplint.sh

Bash script to lint PHP files in the given directories.

Installs: 3 397

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Language:Shell

Type:tools

v1.0.2 2022-06-20 15:22 UTC

This package is auto-updated.

Last update: 2022-07-20 15:32:34 UTC


README

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"