Passed
Push — master ( 2ac80a...64818d )
by Christopher
03:57
created
src/MetadataV3/mapping/cs/TEntityTypeMappingType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
             $msg = 'Type name cannot be null or empty';
137 137
             return false;
138 138
         }
139
-        if (null != $this->modificationFunctionMapping && !$this->modificationFunctionMapping>isOK($msg)) {
139
+        if (null != $this->modificationFunctionMapping && !$this->modificationFunctionMapping > isOK($msg)) {
140 140
             return false;
141 141
         }
142 142
         if (!$this->isValidArray(
Please login to merge, or discard this patch.
tests/TestTypeTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,14 +188,14 @@
 block discarded – undo
188 188
     {
189 189
         $bar = m::mock(TestType::class);
190 190
         // closure needs to return true to match the matcher and thus trip the andReturn(false) bit
191
-        $bar->shouldReceive('isOK')->with(m::on(function (&$msg) {
191
+        $bar->shouldReceive('isOK')->with(m::on(function(&$msg) {
192 192
             $msg = 'OH NOES!';
193 193
             return true;
194 194
         }))->andReturn(false);
195 195
 
196 196
         $msg = null;
197 197
         $expected = "OH NOES!";
198
-        $arr = [ $bar ];
198
+        $arr = [$bar];
199 199
 
200 200
         $foo = new testType();
201 201
         $this->assertFalse($foo->isChildArrayOK($arr, $msg), $msg);
Please login to merge, or discard this patch.
src/MetadataV3/edm/ssdl/TTextType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
  */
20 20
 class TTextType extends IsOK
21 21
 {
22
-    public function IsOK(&$msg = null){
22
+    public function IsOK(&$msg = null) {
23 23
         return true;
24 24
     }
25 25
 }
Please login to merge, or discard this patch.
src/MetadataV3/edm/ssdl/IsOKTraits/TSimpleIdentifierTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     public function isTSimpleIdentifierValid($string)
15 15
     {
16
-        if(null == $string || empty($string)){
16
+        if (null == $string || empty($string)) {
17 17
             return false;
18 18
         }
19 19
         return true;
Please login to merge, or discard this patch.
src/MetadataV3/edm/ssdl/IsOKTraits/TPropertyTypeTrait.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
     use TQualifiedNameTrait;
15 15
     public function isTUndottedIdentifierValid($string)
16 16
     {
17
-        if(!$this->isTQualifiedNameValid($string)){
17
+        if (!$this->isTQualifiedNameValid($string)) {
18 18
             return false;
19 19
         }
20 20
 //          <!-- The below pattern represents the allowed identifiers in ECMA specification plus the '.' for namespace qualification -->
Please login to merge, or discard this patch.
src/MetadataV3/edm/ssdl/IsOKTraits/TStoreGeneratedPatternTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 {
14 14
     public function isTStoreGeneratedPatternValid($string)
15 15
     {
16
-        if("None" == $string ){
16
+        if ("None" == $string) {
17 17
             return true;
18 18
         }
19
-        if("Identity" == $string ){
19
+        if ("Identity" == $string) {
20 20
             return true;
21 21
         }
22
-        if("Computed" == $string ){
22
+        if ("Computed" == $string) {
23 23
             return true;
24 24
         }
25 25
         return false;
Please login to merge, or discard this patch.
src/MetadataV3/edm/ssdl/IsOKTraits/TMultiplicityTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 {
14 14
     public function isTMultiplicityValid($string)
15 15
     {
16
-        if("0..1" == $string ){
16
+        if ("0..1" == $string) {
17 17
             return true;
18 18
         }
19
-        if("1" == $string ){
19
+        if ("1" == $string) {
20 20
             return true;
21 21
         }
22
-        if("*" == $string ){
22
+        if ("*" == $string) {
23 23
             return true;
24 24
         }
25 25
         return false;
Please login to merge, or discard this patch.
src/MetadataV3/edm/ssdl/IsOKTraits/TCommandTextTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     public function isTCommandTextValid($string)
15 15
     {
16
-        if(null == $string || empty($string)){
16
+        if (null == $string || empty($string)) {
17 17
             return false;
18 18
         }
19 19
         return true;
Please login to merge, or discard this patch.
src/MetadataV3/edm/ssdl/IsOKTraits/TQualifiedNameTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function isTQualifiedNameValid($string)
10 10
     {
11
-        if(null == $string || empty($string)){
11
+        if (null == $string || empty($string)) {
12 12
             return false;
13 13
         }
14 14
         return true;
Please login to merge, or discard this patch.