@@ -273,7 +273,7 @@ |
||
| 273 | 273 | try { |
| 274 | 274 | // phpcs:ignore Generic.Files.LineLength |
| 275 | 275 | $data = extension_loaded('simdjson') ? simdjson_decode($json, true, $depth) : json_decode($json, true, $depth, $flags | JSON_THROW_ON_ERROR); |
| 276 | - } catch (JsonException|SimdJsonException $e) { |
|
| 276 | + } catch (JsonException | SimdJsonException $e) { |
|
| 277 | 277 | // phpcs:ignore Generic.Files.LineLength |
| 278 | 278 | throw new InvalidDataException(sprintf('The JSON is invalid and couldn‘t be decoded due to: %s', $e->getMessage())); |
| 279 | 279 | } |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | $format = $this->annotationReader->getAnnotations($type->getHolder(), Format::class)->current(); |
| 68 | 68 | if ($format === null) { |
| 69 | 69 | throw new UnsupportedPropertyTypeException(sprintf( |
| 70 | - 'The property %1$s.%2$s must contain the attribute %3$s, ' . |
|
| 70 | + 'The property %1$s.%2$s must contain the attribute %3$s, '. |
|
| 71 | 71 | 'for example: #[\%3$s(\DateTimeInterface::DATE_RFC3339)].', |
| 72 | 72 | $type->getHolder()->getDeclaringClass()->getName(), |
| 73 | 73 | $type->getHolder()->getName(), |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | // @codeCoverageIgnoreStart |
| 58 | 58 | if (!class_exists(AnnotationReader::class)) { |
| 59 | 59 | throw new LogicException(sprintf( |
| 60 | - 'The annotation reader {%s} requires the package doctrine/annotations, ' . |
|
| 60 | + 'The annotation reader {%s} requires the package doctrine/annotations, '. |
|
| 61 | 61 | 'run the command `composer require doctrine/annotations` to resolve it.', |
| 62 | 62 | __CLASS__, |
| 63 | 63 | )); |