An open API service indexing awesome lists of open source software.

https://github.com/sweetchuck/robo-phpmd


https://github.com/sweetchuck/robo-phpmd

phpmd robo robo-task

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Robo task wrapper for PHPMD (PHP Mess Detector)

[![CircleCI](https://circleci.com/gh/Sweetchuck/robo-phpmd/tree/3.x.svg?style=svg)](https://circleci.com/gh/Sweetchuck/robo-phpmd/?branch=3.x)
[![codecov](https://codecov.io/gh/Sweetchuck/robo-phpmd/branch/3.x/graph/badge.svg?token=wvNpZCOuvu)](https://codecov.io/gh/Sweetchuck/robo-phpmd/3.x)

## Usage

```php
taskPhpmdLintFiles()
->setPaths(['src/', 'tests/'])
->setExcludePaths(['src/foo.php'])
->setReportFormat('text')
->setRuleSetFileNames(['path/to/custom.xml']);
}
}
```