|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
declare(strict_types=1); |
|
4
|
|
|
|
|
5
|
|
|
namespace SimpleSAML\SAML2\XML\md; |
|
6
|
|
|
|
|
7
|
|
|
use SimpleSAML\SAML2\Assert\Assert; |
|
8
|
|
|
use SimpleSAML\SAML2\Type\SAMLAnyURIValue; |
|
9
|
|
|
use SimpleSAML\XML\SchemaValidatableElementInterface; |
|
10
|
|
|
use SimpleSAML\XML\SchemaValidatableElementTrait; |
|
11
|
|
|
use SimpleSAML\XMLSchema\Type\BooleanValue; |
|
12
|
|
|
use SimpleSAML\XMLSchema\Type\UnsignedShortValue; |
|
13
|
|
|
|
|
14
|
|
|
/** |
|
15
|
|
|
* A class implementing the md:ArtifactResolutionService element. |
|
16
|
|
|
* |
|
17
|
|
|
* @package simplesamlphp/saml2 |
|
18
|
|
|
*/ |
|
19
|
|
|
final class ArtifactResolutionService extends AbstractIndexedEndpointType implements SchemaValidatableElementInterface |
|
20
|
|
|
{ |
|
21
|
|
|
use SchemaValidatableElementTrait; |
|
22
|
|
|
|
|
23
|
|
|
|
|
24
|
|
|
/** |
|
25
|
|
|
* ArtifactResolutionService constructor. |
|
26
|
|
|
* |
|
27
|
|
|
* This is an endpoint with one restriction: it cannot contain a ResponseLocation. |
|
28
|
|
|
* |
|
29
|
|
|
* @param \SimpleSAML\XMLSchema\Type\UnsignedShortValue $index |
|
30
|
|
|
* @param \SimpleSAML\SAML2\Type\SAMLAnyURIValue $binding |
|
31
|
|
|
* @param \SimpleSAML\SAML2\Type\SAMLAnyURIValue $location |
|
32
|
|
|
* @param \SimpleSAML\XMLSchema\Type\BooleanValue|null $isDefault |
|
33
|
|
|
* @param \SimpleSAML\SAML2\Type\SAMLAnyURIValue|null $unused |
|
34
|
|
|
* @param list<\SimpleSAML\XML\Attribute> $attributes |
|
|
|
|
|
|
35
|
|
|
* @param array $children |
|
36
|
|
|
* |
|
37
|
|
|
* @throws \SimpleSAML\Assert\AssertionFailedException |
|
38
|
|
|
*/ |
|
39
|
|
|
public function __construct( |
|
40
|
|
|
UnsignedShortValue $index, |
|
41
|
|
|
SAMLAnyURIValue $binding, |
|
42
|
|
|
SAMLAnyURIValue $location, |
|
43
|
|
|
?BooleanValue $isDefault = null, |
|
44
|
|
|
?SAMLAnyURIValue $unused = null, |
|
45
|
|
|
array $children = [], |
|
46
|
|
|
array $attributes = [], |
|
47
|
|
|
) { |
|
48
|
|
|
Assert::null( |
|
49
|
|
|
$unused, |
|
50
|
|
|
'The \'ResponseLocation\' attribute must be omitted for md:ArtifactResolutionService.', |
|
51
|
|
|
); |
|
52
|
|
|
parent::__construct($index, $binding, $location, $isDefault, null, $children, $attributes); |
|
53
|
|
|
} |
|
54
|
|
|
} |
|
55
|
|
|
|
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