Skip to content
FLexi17mp3Public
forked from wundii/PHPLint

About

PHP Lint

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

PHPLint - the fastest way to check your syntax

PHP-Tests PHPStan Downloads

This program is one of the fastest tools for static code analysis and error detection in PHP source code. The native php lint checking is used here.

Installation and Usage

composer require wundii/phplint --dev
php vendor/bin/phplint
php vendor/bin/phplint --config=phplint.php
php vendor/bin/phplint --help

Functionality over the config file (phplint.php)

  • php cgi executable (default: php)
  • paths (default: src)
  • skip
  • memory limit (default: 512M)
  • async processes (default: 10)
  • enable warnings (default: true)
  • enable notice (default: true)
  • ignore exit code (default: false)
  • ignore process bar (default: false)

Development for PHPLint

composer scripts

composer rector-dry
composer rector-apply
composer phpstan
composer ecs-dry
composer ecs-apply
composer phpunit
composer cache-clear

complete checks before merge

composer complete-check

To-do list for version 1.0.0

  • add symfony cache-system
  • refactor LintConsoleOutput class
  • refactor LintConfig class

Feedback and Contributions

I welcome feedback, bug reports and contributions from the community! If you found a bug or have a suggestion for improvement, please create an issue.

Every contribution is welcome!

About

PHP Lint

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages