| Conditions | 1 |
| Total Lines | 25 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public function __construct() { |
||
| 37 | parent::__construct(); |
||
| 38 | |||
| 39 | // @link https://github.com/wp-cli/i18n-command/blob/v2.0.1/src/MakePotCommand.php#L36-L44 |
||
| 40 | $this->exclude = array_diff( |
||
| 41 | $this->exclude, |
||
| 42 | array( |
||
| 43 | 'vendor', |
||
| 44 | ) |
||
| 45 | ); |
||
| 46 | |||
| 47 | $this->exclude = array_merge( |
||
| 48 | $this->exclude, |
||
| 49 | array( |
||
| 50 | 'vendor', |
||
| 51 | 'wordpress', |
||
| 52 | 'wp-content', |
||
| 53 | ) |
||
| 54 | ); |
||
| 55 | |||
| 56 | $this->include = array( |
||
| 57 | 'js', |
||
| 58 | 'src', |
||
| 59 | 'templates', |
||
| 60 | '*.php', |
||
| 61 | ); |
||
| 76 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths