php-censor/docs/en/plugins/php_loc.md
2017-07-18 20:54:24 +07:00

23 lines
471 B
Markdown

Plugin PHPLoc
=============
Runs [PHPLoc](https://github.com/sebastianbergmann/phploc) against your project and records some key metrics.
Configuration
-------------
### Options
* **directory** - Optional - The directory in which phploc should run.
### Example
Run PHPLoc against the app directory only. This will prevent inclusion of code from 3rd party libraries that are
included outside of the app directory.
```yml
test:
php_loc:
directory: "app"
```