m6web / php-lint
Simple command to run php lint
Installs: 63 177
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 40
Forks: 0
Open Issues: 2
Requires
- php: >=7.4
- symfony/console: ^4.0||^5.4
- symfony/finder: ^4.0||^5.4
- symfony/process: ^4.0||^5.4
Requires (Dev)
- atoum/atoum: ^4.0
- atoum/stubs: ^2.5
- m6web/coke: ~2.2
- m6web/symfony2-coding-standard: ~3.3
This package is auto-updated.
Last update: 2022-03-25 15:00:41 UTC
README
PhpLint
PhpLint is a simple package to simply execute linter on directories.
Installation
composer require m6web/php-lint
Usage
PhpLint allows to validate one or multiple directories recursively:
- One directory:
./bin/phplint directory/path
- More than one directory:
./bin/phplint directory1/path directory2/path ...
PhpLint use symfony/finder to find directories. So you can use all finder syntax to find directories:
./bin/phplint directory/*/*/src