Skip to content

Commit

Permalink
Added readme
Browse files Browse the repository at this point in the history
  • Loading branch information
NateAGeek committed Apr 27, 2018
1 parent bcd7fb4 commit 25fd0e7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Installation
Require the repo via `composer require nateageek/robo-phplint`
# Usage
```php
<?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();
}
}
```

0 comments on commit 25fd0e7

Please sign in to comment.