soy-php/php-lint-task

PHP Lint task for Soy

Installs: 11 367

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 1

pkg:composer/soy-php/php-lint-task

0.1.0 2016-01-12 15:20 UTC

This package is not auto-updated.

Last update: 2025-10-08 00:30:35 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

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;