Skip to content

Commit 1f7a3e8

Browse files
committed
fix: version-specific fixture for Symfony 7.3 and remove stale baseline entry
- Use 'symfony-7.3' fixture suffix for Symfony 7.3 where the unsealed array shape extra value type is resolved differently (oneOf vs nullable) - Remove stale LegacyTypeConverter baseline entry that was erroneously added and doesn't exist on 5.x
1 parent 1310437 commit 1f7a3e8

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

phpstan-baseline.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ parameters:
4242
count: 2
4343
path: src/Render/Html/HtmlOpenApiRenderer.php
4444

45-
-
46-
message: '#^Unable to resolve the template type T in call to static method Symfony\\Component\\TypeInfo\\Type\:\:collection\(\)$#'
47-
identifier: argument.templateType
48-
count: 1
49-
path: src/Util/LegacyTypeConverter.php
50-
5145
-
5246
message: '#^PHPDoc tag @implements has invalid type Symfony\\Component\\TypeInfo\\Type\\ArrayShapeType\.$#'
5347
count: 1

tests/Functional/ControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ static function (RoutingConfigurator $routes) {
720720
if (version_compare(Kernel::VERSION, '7.3.0', '>=') && class_exists(TypeInfoType\ArrayShapeType::class)) {
721721
yield 'Array shape types' => [
722722
'ArrayShapeController',
723-
null,
723+
version_compare(Kernel::VERSION, '7.4.0', '>=') ? null : 'symfony-7.3',
724724
[],
725725
[
726726
'nelmio_api_doc' => [

0 commit comments

Comments
 (0)