overtrue/phplint
PHPLint is a fast PHP syntax linter that runs multiple lint processes in parallel to speed up checking large codebases. Supports modern PHP versions, with easy installation via Composer, PHAR, Docker, or Phive, and configurable rules and paths.
The change from previous versions to 9.0 is quite significant but should be really smooth for the user. The main changes are:
symfony/cache component and must be PSR-6 compatible.n98/junit-xml dependency. Replaced by a native DOMDocument implementation.--json option was renamed to --log-json--xml option was renamed to --log-junitphp://stdout alias to write results stream to standard output is automagically applied (default) when invoking phplint with log-json or log-xml options.printer mode is legacy behavior).For Developers (read also the Architecture Guide)
Overtrue\PHPLint\Finder is the central point to identify files to scan and use the symfony/finder component.Overtrue\PHPLint\Extension\ProgressPrinter replace the Linter process callback (see Overtrue\PHPLint\Linter::setProcessCallback).Overtrue\PHPLint\Extension\ProgressBar use the symfony/console progressBar helperOvertrue\PHPLint\Output\JsonOutput allow to log scan results in JSON format to file or standard output.Overtrue\PHPLint\Output\JunitOutput allow to log scan results in JUnit XML format to file or standard output.Overtrue\PHPLint\Event\EventDispatcher is the central point of event listener system and use the symfony/event-dispatcher component.Overtrue\PHPLint\Configuration\ConsoleOptionsResolver is the configuration resolver for console CLI usage without YAML file and use the symfony/options-resolver component.Overtrue\PHPLint\Configuration\FileOptionsResolver is the configuration resolver for YAML file and use the symfony/options-resolver component.How can I help you explore Laravel packages today?