8000 [WebLink] Specify Link attributes types in PHPDoc · symfony/symfony@99e84e9 · GitHub
[go: up one dir, main page]

Skip to content

[WebLink] Specify Link attributes types in PHPDoc #37944

[WebLink] Specify Link attributes types in PHPDoc

[WebLink] Specify Link attributes types in PHPDoc #37944

Triggered via pull request May 15, 2025 13:36
Status Failure
Total duration 5m 6s
Artifacts

psalm.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
UndefinedAttributeClass: src/Symfony/Component/WebLink/GenericLinkProvider.php#L65
src/Symfony/Component/WebLink/GenericLinkProvider.php:65:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
UndefinedAttributeClass: src/Symfony/Component/WebLink/GenericLinkProvider.php#L56
src/Symfony/Component/WebLink/GenericLinkProvider.php:56:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
UndefinedAttributeClass: src/Symfony/Component/WebLink/Link.php#L232
src/Symfony/Component/WebLink/Link.php:232:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
MoreSpecificImplementedParamType: src/Symfony/Component/WebLink/Link.php#L224
src/Symfony/Component/WebLink/Link.php:224:94: MoreSpecificImplementedParamType: Argument 2 of Symfony\Component\WebLink\Link::withAttribute has the more specific type 'Stringable|list<Stringable|scalar>|scalar', expecting 'Stringable|array<array-key, mixed>|scalar' as defined by Psr\Link\EvolvableLinkInterface::withAttribute (see https://psalm.dev/140)
UndefinedAttributeClass: src/Symfony/Component/WebLink/Link.php#L223
src/Symfony/Component/WebLink/Link.php:223:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
UndefinedAttributeClass: src/Symfony/Component/WebLink/Link.php#L206
src/Symfony/Component/WebLink/Link.php:206:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
UndefinedAttributeClass: src/Symfony/Component/WebLink/Link.php#L197
src/Symfony/Component/WebLink/Link.php:197:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
UndefinedAttributeClass: src/Symfony/Component/WebLink/Link.php#L188
src/Symfony/Component/WebLink/Link.php:188:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
UndefinedAttributeClass: src/Symfony/Component/WebLink/GenericLinkProvider.php#L65
src/Symfony/Component/WebLink/GenericLinkProvider.php:65:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
UndefinedAttributeClass: src/Symfony/Component/WebLink/GenericLinkProvider.php#L56
src/Symfony/Component/WebLink/GenericLinkProvider.php:56:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
0