library php-lint-task
PHP Lint task for Soy
soy-php/php-lint-task
PHP Lint task for Soy
- Tuesday, January 12, 2016
- by rskuipers
- Repository
- 1 Watchers
- 0 Stars
- 3 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 1 Open issues
- 2 Versions
- 0 % Grown
PHP Lint Task
, (*1)
Introduction
This is a PHP Lint task for Soy, (*2)
Usage
Include soy-php/php-lint-task in your project with composer:, (*3)
$ composer require soy-php/php-lint-task
Then in your recipe you can use the task as follows:, (*4)
<?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;
dev-develop
dev-develop
PHP Lint task for Soy
Sources
Download
MIT
The Requires