Passed
Push — master ( 8413b2...00f101 )
by Tim
02:19
created
src/XMLSchema/XML/AbstractTopLevelAttribute.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -41,14 +41,14 @@
 block discarded – undo
41 41
         array $namespacedAttributes = [],
42 42
     ) {
43 43
         parent::__construct(
44
-            name: $name,
45
-            type: $type,
46
-            default: $default,
47
-            fixed: $fixed,
48
-            simpleType: $simpleType,
49
-            annotation: $annotation,
50
-            id: $id,
51
-            namespacedAttributes: $namespacedAttributes,
44
+            name : $name,
45
+            type : $type,
46
+            default : $default,
47
+            fixed : $fixed,
48
+            simpleType : $simpleType,
49
+            annotation : $annotation,
50
+            id : $id,
51
+            namespacedAttributes : $namespacedAttributes,
52 52
         );
53 53
     }
54 54
 }
Please login to merge, or discard this patch.
src/XMLSchema/XML/AbstractLocalComplexType.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function __construct(
32 32
         ?BooleanValue $mixed = null,
33
-        SimpleContent|ComplexContent|null $content = null,
33
+        SimpleContent | ComplexContent | null $content = null,
34 34
         ?TypeDefParticleInterface $particle = null,
35 35
         array $attributes = [],
36 36
         ?AnyAttribute $anyAttribute = null,
@@ -39,14 +39,14 @@  discard block
 block discarded – undo
39 39
         array $namespacedAttributes = [],
40 40
     ) {
41 41
         parent::__construct(
42
-            mixed: $mixed,
43
-            content: $content,
44
-            particle: $particle,
45
-            attributes: $attributes,
46
-            anyAttribute: $anyAttribute,
47
-            annotation: $annotation,
48
-            id: $id,
49
-            namespacedAttributes: $namespacedAttributes,
42
+            mixed : $mixed,
43
+            content : $content,
44
+            particle : $particle,
45
+            attributes : $attributes,
46
+            anyAttribute : $anyAttribute,
47
+            annotation : $annotation,
48
+            id : $id,
49
+            namespacedAttributes : $namespacedAttributes,
50 50
         );
51 51
     }
52 52
 }
Please login to merge, or discard this patch.
src/XMLSchema/XML/AbstractExplicitGroup.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -38,12 +38,12 @@
 block discarded – undo
38 38
         array $namespacedAttributes = [],
39 39
     ) {
40 40
         parent::__construct(
41
-            particles: $nestedParticles,
42
-            minOccurs: $minOccurs,
43
-            maxOccurs: $maxOccurs,
44
-            annotation: $annotation,
45
-            id: $id,
46
-            namespacedAttributes: $namespacedAttributes,
41
+            particles : $nestedParticles,
42
+            minOccurs : $minOccurs,
43
+            maxOccurs : $maxOccurs,
44
+            annotation : $annotation,
45
+            id : $id,
46
+            namespacedAttributes : $namespacedAttributes,
47 47
         );
48 48
     }
49 49
 }
Please login to merge, or discard this patch.
src/XMLSchema/XML/AbstractSimpleExtensionType.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,12 +37,12 @@
 block discarded – undo
37 37
         array $namespacedAttributes = [],
