m6web / php-lint
该软件包已被放弃,不再维护。没有建议的替代软件包。
运行php lint的简单命令
v0.2.0
2022-01-19 13:53 UTC
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是一个简单的软件包,可以简单地在目录上执行linter。
安装
composer require m6web/php-lint
使用方法
PhpLint允许递归验证一个或多个目录
- 一个目录
./bin/phplint directory/path
- 多个目录
./bin/phplint directory1/path directory2/path ...
PhpLint使用 symfony/finder 来查找目录。因此,您可以使用所有finder语法来查找目录
./bin/phplint directory/*/*/src