Conditions | 4 |
Paths | 3 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 4 |
Changes | 0 |
1 | <?php |
||
44 | 28 | public function set_data() |
|
45 | { |
||
46 | 28 | if (!isset($this->data) || is_array($this->data)) |
|
47 | 28 | { |
|
48 | 28 | $strip_bbcodes = !empty($this->config['topic_preview_strip_bbcodes']) ? 'flash|' . trim($this->config['topic_preview_strip_bbcodes']) : 'flash'; |
|
49 | 28 | $this->data = '#\[(' . $strip_bbcodes . ')[^\[\]]*\]((?:(?!\[\1[^\[\]]*\]).)*)\[\/\1[^\[\]]*\]#Usi'; |
|
50 | 28 | } |
|
51 | |||
52 | 28 | return $this; |
|
53 | } |
||
72 |
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