Lint a directory, excluding the specified directory

parallel-lint

  • A tool to check the syntax of PHP files in parallel.
    More information: <https://github.com/JakubOnderka/PHP-Parallel-Lint>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

parallel-lint --exclude {{path/to/excluded_directory}} {{path/to/directory}}

click the source code to copy