Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

PHP Lint Task

Latest Stable VersionTotal DownloadsLatest Unstable VersionLicense

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;

About

PHP Lint task for Soy

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages