Skip to content

Commit

Permalink
[PHPStan] Aligned baseline with the changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Apr 18, 2024
1 parent 1bbf42e commit fd21844
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 65 deletions.
5 changes: 0 additions & 5 deletions phpstan-baseline-7.4.neon
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,6 @@ parameters:
count: 1
path: src/bundle/Core/Imagine/PlaceholderProvider/RemoteProvider.php

-
message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|false given\\.$#"
count: 1
path: src/bundle/Debug/Twig/DebugTemplate.php

-
message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|false given\\.$#"
count: 1
Expand Down
5 changes: 0 additions & 5 deletions phpstan-baseline-8.0.neon
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,6 @@ parameters:
count: 2
path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php

-
message: "#^Parameter \\#1 \\$string of function trim expects string, string\\|false given\\.$#"
count: 1
path: src/bundle/Debug/Twig/DebugTemplate.php

-
message: "#^Parameter \\#1 \\$stream of function fclose expects resource, resource\\|false given\\.$#"
count: 1
Expand Down
55 changes: 0 additions & 55 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4140,66 +4140,11 @@ parameters:
count: 1
path: src/bundle/Debug/DependencyInjection/Compiler/DataCollectorPass.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\DependencyInjection\\\\IbexaDebugExtension\\:\\:load\\(\\) has no return type specified\\.$#"
count: 1
path: src/bundle/Debug/DependencyInjection/IbexaDebugExtension.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\DependencyInjection\\\\IbexaDebugExtension\\:\\:prepend\\(\\) has no return type specified\\.$#"
count: 1
path: src/bundle/Debug/DependencyInjection/IbexaDebugExtension.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\IbexaDebugBundle\\:\\:build\\(\\) has no return type specified\\.$#"
count: 1
path: src/bundle/Debug/IbexaDebugBundle.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\Twig\\\\DebugTemplate\\:\\:display\\(\\) has parameter \\$blocks with no value type specified in iterable type array\\.$#"
count: 1
path: src/bundle/Debug/Twig/DebugTemplate.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\Twig\\\\DebugTemplate\\:\\:display\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#"
count: 1
path: src/bundle/Debug/Twig/DebugTemplate.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\Twig\\\\DebugTemplate\\:\\:doDisplay\\(\\) has parameter \\$blocks with no value type specified in iterable type array\\.$#"
count: 1
path: src/bundle/Debug/Twig/DebugTemplate.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Debug\\\\Twig\\\\DebugTemplate\\:\\:doDisplay\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#"
count: 1
path: src/bundle/Debug/Twig/DebugTemplate.php

-
message: "#^Parameter \\#1 \\$haystack of function stripos expects string, string\\|false\\|null given\\.$#"
count: 1
path: src/bundle/Debug/Twig/DebugTemplate.php

-
message: "#^Parameter \\#1 \\$path of function dirname expects string, string\\|false given\\.$#"
count: 1
path: src/bundle/Debug/Twig/DebugTemplate.php

-
message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|false\\|null given\\.$#"
count: 2
path: src/bundle/Debug/Twig/DebugTemplate.php

-
message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, string\\|false given\\.$#"
count: 1
path: src/bundle/Debug/Twig/DebugTemplate.php

-
message: "#^Property Ibexa\\\\Bundle\\\\Debug\\\\Twig\\\\DebugTemplate\\:\\:\\$fileSystem has no type specified\\.$#"
count: 1
path: src/bundle/Debug/Twig/DebugTemplate.php

-
message: "#^Method Ibexa\\\\Bundle\\\\IO\\\\ApiLoader\\\\HandlerRegistry\\:\\:setHandlersMap\\(\\) has no return type specified\\.$#"
count: 1
Expand Down

0 comments on commit fd21844

Please sign in to comment.