Test Failed
Pull Request — master (#121)
by Christopher
10:07
created
src/MetadataV3/edm/IsOKTraits/EDMSimpleTypeTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function isEDMSimpleTypeValid($string)
15 15
     {
16 16
         if (!is_string($string)) {
17
-            $msg = "Input must be a string: " . get_class($this);
17
+            $msg = "Input must be a string: ".get_class($this);
18 18
             throw new \InvalidArgumentException($msg);
19 19
         }
20 20
         if (!in_array($string, static::$v3EDMSimpleType)) {
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/MetadataV3/edm/IsOKTraits/TPropertyTypeTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         //$regex = "/[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}(\.[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}){0,}/";
18 18
 
19 19
         if (!is_string($string)) {
20
-            $msg = "Input must be a string: " . get_class($this);
20
+            $msg = "Input must be a string: ".get_class($this);
21 21
             throw new \InvalidArgumentException($msg);
22 22
         }
23 23
         if (isset(static::$v3PropertyTypeCache[$string])) {
Please login to merge, or discard this patch.
tests/MetadataManagerNavigationTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         $result = null;
28 28
 
29 29
         list($CategoryType, $result) = $metadataManager->addEntityType("Category");
30
-        $this->assertNotFalse($CategoryType, "Etype is false not type " . $metadataManager->getLastError());
30
+        $this->assertNotFalse($CategoryType, "Etype is false not type ".$metadataManager->getLastError());
31 31
         $metadataManager->addPropertyToEntityType($CategoryType, "CategoryID", "Int32", null, false, true, "Identity");
32 32
         $metadataManager->addPropertyToEntityType($CategoryType, "CategoryName", "String");
33 33
         $metadataManager->addPropertyToEntityType($CategoryType, "Description", "String");
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         $this->assertTrue($metadataManager->getEdmx()->isOK($msg), $msg);
114 114
 
115 115
         $expectedRelation = "Data.Category_Products_Product_Category";
116
-        list($principalNav, ) = $metadataManager->addNavigationPropertyToEntityType(
116
+        list($principalNav,) = $metadataManager->addNavigationPropertyToEntityType(
117 117
             $CategoryType, "*", "Products", $ProductType, "1", "Category", ["CategoryID"], ["CategoryID"]
118 118
         );
119 119
         $this->assertEquals($expectedRelation, $principalNav->getRelationship());
Please login to merge, or discard this patch.
src/MetadataV3/edm/TTypeRefType.php 1 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.
src/MetadataV3/edmx/TDataServicesType.php 1 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.