Skip to content

Commit c69eba4

Browse files
committed
fix: restore PHPStan baseline entries for Configuration generic types
These errors are detected in CI due to cached Composer dependencies that don't have the generic type annotations yet. The CI cache uses restore-keys which can restore old dependency versions. The errors will disappear once the CI cache is invalidated or refreshed with newer Symfony Config versions that have proper generic type annotations.
1 parent 4c1f510 commit c69eba4

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.ci-tools/phpstan-baseline.neon

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,54 @@ parameters:
528528
count: 3
529529
path: ../src/symfony/src/DependencyInjection/Configuration.php
530530

531+
-
532+
rawMessage: 'Method Webauthn\Bundle\DependencyInjection\Configuration::getConfigTreeBuilder() return type with generic class Symfony\Component\Config\Definition\Builder\TreeBuilder does not specify its types: T'
533+
identifier: missingType.generics
534+
count: 1
535+
path: ../src/symfony/src/DependencyInjection/Configuration.php
536+
537+
-
538+
rawMessage: 'PHPDoc tag `@var` for variable $rootNode contains generic class Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition but does not specify its types: TParent'
539+
identifier: missingType.generics
540+
count: 1
541+
path: ../src/symfony/src/DependencyInjection/Configuration.php
542+
543+
-
544+
rawMessage: 'Method Webauthn\Bundle\DependencyInjection\Configuration::addCreationProfilesConfig() has parameter $rootNode with generic class Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition but does not specify its types: TParent'
545+
identifier: missingType.generics
546+
count: 1
547+
path: ../src/symfony/src/DependencyInjection/Configuration.php
548+
549+
-
550+
rawMessage: 'Method Webauthn\Bundle\DependencyInjection\Configuration::addRequestProfilesConfig() has parameter $rootNode with generic class Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition but does not specify its types: TParent'
551+
identifier: missingType.generics
552+
count: 1
553+
path: ../src/symfony/src/DependencyInjection/Configuration.php
554+
555+
-
556+
rawMessage: 'Method Webauthn\Bundle\DependencyInjection\Configuration::addControllersConfig() has parameter $rootNode with generic class Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition but does not specify its types: TParent'
557+
identifier: missingType.generics
558+
count: 1
559+
path: ../src/symfony/src/DependencyInjection/Configuration.php
560+
561+
-
562+
rawMessage: 'Method Webauthn\Bundle\DependencyInjection\Configuration::addMetadataConfig() has parameter $rootNode with generic class Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition but does not specify its types: TParent'
563+
identifier: missingType.generics
564+
count: 1
565+
path: ../src/symfony/src/DependencyInjection/Configuration.php
566+
567+
-
568+
rawMessage: 'Method Webauthn\Bundle\DependencyInjection\Configuration::addPasskeyEndpointsConfig() has parameter $rootNode with generic class Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition but does not specify its types: TParent'
569+
identifier: missingType.generics
570+
count: 1
571+
path: ../src/symfony/src/DependencyInjection/Configuration.php
572+
573+
-
574+
rawMessage: 'Method Webauthn\Bundle\DependencyInjection\Configuration::getUrlNode() return type with generic class Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition does not specify its types: TParent'
575+
identifier: missingType.generics
576+
count: 1
577+
path: ../src/symfony/src/DependencyInjection/Configuration.php
578+
531579
-
532580
rawMessage: '''
533581
Access to constant on deprecated interface Webauthn\Bundle\Repository\PublicKeyCredentialSourceRepositoryInterface:

0 commit comments

Comments
 (0)