Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 404 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 404 Bytes

Installation

Require the repo via composer require nateageek/robo-phplint

Usage

<?php

class RoboFile extends \Robo\Tasks {

  use NateAGeek\Robo\Task\PHPLint\Tasks;

  function testLint() {
    //This will run phplint on all *.php files in the directory /phplint-code 
   // Also will return any errors found as an array.
    $this->taskPHPLintTask("/phplint-code")
      ->run();
  }
}