@@ -55,7 +55,7 @@ |
||
| 55 | 55 | |
| 56 | 56 | $this->expectException(InvalidArgumentException::class); |
| 57 | 57 | $this->expectExceptionMessage('The <' . Fixture\BarDtoCollection::class . '> collection ' . |
| 58 | - 'must contain only the <' . Fixture\BarDto::class . '> objects.'); |
|
| 58 | + 'must contain only the <' . Fixture\BarDto::class . '> objects.'); |
|
| 59 | 59 | |
| 60 | 60 | $collection->add(new Fixture\BazDto()); |
| 61 | 61 | } |
@@ -54,8 +54,8 @@ |
||
| 54 | 54 | $collection = new Fixture\BarDtoCollection(); |
| 55 | 55 | |
| 56 | 56 | $this->expectException(InvalidArgumentException::class); |
| 57 | - $this->expectExceptionMessage('The <' . Fixture\BarDtoCollection::class . '> collection ' . |
|
| 58 | - 'must contain only the <' . Fixture\BarDto::class . '> objects.'); |
|
| 57 | + $this->expectExceptionMessage('The <'.Fixture\BarDtoCollection::class.'> collection '. |
|
| 58 | + 'must contain only the <'.Fixture\BarDto::class.'> objects.'); |
|
| 59 | 59 | |
| 60 | 60 | $collection->add(new Fixture\BazDto()); |
| 61 | 61 | } |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | |
| 120 | 120 | $this->expectException(Exception\UnsupportedObjectPropertyTypeException::class); |
| 121 | 121 | $this->expectExceptionMessage('The <WithUnsupportedPropertyTypeDto.value> property ' . |
| 122 | - 'contains the <Unknown> unhydrable type.'); |
|
| 122 | + 'contains the <Unknown> unhydrable type.'); |
|
| 123 | 123 | |
| 124 | 124 | $hydrator->hydrate($object, [ |
| 125 | 125 | 'value' => 'foo', |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | $hydrator = new Hydrator(); |
| 119 | 119 | |
| 120 | 120 | $this->expectException(Exception\UnsupportedObjectPropertyTypeException::class); |
| 121 | - $this->expectExceptionMessage('The <WithUnsupportedPropertyTypeDto.value> property ' . |
|
| 121 | + $this->expectExceptionMessage('The <WithUnsupportedPropertyTypeDto.value> property '. |
|
| 122 | 122 | 'contains the <Unknown> unhydrable type.'); |
| 123 | 123 | |
| 124 | 124 | $hydrator->hydrate($object, [ |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | return [ |
| 251 | 251 | [[]], |
| 252 | 252 | [new \stdClass], |
| 253 | - [function () { |
|
| 253 | + [function() { |
|
| 254 | 254 | }], |
| 255 | 255 | [\STDOUT], |
| 256 | 256 | ]; |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | [1.1], |
| 268 | 268 | [''], |
| 269 | 269 | [new \stdClass], |
| 270 | - [function () { |
|
| 270 | + [function() { |
|
| 271 | 271 | }], |
| 272 | 272 | [\STDOUT], |
| 273 | 273 | ]; |
@@ -286,7 +286,7 @@ discard block |
||
| 286 | 286 | ['0'], |
| 287 | 287 | ['non-date-time-string'], |
| 288 | 288 | [new \stdClass], |
| 289 | - [function () { |
|
| 289 | + [function() { |
|
| 290 | 290 | }], |
| 291 | 291 | [\STDOUT], |
| 292 | 292 | ]; |