Failed Conditions
Push — master ( 2b713c...735d0a )
by Alex
16s queued 13s
created
src/Csdl/Internal/Serialization/Helpers/AssociationAnnotations.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@  discard block
 block discarded – undo
12 12
     /**
13 13
      * @var IDirectValueAnnotation
14 14
      */
15
-    public $Annotations ;
15
+    public $Annotations;
16 16
     /**
17 17
      * @var IDirectValueAnnotation
18 18
      */
19
-    public $End1Annotations ;
19
+    public $End1Annotations;
20 20
     /**
21 21
      * @var IDirectValueAnnotation
22 22
      */
@@ -24,5 +24,5 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * @var IDirectValueAnnotation
26 26
      */
27
-    public $ConstraintAnnotations ;
27
+    public $ConstraintAnnotations;
28 28
 }
Please login to merge, or discard this patch.
src/EdmModelVisitor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
     protected function endElement(IEdmElement $element, string $method): void
117 117
     {
118 118
         $method       = $this->sanitizeMethodName($method);
119
-        $elementClone =  $this->cloneElementContainer->offsetGet($element);
119
+        $elementClone = $this->cloneElementContainer->offsetGet($element);
120 120
         foreach ($this->visitors as $visitor) {
121 121
             $visitor->{'end' . $method}($elementClone);
122 122
         }
Please login to merge, or discard this patch.
src/Edm/Validation/ValidationRules/IPrimitiveValue/PrimitiveValueRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,6 +12,6 @@
 block discarded – undo
12 12
 {
13 13
     public function getValidatedType(): string
14 14
     {
15
-        return IPrimitiveValue::class ;
15
+        return IPrimitiveValue::class;
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
src/Csdl/Internal/Semantics/BadElements/UnresolvedFunction.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function getSchemaElementKind(): SchemaElementKind
50 50
     {
51
-        return SchemaElementKind::Function();
51
+        return SchemaElementKind::Function ();
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function getSchemaElementKind(): SchemaElementKind
50 50
     {
51
-        return SchemaElementKind::Function();
51
+        return SchemaElementKind::function();
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
src/Library/Internal/Ambiguous/AmbiguousFunctionBinding.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function getSchemaElementKind(): SchemaElementKind
50 50
     {
51
-        return SchemaElementKind::Function();
51
+        return SchemaElementKind::Function ();
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function getSchemaElementKind(): SchemaElementKind
50 50
     {
51
-        return SchemaElementKind::Function();
51
+        return SchemaElementKind::function();
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
src/Util/XmlCharType.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@
 block discarded – undo
334 334
             $str1 = mb_substr($ranges, $p, 1, 'UTF-8');
335 335
             $str2 = mb_substr($ranges, $p+1, 1, 'UTF-8');
336 336
             for ($i = mb_ord($str1),
337
-                 $last = mb_ord($str2); $i <= $last; $i++) {
337
+                    $last = mb_ord($str2); $i <= $last; $i++) {
338 338
                 if (!isset(self::$s_CharProperties[$i])) {
339 339
                     self::$s_CharProperties[$i] = $value;
340 340
                 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -330,9 +330,9 @@
 block discarded – undo
330 330
     private static function setProperties(string $ranges, int $value): void
331 331
     {
332 332
         assert(mb_strlen($ranges, 'UTF-8') % 2 === 0);
333
-        for ($p = 0; $p < mb_strlen($ranges, 'UTF-8'); $p +=2) {
333
+        for ($p = 0; $p < mb_strlen($ranges, 'UTF-8'); $p += 2) {
334 334
             $str1 = mb_substr($ranges, $p, 1, 'UTF-8');
335
-            $str2 = mb_substr($ranges, $p+1, 1, 'UTF-8');
335
+            $str2 = mb_substr($ranges, $p + 1, 1, 'UTF-8');
336 336
             for ($i = mb_ord($str1),
337 337
                  $last = mb_ord($str2); $i <= $last; $i++) {
338 338
                 if (!isset(self::$s_CharProperties[$i])) {
Please login to merge, or discard this patch.
src/Util/UnmanagedByteArray.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function offsetExists($offset)
41 41
     {
42
-        return is_int($offset) && 0 <= $offset  && $offset < $this->length;
42
+        return is_int($offset) && 0 <= $offset && $offset < $this->length;
43 43
     }
44 44
 
45 45
     /**
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function offsetSet($offset, $value)
61 61
     {
62
-        if (!is_int($value) || $value <0 || $value > 255) {
62
+        if (!is_int($value) || $value < 0 || $value > 255) {
63 63
             throw new \InvalidArgumentException(sprintf('%s is an invalid value for a ByteArray', $value));
64 64
         }
65 65
         if ($this->readonly) {
Please login to merge, or discard this patch.
Validation/Internal/InterfaceValidator/VisitorOfIEntityContainerElement.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
                 break;
34 34
         }
35 35
 
36
-        return null !== $termKindError ? [ $termKindError ] : null;
36
+        return null !== $termKindError ? [$termKindError] : null;
37 37
     }
38 38
 
39 39
     public function forType(): string
Please login to merge, or discard this patch.
src/Edm/Validation/Internal/InterfaceValidator/VisitorOfIType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
                 break;
99 99
         }
100 100
 
101
-        return null !== $typeKindError ? [$typeKindError ] : null;
101
+        return null !== $typeKindError ? [$typeKindError] : null;
102 102
     }
103 103
 
104 104
     public function forType(): string
Please login to merge, or discard this patch.