m6web/php-lint

该软件包已被放弃,不再维护。没有建议的替代软件包。

运行php lint的简单命令

v0.2.0 2022-01-19 13:53 UTC

This package is auto-updated.

Last update: 2022-03-25 15:00:41 UTC


README

Build Status

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