Test Failed
Push — master ( 268315...188fde )
by Christopher
10:31
created
src/MetadataV3/edm/TSchemaType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
                     return false;
204 204
                 }
205 205
                 if (!in_array($navProp->getFromRole(), $roles)) {
206
-                    $msg = "Navigation Property Role " .$navProp->getToRole()
206
+                    $msg = "Navigation Property Role " . $navProp->getToRole()
207 207
                             . " lacks a matching Property in the assocation";
208 208
                     return false;
209 209
                 }
Please login to merge, or discard this patch.
src/MetadataV3/edm/Groups/GExpressionTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -687,12 +687,12 @@
 block discarded – undo
687 687
                 $counter += isset($this->$name) ? 1 : 0;
688 688
             }
689 689
             if (-1 < $this->gExpressionMinimum && $counter < $this->gExpressionMinimum) {
690
-                $msg = $counter . " fields not null.  Need minimum of ".$this->gExpressionMinimum. ": "
690
+                $msg = $counter . " fields not null.  Need minimum of " . $this->gExpressionMinimum . ": "
691 691
                         . get_class($this);
692 692
                 return false;
693 693
             }
694 694
             if (-1 < $this->gExpressionMaximum && $counter > $this->gExpressionMaximum) {
695
-                $msg = $counter . " fields not null.  Need maximum of ".$this->gExpressionMaximum. ": "
695
+                $msg = $counter . " fields not null.  Need maximum of " . $this->gExpressionMaximum . ": "
696 696
                         . get_class($this);
697 697
                 return false;
698 698
             }
