Passed
Push — master ( 167df6...98778c )
by Tim
02:59
created
src/XML/auth/AbstractClaimType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         protected ?DisplayName $displayName = null,
62 62
         protected ?Description $description = null,
63 63
         protected ?DisplayValue $displayValue = null,
64
-        protected null|Value|EncryptedValue|StructuredValue|ConstrainedValue|SerializableElementInterface $value = null,
64
+        protected null | Value | EncryptedValue | StructuredValue | ConstrainedValue | SerializableElementInterface $value = null,
65 65
         array $namespacedAttributes = [],
66 66
     ) {
67 67
         Assert::validURI($uri);
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      *   null
92 92
      * ) $value
93 93
      */
94
-    public function getValue(): null|Value|EncryptedValue|StructuredValue|ConstrainedValue|SerializableElementInterface
94
+    public function getValue(): null | Value | EncryptedValue | StructuredValue | ConstrainedValue | SerializableElementInterface
95 95
     {
96 96
         return $this->value;
97 97
     }
Please login to merge, or discard this patch.
src/XML/auth/AbstractConstrainedValueType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      * @param bool|null $assertConstraint
46 46
      */
47 47
     final public function __construct(
48
-        protected ValueLessThan|ValueLessThanOrEqual|ValueGreaterThan|ValueGreaterThanOrEqual|ValueInRangen|ValueOneOf $value,
48
+        protected ValueLessThan | ValueLessThanOrEqual | ValueGreaterThan | ValueGreaterThanOrEqual | ValueInRangen | ValueOneOf $value,
49 49
         array $children = [],
50 50
         protected ?bool $assertConstraint = null,
51 51
     ) {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      *   \SimpleSAML\WSSecurity\XML\auth\ValueOneOf
66 66
      * )
67 67
      */
68
-    public function getValue(): ValueLessThan|ValueLessThanOrEqual|ValueGreaterThan|ValueGreaterThanOrEqual|ValueInRangen|ValueOneOf
68
+    public function getValue(): ValueLessThan | ValueLessThanOrEqual | ValueGreaterThan | ValueGreaterThanOrEqual | ValueInRangen | ValueOneOf
69 69
     {
70 70
         return $this->value;
71 71
     }
Please login to merge, or discard this patch.
src/XML/wsx/MetadataSection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      * @param array<\SimpleSAML\XML\Attribute> $namespacedAttributes
41 41
      */
42 42
     final public function __construct(
43
-        protected SerializableElementInterface|MetadataReference|Location $child,
43
+        protected SerializableElementInterface | MetadataReference | Location $child,
44 44
         protected string $Dialect,
45 45
         protected ?string $Identifier = null,
46 46
         array $namespacedAttributes = [],
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      *         \SimpleSAML\WSSecurity\XML\wsx\MetadataReference|
60 60
      *         \SimpleSAML\WSSecurity\XML\wsx\Location)
61 61
      */
62
-    public function getChild(): SerializableElementInterface|MetadataReference|Location
62
+    public function getChild(): SerializableElementInterface | MetadataReference | Location
63 63
     {
64 64
         return $this->child;
65 65
     }
Please login to merge, or discard this patch.
src/XML/wsdl/AbstractService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         Assert::allIsInstanceOf($ports, Port::class, SchemaViolationException::class);
34 34
 
