Passed
Push — main ( e48091...6c9276 )
by Anatoly
05:36 queued 13s
created
src/Hydrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/TypeConverter/TimestampTypeConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
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(),
Please login to merge, or discard this patch.
src/DoctrineAnnotationReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
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
             ));
Please login to merge, or discard this patch.