LinuxCommandLibrary

parallel-lint

checks PHP files for syntax errors in parallel

TLDR

Lint PHP files

$ parallel-lint [src/]
copy
Lint with exclusions
$ parallel-lint --exclude [vendor] [.]
copy
Lint with specific PHP version
$ parallel-lint --php [/usr/bin/php8.1] [src/]
copy
Lint with blame output
$ parallel-lint --blame [src/]
copy

SYNOPSIS

parallel-lint [options] paths...

DESCRIPTION

parallel-lint checks PHP files for syntax errors in parallel. Fast syntax checking across multiple files and directories. Does not check code style, only syntax validity.

PARAMETERS

--exclude path

Exclude path from checking.
--php binary
PHP binary to use.
-j num
Number of parallel jobs.
--blame
Show git blame for errors.
--colors
Force colored output.
-e ext
File extensions to check.

SEE ALSO

php(1), phpcs(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community