php-censor/docs/en/plugins/php_loc.md

23 lines
471 B
Markdown
Raw Permalink Normal View History

2016-07-19 11:12:28 +02:00
Plugin PHPLoc
2017-01-04 13:22:20 +01:00
=============
2016-07-19 11:12:28 +02:00
2016-07-17 16:20:35 +02:00
Runs [PHPLoc](https://github.com/sebastianbergmann/phploc) against your project and records some key metrics.
2016-07-19 11:12:28 +02:00
Configuration
2017-01-04 13:22:20 +01:00
-------------
2016-07-19 11:12:28 +02:00
2016-07-17 16:20:35 +02:00
### Options
2016-07-19 11:12:28 +02:00
2016-07-17 16:20:35 +02:00
* **directory** - Optional - The directory in which phploc should run.
### Example
2016-07-19 11:12:28 +02:00
2017-07-18 15:54:24 +02:00
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.
2016-07-17 16:20:35 +02:00
```yml
test:
php_loc:
directory: "app"
```