35 35
         $portNames = array_map(
36
-            function ($x) {
36
+            function($x) {
37 37
                 return $x->getName();
38 38
             },
39 39
             $ports,
Please login to merge, or discard this patch.
src/XML/wsdl/AbstractDefinitions.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         Assert::allIsInstanceOf($service, Service::class, SchemaViolationException::class);
53 53
 
54 54
         $messageNames = array_map(
55
-            function ($x) {
55
+            function($x) {
56 56
                 return $x->getName();
57 57
             },
58 58
             $message,
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         );
65 65
 
66 66
         $portTypeNames = array_map(
67
-            function ($x) {
67
+            function($x) {
68 68
                 return $x->getName();
69 69
             },
70 70
             $portType,
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         );
77 77
 
78 78
         $bindingNames = array_map(
79
-            function ($x) {
79
+            function($x) {
80 80
                 return $x->getName();
81 81
             },
82 82
             $binding,
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         );
89 89
 
90 90
         $serviceNames = array_map(
91
-            function ($x) {
91
+            function($x) {
92 92
                 return $x->getName();
93 93
             },
94 94
             $service,
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         );
101 101
 
102 102
         $importNamespaces = array_map(
103
-            function ($x) {
103
+            function($x) {
104 104
                 return $x->getNamespace();
105 105
             },
106 106
             $import,
Please login to merge, or discard this patch.
src/XML/wsdl/AbstractMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         Assert::allIsInstanceOf($parts, Part::class, SchemaViolationException::class);
34 34
 
35 35
         $partNames = array_map(
36
-            function ($x) {
36
+            function($x) {
37 37
                 return $x->getName();
38 38
             },
39 39
             $parts,
Please login to merge, or discard this patch.
src/XML/sp_200702/IncludeTokenTypeTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      *
21 21
      * @var \SimpleSAML\WSSecurity\XML\sp_200702\IncludeToken|string|null
22 22
      */
23
-    protected IncludeToken|string|null $includeToken;
23
+    protected IncludeToken | string | null $includeToken;
24 24
 
25 25
 
26 26
     /**
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *
29 29
      * @return \SimpleSAML\WSSecurity\XML\sp_200702\IncludeToken|string|null
30 30
      */
31
-    public function getIncludeToken(): IncludeToken|string|null
31
+    public function getIncludeToken(): IncludeToken | string | null
32 32
     {
33 33
         return $this->includeToken;
34 34
     }
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      *
40 40
      * @param \SimpleSAML\WSSecurity\XML\sp_200702\IncludeToken|string|null $includeToken
41 41
      */
42
-    protected function setIncludeToken(IncludeToken|string|null $includeToken): void
42
+    protected function setIncludeToken(IncludeToken | string | null $includeToken): void
43 43
     {
44 44
         if (is_string($includeToken)) {
45 45
             Assert::validURI($includeToken);
Please login to merge, or discard this patch.
src/XML/sp_200507/IncludeTokenTypeTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      *
21 21
      * @var \SimpleSAML\WSSecurity\XML\sp_200507\IncludeToken|string|null
22 22
      */
23
-    protected IncludeToken|string|null $includeToken;
23
+    protected IncludeToken | string | null $includeToken;
24 24
 
25 25
 
26 26
     /**
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *
29 29
      * @return \SimpleSAML\WSSecurity\XML\sp_200507\IncludeToken|string|null
30 30
      */
31
-    public function getIncludeToken(): IncludeToken|string|null
31
+    public function getIncludeToken(): IncludeToken | string | null
32 32
     {
33 33
         return $this->includeToken;
34 34
     }
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      *
40 40
      * @param \SimpleSAML\WSSecurity\XML\sp_200507\IncludeToken|string|null $includeToken
41 41
      */
42
-    protected function setIncludeToken(IncludeToken|string|null $includeToken): void
42
+    protected function setIncludeToken(IncludeToken | string | null $includeToken): void
43 43
     {
44 44
         if (is_string($includeToken)) {
45 45
             Assert::validURI($includeToken);
Please login to merge, or discard this patch.
src/XML/sp_200507/AbstractSpnegoContextTokenType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      */
46 46
     final public function __construct(
47 47
         protected ?Issuer $issuer,
48
-        IncludeToken|string|null $includeToken = null,
48
+        IncludeToken | string | null $includeToken = null,
49 49
         array $elts = [],
50 50
         array $namespacedAttributes = [],
51 51
     ) {
Please login to merge, or discard this patch.