File tree Expand file tree Collapse file tree 6 files changed +9
-23
lines changed
Symfony/Bundle/DependencyInjection Expand file tree Collapse file tree 6 files changed +9
-23
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class Collection
2626 public string $ context = 'VIRTUAL ' ;
2727
2828 #[StreamedName('@id ' )]
29- public CollectionId $ id = CollectionId:: VALUE ;
29+ public string $ id = ' VIRTUAL ' ;
3030
3131 #[StreamedName('@type ' )]
3232 public string $ type = 'Collection ' ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1313
1414namespace ApiPlatform \Hydra \Serializer ;
1515
16- use ApiPlatform \Hydra \IriTemplate \ IriTemplateMapping ;
16+ use ApiPlatform \Hydra \IriTemplateMapping ;
1717use ApiPlatform \Hydra \State \Util \SearchHelperTrait ;
1818use ApiPlatform \JsonLd \Serializer \HydraPrefixTrait ;
1919use ApiPlatform \Metadata \FilterInterface ;
@@ -132,7 +132,7 @@ public function setNormalizer(NormalizerInterface $normalizer): void
132132 }
133133
134134 /**
135- * @param IriTemplateMapping[] $mapping
135+ * @param list< IriTemplateMapping> $mapping
136136 *
137137 * @return array<array<string, mixed>>
138138 */
Original file line number Diff line number Diff line change 2626use ApiPlatform \Metadata \ResourceClassResolverInterface ;
2727use ApiPlatform \Metadata \UrlGeneratorInterface ;
2828use ApiPlatform \State \Pagination \PaginatorInterface ;
29+ use ApiPlatform \State \Pagination \PartialPaginatorInterface ;
2930use ApiPlatform \State \ProcessorInterface ;
3031use ApiPlatform \State \Util \HttpResponseHeadersTrait ;
3132use ApiPlatform \State \Util \HttpResponseStatusTrait ;
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public function getConfigTreeBuilder(): TreeBuilder
109109 ->end ()
110110 ->booleanNode ('handle_symfony_errors ' )->defaultFalse ()->info ('Allows to handle symfony exceptions. ' )->end ()
111111 ->booleanNode ('enable_swagger ' )->defaultTrue ()->info ('Enable the Swagger documentation and export. ' )->end ()
112- ->booleanNode ('enable_json_streamer ' )->defaultValue (class_exists (JsonStreamWriter::class))->info ('Enable the json stream writerw . ' )->end ()
112+ ->booleanNode ('enable_json_streamer ' )->defaultValue (class_exists (JsonStreamWriter::class))->info ('Enable json streamer . ' )->end ()
113113 ->booleanNode ('enable_swagger_ui ' )->defaultValue (class_exists (TwigBundle::class))->info ('Enable Swagger UI ' )->end ()
114114 ->booleanNode ('enable_re_doc ' )->defaultValue (class_exists (TwigBundle::class))->info ('Enable ReDoc ' )->end ()
115115 ->booleanNode ('enable_entrypoint ' )->defaultTrue ()->info ('Enable the entrypoint ' )->end ()
Original file line number Diff line number Diff line change @@ -158,6 +158,10 @@ public function testJsonStreamerWrite(): void
158158 $ this ->markTestSkipped ();
159159 }
160160
161+ if (\PHP_VERSION_ID < 80400 ) {
162+ $ this ->markTestSkipped ('PHP version is lower than 8.4 ' );
163+ }
164+
161165 $ buffer = '' ;
162166 ob_start (function (string $ chunk ) use (&$ buffer ): void {
163167 $ buffer .= $ chunk ;
You can’t perform that action at this time.
0 commit comments