Conditions | 1 |
Paths | 1 |
Total Lines | 24 |
Code Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
6 | public function __construct() { |
||
7 | parent::__construct(); |
||
8 | |||
9 | // https://github.com/wp-cli/i18n-command/blob/v2.0.1/src/MakePotCommand.php#L36-L44 |
||
10 | $this->exclude = array_diff( $this->exclude, array( |
||
11 | 'vendor', |
||
12 | ) ); |
||
13 | |||
14 | $this->exclude = array_merge( $this->exclude, array( |
||
15 | 'build', |
||
16 | 'deploy', |
||
17 | 'documentation', |
||
18 | 'etc', |
||
19 | 'repositories', |
||
20 | 'wordpress', |
||
21 | 'wp-content', |
||
22 | ) ); |
||
23 | |||
24 | $this->include = array( |
||
1 ignored issue
–
show
|
|||
25 | 'admin', |
||
26 | 'includes', |
||
27 | 'templates', |
||
28 | 'vendor', |
||
29 | 'views', |
||
30 | ); |
||
37 |