| Conditions | 5 |
| Paths | 4 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 41 | public function setValue($value, $record = null, $markChanged = true) |
||
| 42 | { |
||
| 43 | if ($value && EncryptHelper::isEncrypted($value)) { |
||
| 44 | try { |
||
| 45 | $this->value = $this->getEncryptedField()->decryptValue($value); |
||
| 46 | } catch (InvalidCiphertextException $ex) { |
||
| 47 | // rotate backend ? |
||
| 48 | // $this->value = $newEncryptedField->decryptValue($encryptedValue); |
||
| 49 | } catch (Exception $ex) { |
||
| 50 | // We cannot decrypt |
||
| 51 | $this->value = $this->nullValue(); |
||
| 52 | } |
||
| 53 | } else { |
||
| 54 | $this->value = $value; |
||
| 55 | } |
||
| 56 | return $this; |
||
| 57 | } |
||
| 59 |
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