38 38
     ) {
39 39
         parent::__construct(
40
-            base: $base,
41
-            attributes: $attributes,
42
-            anyAttribute: $anyAttribute,
43
-            annotation: $annotation,
44
-            id: $id,
45
-            namespacedAttributes: $namespacedAttributes,
40
+            base : $base,
41
+            attributes : $attributes,
42
+            anyAttribute : $anyAttribute,
43
+            annotation : $annotation,
44
+            id : $id,
45
+            namespacedAttributes : $namespacedAttributes,
46 46
         );
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
src/XMLSchema/XML/AbstractElement.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     public function __construct(
57 57
         ?NCNameValue $name = null,
58 58
         ?QNameValue $reference = null,
59
-        protected LocalSimpleType|LocalComplexType|null $localType = null,
59
+        protected LocalSimpleType | LocalComplexType | null $localType = null,
60 60
         protected array $identityConstraint = [],
61 61
         protected ?QNameValue $type = null,
62 62
         protected ?QNameValue $substitutionGroup = null,
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      *
118 118
      * @return \SimpleSAML\XMLSchema\XML\LocalSimpleType|\SimpleSAML\XMLSchema\XML\LocalComplexType|null
119 119
      */
120
-    public function getLocalType(): LocalSimpleType|LocalComplexType|null
120
+    public function getLocalType(): LocalSimpleType | LocalComplexType | null
121 121
     {
122 122
         return $this->localType;
123 123
     }
Please login to merge, or discard this patch.
src/XMLSchema/XML/AbstractTopLevelComplexType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         ?BooleanValue $abstract = null,
40 40
         ?DerivationSetValue $final = null,
41 41
         ?DerivationSetValue $block = null,
42
-        SimpleContent|ComplexContent|null $content = null,
42
+        SimpleContent | ComplexContent | null $content = null,
43 43
         ?TypeDefParticleInterface $particle = null,
44 44
         array $attributes = [],
45 45
         ?AnyAttribute $anyAttribute = null,
Please login to merge, or discard this patch.
src/XMLSchema/XML/Trait/ComplexTypeModelTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      *
22 22
      * @var \SimpleSAML\XMLSchema\XML\SimpleContent|\SimpleSAML\XMLSchema\XML\ComplexContent|null
23 23
      */
24
-    protected SimpleContent|ComplexContent|null $content = null;
24
+    protected SimpleContent | ComplexContent | null $content = null;
25 25
 
26 26
 
27 27
     /**
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      *
30 30
      * @return \SimpleSAML\XMLSchema\XML\SimpleContent|\SimpleSAML\XMLSchema\XML\ComplexContent|null
31 31
      */
32
-    public function getContent(): SimpleContent|ComplexContent|null
32
+    public function getContent(): SimpleContent | ComplexContent | null
33 33
     {
34 34
         return $this->content;
35 35
     }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      *
41 41
      * @param \SimpleSAML\XMLSchema\XML\SimpleContent|\SimpleSAML\XMLSchema\XML\ComplexContent|null $content
42 42
      */
43
-    protected function setContent(SimpleContent|ComplexContent|null $content = null): void
43
+    protected function setContent(SimpleContent | ComplexContent | null $content = null): void
44 44
     {
45 45
         $this->content = $content;
46 46
     }
Please login to merge, or discard this patch.
src/XMLSchema/XML/AbstractLocalElement.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     public function __construct(
37 37
         ?NCNameValue $name = null,
38 38
         ?QNameValue $reference = null,
39
-        LocalSimpleType|LocalComplexType|null $localType = null,
39
+        LocalSimpleType | LocalComplexType | null $localType = null,
40 40
         array $identityConstraint = [],
41 41
         ?QNameValue $type = null,
42 42
         ?MinOccursValue $minOccurs = null,
@@ -51,21 +51,21 @@  discard block
 block discarded – undo
51 51
         array $namespacedAttributes = [],
52 52
     ) {
53 53
         parent::__construct(
54
-            name: $name,
55
-            reference: $reference,
56
-            localType: $localType,
57
-            identityConstraint: $identityConstraint,
58
-            type: $type,
59
-            minOccurs: $minOccurs,
60
-            maxOccurs: $maxOccurs,
61
-            default: $default,
62
-            fixed: $fixed,
63
-            nillable: $nillable,
64
-            block: $block,
65
-            form: $form,
66
-            annotation: $annotation,
67
-            id: $id,
68
-            namespacedAttributes: $namespacedAttributes,
54
+            name : $name,
55
+            reference : $reference,
56
+            localType : $localType,
57
+            identityConstraint : $identityConstraint,
58
+            type : $type,
59
+            minOccurs : $minOccurs,
60
+            maxOccurs : $maxOccurs,
61
+            default : $default,
62
+            fixed : $fixed,
63
+            nillable : $nillable,
64
+            block : $block,
65
+            form : $form,
66
+            annotation : $annotation,
67
+            id : $id,
68
+            namespacedAttributes : $namespacedAttributes,
69 69
         );
70 70
     }
71 71
 }
Please login to merge, or discard this patch.
src/XMLSchema/Type/Interface/AbstractAnySimpleType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
      * @param \SimpleSAML\XMLSchema\Type\Interface\ValueTypeInterface|string $other
143 143
      * @return bool
144 144
      */
145
-    public function equals(ValueTypeInterface|string $other): bool
145
+    public function equals(ValueTypeInterface | string $other): bool
146 146
     {
147 147
         if (is_string($other)) {
148 148
             $other = static::fromString($other);
Please login to merge, or discard this patch.