Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -1638,12 +1638,6 @@ parameters:
count: 1
path: tests/lib/RichText/Converter/LinkTest.php

-
message: '#^Parameter \#2 \$function of class Ibexa\\Core\\Base\\Exceptions\\UnauthorizedException constructor expects string, int given\.$#'
identifier: argument.type
count: 4
path: tests/lib/RichText/Converter/LinkTest.php

-
message: '#^Method Ibexa\\Tests\\FieldTypeRichText\\RichText\\Converter\\Render\\EmbedTest\:\:providerForTestConvert\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
Expand Down
8 changes: 4 additions & 4 deletions tests/lib/RichText/Converter/LinkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public function providerBadLocationLink(): array
</para>
</section>',
106,
new APIUnauthorizedException('Location', 106),
new APIUnauthorizedException('content', 'read', ['Location' => 106]),
'notice',
'While generating links for richtext, unauthorized to load Location with ID 106',
],
Expand All @@ -295,7 +295,7 @@ public function providerBadLocationLink(): array
</ezembed>
</section>',
106,
new APIUnauthorizedException('Location', 106),
new APIUnauthorizedException('content', 'read', ['Location' => 106]),
'notice',
'While generating links for richtext, unauthorized to load Location with ID 106',
],
Expand Down Expand Up @@ -490,7 +490,7 @@ public function providerBadContentLink(): array
</para>
</section>',
205,
new APIUnauthorizedException('Content', 205),
new APIUnauthorizedException('content', 'read', ['Content' => 205]),
'notice',
'While generating links for richtext, unauthorized to load Content object with ID 205',
],
Expand All @@ -510,7 +510,7 @@ public function providerBadContentLink(): array
</ezembed>
</section>',
205,
new APIUnauthorizedException('Content', 205),
new APIUnauthorizedException('content', 'read', ['Content' => 205]),
'notice',
'While generating links for richtext, unauthorized to load Content object with ID 205',
],
Expand Down
Loading