soy-php/php-lint-task
Composer 安装命令:
composer require soy-php/php-lint-task
包简介
PHP Lint task for Soy
README 文档
README
Introduction
This is a PHP Lint task for Soy
Usage
Include soy-php/php-lint-task in your project with composer:
$ composer require soy-php/php-lint-task
Then in your recipe you can use the task as follows:
<?php $recipe = new \Soy\Recipe(); $recipe->component('default', function (\Soy\PhpLint\RunTask $phpLintTask) { $phpLintTask ->setVerbose(true) ->enableCache('phplint.json') ->run( \Symfony\Component\Finder\Finder::create() ->in('.') ->name('*.php') ->exclude('vendor') ); }); return $recipe;
统计信息
- 总下载量: 11.38k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-01-12