@@ -506,7 +506,7 @@ |
||
| 506 | 506 | 'empty string, single field' => [$emptyString, ''], |
| 507 | 507 | 'non-empty string, single field' => [$nonEmptyString, $nonEmptyString->id], |
| 508 | 508 | 'empty strings, two fields' => [$emptyStrings, ' '], |
| 509 | - 'non-empty strings, two fields' => [$nonEmptyStrings, $nonEmptyStrings->id1 . ' ' . $nonEmptyStrings->id2], |
|
| 509 | + 'non-empty strings, two fields' => [$nonEmptyStrings, $nonEmptyStrings->id1.' '.$nonEmptyStrings->id2], |
|
| 510 | 510 | 'boolean true' => [$booleanTrue, '1'], |
| 511 | 511 | 'boolean false' => [$booleanFalse, ''], |
| 512 | 512 | ]; |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | self::assertSame(array_keys($expectedId), array_keys($id)); |
| 62 | 62 | |
| 63 | 63 | foreach ($expectedId as $field => $value) { |
| 64 | - if (! is_object($value)) { |
|
| 64 | + if ( ! is_object($value)) { |
|
| 65 | 65 | self::assertSame($id[$field], $value); |
| 66 | 66 | |
| 67 | 67 | continue; |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | $className = array_pop($namespaceParts); |
| 46 | 46 | $namespace = implode('\\', $namespaceParts); |
| 47 | 47 | |
| 48 | - eval('namespace ' . $namespace . ' { class ' . $className . ' {} }'); |
|
| 48 | + eval('namespace '.$namespace.' { class '.$className.' {} }'); |
|
| 49 | 49 | |
| 50 | 50 | self::assertSame($expectedClassName, StaticClassNameConverter::getClass(new $givenClassName())); |
| 51 | 51 | } |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | |
| 88 | 88 | public function addInfo(AttractionInfo $info) |
| 89 | 89 | { |
| 90 | - if (! $this->infos->contains($info)) { |
|
| 90 | + if ( ! $this->infos->contains($info)) { |
|
| 91 | 91 | $this->infos->add($info); |
| 92 | 92 | } |
| 93 | 93 | } |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | |
| 89 | 89 | public function addTravel(Travel $item) |
| 90 | 90 | { |
| 91 | - if (! $this->travels->contains($item)) { |
|
| 91 | + if ( ! $this->travels->contains($item)) { |
|
| 92 | 92 | $this->travels->add($item); |
| 93 | 93 | } |
| 94 | 94 | |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | |
| 85 | 85 | public function addFriend(CompanyPerson $friend) |
| 86 | 86 | { |
| 87 | - if (! $this->friends->contains($friend)) { |
|
| 87 | + if ( ! $this->friends->contains($friend)) { |
|
| 88 | 88 | $this->friends->add($friend); |
| 89 | 89 | $friend->addFriend($this); |
| 90 | 90 | } |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | |
| 67 | 67 | public function addProduct(ECommerceProduct $product) |
| 68 | 68 | { |
| 69 | - if (! $this->products->contains($product)) { |
|
| 69 | + if ( ! $this->products->contains($product)) { |
|
| 70 | 70 | $this->products[] = $product; |
| 71 | 71 | $product->addCategory($this); |
| 72 | 72 | } |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | |
| 132 | 132 | public function addCategory(ECommerceCategory $category) |
| 133 | 133 | { |
| 134 | - if (! $this->categories->contains($category)) { |
|
| 134 | + if ( ! $this->categories->contains($category)) { |
|
| 135 | 135 | $this->categories[] = $category; |
| 136 | 136 | $category->addProduct($this); |
| 137 | 137 | } |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | |
| 163 | 163 | public function addRelated(ECommerceProduct $related) |
| 164 | 164 | { |
| 165 | - if (! $this->related->contains($related)) { |
|
| 165 | + if ( ! $this->related->contains($related)) { |
|
| 166 | 166 | $this->related[] = $related; |
| 167 | 167 | $related->addRelated($this); |
| 168 | 168 | } |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | return; |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - if (! isset(self::$sharedConn)) { |
|
| 39 | + if ( ! isset(self::$sharedConn)) { |
|
| 40 | 40 | self::$sharedConn = TestUtil::getConnection(); |
| 41 | 41 | } |
| 42 | 42 | |