Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | public function saveInto(DataObjectInterface $record) |
||
27 | { |
||
28 | // Sanitise if requested |
||
29 | $htmlValue = HTMLValue::create($this->Value()); |
||
30 | if (HTMLEditorField::config()->sanitise_server_side) { |
||
31 | $santiser = HTMLEditorSanitiser::create(HTMLEditorConfig::get_active()); |
||
32 | $santiser->sanitise($htmlValue); |
||
33 | } |
||
34 | |||
35 | // optionally manipulate the HTML after a TinyMCE edit and prior to a save |
||
36 | $this->extend('processHTML', $htmlValue); |
||
37 | |||
38 | // Store into record |
||
39 | $record->setCastedField($this->name, $htmlValue->getContent()); |
||
40 | } |
||
42 |
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