Skip to content

Commit

Permalink
Fixes after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Nov 4, 2024
1 parent bebe1a4 commit 59c76c5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -11085,6 +11085,11 @@ parameters:
count: 1
path: src/lib/MVC/Symfony/EventListener/LanguageSwitchListener.php

-
message: "#^Parameter \\#1 \\$properties of class Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Routing\\\\SimplifiedRequest constructor expects array, string given\\.$#"
count: 1
path: src/lib/MVC/Symfony/EventListener/SiteAccessMatchListener.php

-
message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\ExpressionLanguage\\\\TwigVariableProviderExtension\\:\\:hasParameterProvider\\(\\) has parameter \\$variables with no value type specified in iterable type array\\.$#"
count: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,6 @@ private function getSerializer(): SerializerInterface
new HostElementNormalizer(),
new URITextNormalizer(),
new HostTextNormalizer(),
new RegexURINormalizer(),
new RegexHostNormalizer(),
new RegexNormalizer(),
new URIElementNormalizer(),
new SimplifiedRequestNormalizer(),
Expand Down
8 changes: 5 additions & 3 deletions tests/lib/MVC/Symfony/SiteAccess/MatcherSerializationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,15 @@ public function matcherProvider(): iterable
[
'prefix' => 'foo',
'suffix' => 'bar',
]),
]
),
];
yield 'URIElement' => [
new Matcher\URIElement([
new Matcher\URIElement(
[
'elementNumber' => 2,
]
),
),
];
yield 'HostElement' => [
new Matcher\HostElement(
Expand Down

0 comments on commit 59c76c5

Please sign in to comment.