Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | final class RSA extends AbstractSigner implements SignatureAlgorithmInterface |
||
|
|||
16 | { |
||
17 | /** |
||
18 | * RSA constructor. |
||
19 | * |
||
20 | * @param \SimpleSAML\XMLSecurity\Key\AsymmetricKey $key The asymmetric key (either public or private) to use. |
||
21 | * @param string $algId The identifier of this algorithm. |
||
22 | */ |
||
23 | public function __construct( |
||
24 | #[\SensitiveParameter] |
||
25 | AsymmetricKey $key, |
||
26 | string $algId = C::SIG_RSA_SHA256, |
||
27 | ) { |
||
28 | parent::__construct($key, $algId, C::$RSA_DIGESTS[$algId]); |
||
29 | } |
||
30 | |||
31 | |||
32 | /** |
||
33 | * @return string[] |
||
34 | */ |
||
35 | public static function getSupportedAlgorithms(): array |
||
38 | } |
||
39 | } |
||
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