Completed
Push — master ( a51edc...886229 )
by Alex
22s queued 14s
created
src/Enums/SchemaElementKind.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 {
27 27
     protected const None            = null;
28 28
     protected const TypeDefinition  = 'SchemaType';
29
-    protected const Function        = 'Function';
29
+    protected const function        = 'Function';
30 30
     protected const ValueTerm       = 'ValueTerm';
31 31
     protected const EntityContainer = 'EntityContainer';
32 32
 }
Please login to merge, or discard this patch.
src/Enums/ExpressionKind.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     protected const IntegerConstant             = 8;
80 80
     protected const StringConstant              = 9;
81 81
     protected const TimeConstant                = 10;
82
-    protected const Null                        = 11;
82
+    protected const null                        = 11;
83 83
     protected const Record                      = 12;
84 84
     protected const Collection                  = 14;
85 85
     protected const Path                        = 15;
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     protected const ValueTermReference          = 19;
90 90
     protected const EntitySetReference          = 20;
91 91
     protected const EnumMemberReference         = 21;
92
-    protected const If                          = 22;
92
+    protected const if                          = 22;
93 93
     protected const AssertType                  = 23;
94 94
     protected const IsType                      = 24;
95 95
     protected const FunctionApplication         = 25;
Please login to merge, or discard this patch.
src/Enums/Enum.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         $regexBase = '/(is)(%s)/m';
25 25
         $regexFull = sprintf($regexBase, implode('$|', array_keys($array)));
26 26
         preg_match($regexFull, $name, $match);
27
-        if (count($match)>0 && $match[0] === $name) {
27
+        if (count($match) > 0 && $match[0] === $name) {
28 28
             return $this->{$match[1] . 'Flag'}($array[$match[2]], $arguments[0] ?? null);
29 29
         }
30 30
         throw new BadMethodCallException(sprintf('Enum %s not found on %s', $name, get_class($this)));
Please login to merge, or discard this patch.
src/Interfaces/Values/IBooleanValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,5 +17,5 @@
 block discarded – undo
17 17
     /**
18 18
      * @return bool gets a value indicating whether the value of this boolean value is true or false
19 19
      */
20
-    public function getValue(): bool ;
20
+    public function getValue(): bool;
21 21
 }
Please login to merge, or discard this patch.
src/Interfaces/Values/IDateTimeValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,5 +19,5 @@
 block discarded – undo
19 19
     /**
20 20
      * @return DateTime gets the definition of this datetime value
21 21
      */
22
-    public function getValue(): DateTime ;
22
+    public function getValue(): DateTime;
23 23
 }
Please login to merge, or discard this patch.
src/Interfaces/Values/IFloatingValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,5 +17,5 @@
 block discarded – undo
17 17
     /**
18 18
      * @return float gets the definition of this floating   value
19 19
      */
20
-    public function getValue(): float ;
20
+    public function getValue(): float;
21 21
 }
Please login to merge, or discard this patch.
src/Interfaces/Values/IDecimalValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,5 +17,5 @@
 block discarded – undo
17 17
     /**
18 18
      * @return float gets the definition of this decimal  value
19 19
      */
20
-    public function getValue(): float ;
20
+    public function getValue(): float;
21 21
 }
Please login to merge, or discard this patch.
src/Edm/Validation/Internal/ValidationHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
         if (count($set1) != count($set2)) {
97 97
             return false;
98 98
         }
99
-        for ($i = count($set1) -1; $i > -1; --$i) {
99
+        for ($i = count($set1) - 1; $i > -1; --$i) {
100 100
             if ($set1[$i] !== $set2[$i]) {
101 101
                 return false;
102 102
             }
Please login to merge, or discard this patch.
src/Csdl/Internal/Serialization/Helpers/AssociationSetAnnotations.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,5 +11,5 @@
 block discarded – undo
11 11
 
12 12
     public $End1Annotations;
13 13
 
14
-    public $End2Annotations ;
14
+    public $End2Annotations;
15 15
 }
Please login to merge, or discard this patch.