Please login to merge, or discard this patch.
src/MetadataV3/edm/EntityContainer/FunctionImportAnonymousType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
             for ($j = $i + 1; $j < $numParms; $j++) {
147 147
                 assert(
148 148
                     $this->parameter[$j] instanceof TFunctionImportParameterType,
149
-                    get_class($this->parameter[$j]). ' ' . $j
149
+                    get_class($this->parameter[$j]) . ' ' . $j
150 150
                 );
151 151
                 $inName = $this->parameter[$j]->getName();
152 152
                 if ($outName == $inName) {
Please login to merge, or discard this patch.
src/MetadataV1/mapping/cs/TQueryViewType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * Gets or sets the inner value
37 37
      *
38
-     * @param string[] $value
38
+     * @param string $value
39 39
      * @return string
40 40
      */
41 41
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV3/edm/TTypeRefType.php 7 patches
Doc Comments   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -75,9 +75,4 @@
 block discarded – undo
75 75
         if (!$this->isExtensibilityElementOK($msg)) {
76 76
             return false;
77 77
         }
78
-        if (!$this->isTFacetAttributesTraitValid($msg)) {
79
-            return false;
80
-        }
81
-        return true;
82
-    }
83
-}
78
+        if (!$this->isTFacetAttributesTraitValid($msg
84 79
\ No newline at end of file
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -75,9 +75,4 @@
 block discarded – undo
75 75
         if (!$this->isExtensibilityElementOK($msg)) {
76 76
             return false;
77 77
         }
78
-        if (!$this->isTFacetAttributesTraitValid($msg)) {
79
-            return false;
80
-        }
81
-        return true;
82
-    }
83
-}
78
+        if (!$this->isTFacetAttributesTraitValid($msg
84 79
\ No newline at end of file
Please login to merge, or discard this patch.
Indentation   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -75,9 +75,4 @@
 block discarded – undo
75 75
         if (!$this->isExtensibilityElementOK($msg)) {
76 76
             return false;
77 77
         }
78
-        if (!$this->isTFacetAttributesTraitValid($msg)) {
79
-            return false;
80
-        }
81
-        return true;
82
-    }
83
-}
78
+        if (!$this->isTFacetAttributesTraitValid($msg
84 79
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -75,9 +75,4 @@
 block discarded – undo
75 75
         if (!$this->isExtensibilityElementOK($msg)) {
76 76
             return false;
77 77
         }
78
-        if (!$this->isTFacetAttributesTraitValid($msg)) {
79
-            return false;
80
-        }
81
-        return true;
82
-    }
83
-}
78
+        if (!$this->isTFacetAttributesTraitValid($msg
84 79
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +2 added lines, -7 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     private $type = null;
34 34
 
35
-<<<<<<< HEAD
35
+<< << <<< HEAD
36 36
         /**
37 37
          * Gets as type
38 38
          *
@@ -75,9 +75,4 @@  discard block
 block discarded – undo
75 75
         if (!$this->isExtensibilityElementOK($msg)) {
76 76
             return false;
77 77
         }
78
-        if (!$this->isTFacetAttributesTraitValid($msg)) {
79
-            return false;
80
-        }
81
-        return true;
82
-    }
83
-}
78
+        if (!$this->isTFacetAttributesTraitValid($msg
84 79
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -75,9 +75,4 @@
 block discarded – undo
75 75
         if (!$this->isExtensibilityElementOK($msg)) {
76 76
             return false;
77 77
         }
78
-        if (!$this->isTFacetAttributesTraitValid($msg)) {
79
-            return false;
80
-        }
81
-        return true;
82
-    }
83
-}
78
+        if (!$this->isTFacetAttributesTraitValid($msg
84 79
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -75,9 +75,4 @@
 block discarded – undo
75 75
         if (!$this->isExtensibilityElementOK($msg)) {
76 76
             return false;
77 77
         }
78
-        if (!$this->isTFacetAttributesTraitValid($msg)) {
79
-            return false;
80
-        }
81
-        return true;
82
-    }
83
-}
78
+        if (!$this->isTFacetAttributesTraitValid($msg
84 79
\ No newline at end of file
Please login to merge, or discard this patch.
src/MetadataV3/edmx/TDataServicesType.php 7 patches
Doc Comments   +1 added lines, -7 removed lines patch added patch discarded remove patch
@@ -176,10 +176,4 @@
 block discarded – undo
176 176
             return false;
177 177
         }
178 178
 
179
-        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) {
180
-            return false;
181
-        }
182
-
183
-        return true;
184
-    }
185
-}
179
+        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg
186 180
\ No newline at end of file
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -7 removed lines patch added patch discarded remove patch
@@ -176,10 +176,4 @@
 block discarded – undo
176 176
             return false;
177 177
         }
178 178
 
179
-        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) {
180
-            return false;
181
-        }
182
-
183
-        return true;
184
-    }
185
-}
179
+        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg
186 180
\ No newline at end of file
Please login to merge, or discard this patch.
Indentation   +1 added lines, -7 removed lines patch added patch discarded remove patch
@@ -176,10 +176,4 @@
 block discarded – undo
176 176
             return false;
177 177
         }
178 178
 
179
-        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) {
180
-            return false;
181
-        }
182
-
183
-        return true;
184
-    }
185
-}
179
+        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg
186 180
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -7 removed lines patch added patch discarded remove patch
@@ -176,10 +176,4 @@
 block discarded – undo
176 176
             return false;
177 177
         }
178 178
 
179
-        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) {
180
-            return false;
181
-        }
182
-
183
-        return true;
184
-    }
185
-}
179
+        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg
186 180
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +2 added lines, -8 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     {
154 154
         if (!$this->isValidArrayOK(
155 155
             $dataServices,
156
-<<<<<<< HEAD
156
+<< << <<< HEAD
157 157
             '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema',
158 158
             $msg,
159 159
             1
@@ -176,10 +176,4 @@  discard block
 block discarded – undo
176 176
             return false;
177 177
         }
178 178
 
179
-        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) {
180
-            return false;
181
-        }
182
-
183
-        return true;
184
-    }
185
-}
179
+        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg
186 180
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -7 removed lines patch added patch discarded remove patch
@@ -176,10 +176,4 @@
 block discarded – undo
176 176
             return false;
177 177
         }
178 178
 
179
-        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) {
180
-            return false;
181
-        }
182
-
183
-        return true;
184
-    }
185
-}
179
+        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg
186 180
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -7 removed lines patch added patch discarded remove patch
@@ -176,10 +176,4 @@
 block discarded – undo
176 176
             return false;
177 177
         }
178 178
 
179
-        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) {
180
-            return false;
181
-        }
182
-
183
-        return true;
184
-    }
185
-}
179
+        if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg
186 180
\ No newline at end of file
Please login to merge, or discard this patch.
src/MetadataV3/edmx/TEdmxType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace AlgoWeb\ODataMetadata\MetadataV3\edmx;
4 4
 
5 5
 use AlgoWeb\ODataMetadata\IsOK;
6
-use AlgoWeb\ODataMetadata\MetadataV3\edm\Schema;
7 6
 
8 7
 /**
9 8
  * Class representing TEdmxType
Please login to merge, or discard this patch.
src/MetadataV4/edm/TBinaryConstantExpressionType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     /**
31 31
      * Gets or sets the inner value
32 32
      *
33
-     * @param string[] $value
33
+     * @param string $value
34 34
      * @return string
35 35
      */
36 36
     public function value(...$value)
Please login to merge, or discard this patch.
src/MetadataV4/edm/TBoolConstantExpressionType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     /**
31 31
      * Gets or sets the inner value
32 32
      *
33
-     * @param boolean[] $value
33
+     * @param boolean $value
34 34
      * @return boolean
35 35
      */
36 36
     public function value(...$value)
Please login to merge, or discard this patch.