Conditions | 4 |
Paths | 3 |
Total Lines | 19 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | protected static function validHMACOutputLength(string $value, string $message = ''): void |
||
32 | { |
||
33 | try { |
||
34 | parent::regex( |
||
35 | $value, |
||
36 | self::$HMACOutputLength_regex, |
||
37 | $message ?: '%s is not a valid ds:HMACOutputLengthType', |
||
38 | ); |
||
39 | } catch (AssertionFailedException $e) { |
||
|
|||
40 | throw new SchemaViolationException($e->getMessage()); |
||
41 | } |
||
42 | |||
43 | try { |
||
44 | parent::true( |
||
45 | intval($value) % 8 === 0, |
||
46 | '%s is not devisible by 8 and therefore not a valid ds:HMACOutputLengthType', |
||
47 | ); |
||
48 | } catch (AssertionFailedException $e) { |
||
49 | throw new ProtocolViolationException($e->getMessage()); |
||
50 | } |
||
54 |
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