Test Failed
Pull Request — master (#120)
by Christopher
04:51
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.