|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
declare(strict_types=1); |
|
4
|
|
|
|
|
5
|
|
|
namespace SimpleSAML\XMLSchema\XML; |
|
6
|
|
|
|
|
7
|
|
|
use SimpleSAML\XML\Assert\Assert; |
|
8
|
|
|
use SimpleSAML\XMLSchema\Exception\SchemaViolationException; |
|
9
|
|
|
use SimpleSAML\XMLSchema\Type\IDValue; |
|
|
|
|
|
|
10
|
|
|
use SimpleSAML\XMLSchema\Type\NCNameValue; |
|
|
|
|
|
|
11
|
|
|
use SimpleSAML\XMLSchema\Type\Schema\SimpleDerivationSetValue; |
|
|
|
|
|
|
12
|
|
|
|
|
13
|
|
|
/** |
|
14
|
|
|
* Abstract class representing the abstract topLevelSimpleType. |
|
15
|
|
|
* |
|
16
|
|
|
* @package simplesamlphp/xml-common |
|
17
|
|
|
*/ |
|
18
|
|
|
abstract class AbstractTopLevelSimpleType extends AbstractSimpleType |
|
19
|
|
|
{ |
|
20
|
|
|
/** |
|
21
|
|
|
* TopLevelSimpleType constructor |
|
22
|
|
|
* |
|
23
|
|
|
* @param ( |
|
24
|
|
|
* \SimpleSAML\XMLSchema\XML\Union| |
|
25
|
|
|
* \SimpleSAML\XMLSchema\XML\XsList| |
|
26
|
|
|
* \SimpleSAML\XMLSchema\XML\Restriction |
|
27
|
|
|
* ) $derivation |
|
28
|
|
|
* @param \SimpleSAML\XMLSchema\Type\NCNameValue $name |
|
29
|
|
|
* @param \SimpleSAML\XMLSchema\Type\Schema\SimpleDerivationSetValue $final |
|
30
|
|
|
* @param \SimpleSAML\XMLSchema\XML\Annotation|null $annotation |
|
31
|
|
|
* @param \SimpleSAML\XMLSchema\Type\IDValue|null $id |
|
32
|
|
|
* @param array<\SimpleSAML\XML\Attribute> $namespacedAttributes |
|
33
|
|
|
*/ |
|
34
|
|
|
public function __construct( |
|
35
|
|
|
Union|XsList|Restriction $derivation, |
|
|
|
|
|
|
36
|
|
|
NCNameValue $name, |
|
37
|
|
|
?SimpleDerivationSetValue $final = null, |
|
38
|
|
|
?Annotation $annotation = null, |
|
|
|
|
|
|
39
|
|
|
?IDValue $id = null, |
|
40
|
|
|
array $namespacedAttributes = [], |
|
41
|
|
|
) { |
|
42
|
|
|
Assert::notNull($name, SchemaViolationException::class); |
|
43
|
|
|
|
|
44
|
|
|
parent::__construct($derivation, $name, $final, $annotation, $id, $namespacedAttributes); |
|
45
|
|
|
} |
|
46
|
|
|
} |
|
47
|
|
|
|
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