<?php
use Robo\Tasks;
use Sweetchuck\Robo\PhpMessDetector\PhpmdTaskLoader;
class RoboFile extends Tasks
{
use PhpmdTaskLoader;
public function phpmd()
{
return $this
->taskPhpmdLintFiles()
->setPaths(['src/', 'tests/'])
->setExcludePaths(['src/foo.php'])
->setReportFormat('text')
->setRuleSetFileNames(['path/to/custom.xml']);
}
}
-
Notifications
You must be signed in to change notification settings - Fork 1
Sweetchuck/robo-phpmd
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published