Conditions | 4 |
Paths | 4 |
Total Lines | 20 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
52 | protected function decryptValue($value) |
||
53 | { |
||
54 | $decrypted = null; |
||
55 | try { |
||
56 | $decrypted = $this->getEncryptedField()->decryptValue($value); |
||
57 | } catch (InvalidCiphertextException $ex) { |
||
58 | $this->encryptionException = $ex; |
||
59 | // rotate backend ? |
||
60 | if (EncryptHelper::getAutomaticRotation()) { |
||
61 | $encryption = EncryptHelper::getEncryption($value); |
||
62 | $engine = EncryptHelper::getEngineForEncryption($encryption); |
||
63 | $oldEncryptedField = $this->getEncryptedField($engine); |
||
64 | $decrypted = $oldEncryptedField->decryptValue($value); |
||
65 | } else { |
||
66 | $decrypted = $value; |
||
67 | } |
||
68 | } catch (Exception $ex) { |
||
69 | $this->encryptionException = $ex; |
||
70 | } |
||
71 | return $decrypted; |
||
72 | } |
||
74 |
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