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
26
26
public string $ context = 'VIRTUAL ' ;
27
27
28
28
#[StreamedName('@id ' )]
29
- public CollectionId $ id = CollectionId:: VALUE ;
29
+ public string $ id = ' VIRTUAL ' ;
30
30
31
31
#[StreamedName('@type ' )]
32
32
public string $ type = 'Collection ' ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 13
13
14
14
namespace ApiPlatform \Hydra \Serializer ;
15
15
16
- use ApiPlatform \Hydra \IriTemplate \ IriTemplateMapping ;
16
+ use ApiPlatform \Hydra \IriTemplateMapping ;
17
17
use ApiPlatform \Hydra \State \Util \SearchHelperTrait ;
18
18
use ApiPlatform \JsonLd \Serializer \HydraPrefixTrait ;
19
19
use ApiPlatform \Metadata \FilterInterface ;
@@ -132,7 +132,7 @@ public function setNormalizer(NormalizerInterface $normalizer): void
132
132
}
133
133
134
134
/**
135
- * @param IriTemplateMapping[] $mapping
135
+ * @param list< IriTemplateMapping> $mapping
136
136
*
137
137
* @return array<array<string, mixed>>
138
138
*/
Original file line number Diff line number Diff line change 26
26
use ApiPlatform \Metadata \ResourceClassResolverInterface ;
27
27
use ApiPlatform \Metadata \UrlGeneratorInterface ;
28
28
use ApiPlatform \State \Pagination \PaginatorInterface ;
29
+ use ApiPlatform \State \Pagination \PartialPaginatorInterface ;
29
30
use ApiPlatform \State \ProcessorInterface ;
30
31
use ApiPlatform \State \Util \HttpResponseHeadersTrait ;
31
32
use ApiPlatform \State \Util \HttpResponseStatusTrait ;
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public function getConfigTreeBuilder(): TreeBuilder
109
109
->end ()
110
110
->booleanNode ('handle_symfony_errors ' )->defaultFalse ()->info ('Allows to handle symfony exceptions. ' )->end ()
111
111
->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 ()
113
113
->booleanNode ('enable_swagger_ui ' )->defaultValue (class_exists (TwigBundle::class))->info ('Enable Swagger UI ' )->end ()
114
114
->booleanNode ('enable_re_doc ' )->defaultValue (class_exists (TwigBundle::class))->info ('Enable ReDoc ' )->end ()
115
115
->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
158
158
$ this ->markTestSkipped ();
159
159
}
160
160
161
+ if (\PHP_VERSION_ID < 80400 ) {
162
+ $ this ->markTestSkipped ('PHP version is lower than 8.4 ' );
163
+ }
164
+
161
165
$ buffer = '' ;
162
166
ob_start (function (string $ chunk ) use (&$ buffer ): void {
163
167
$ buffer .= $ chunk ;
You can’t perform that action at this time.
0 commit comments