| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 2 |
| CRAP Score | 2.864 |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | 1 | public function saveResponseMetabox( $postId ) |
|
| 30 | { |
||
| 31 | 1 | if( !wp_verify_nonce( glsr( Helper::class )->filterInput( '_nonce-response' ), 'response' ))return; |
|
| 32 | $response = strval( glsr( Helper::class )->filterInput( 'response' )); |
||
| 33 | update_post_meta( $postId, 'response', trim( wp_kses( $response, [ |
||
| 34 | 'a' => ['href' => [], 'title' => []], |
||
| 35 | 'em' => [], |
||
| 36 | 'strong' => [], |
||
| 37 | ]))); |
||
| 40 |
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