-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In this commit phpstan is updated to the latest version (2.0.2). By doing so some new errors bubbled up, these are also addressed in this commit.
- Loading branch information
Showing
7 changed files
with
31 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,43 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Method Dev\\\\Common\\\\Infrastructure\\\\Cache\\\\RecordingCache\\:\\:get\\(\\) has parameter \\$metadata with no value type specified in iterable type array\\.$#" | ||
message: '#^Method Dev\\Common\\Infrastructure\\Cache\\RecordingCache\:\:get\(\) has parameter \$metadata with no value type specified in iterable type array\.$#' | ||
identifier: missingType.iterableValue | ||
count: 1 | ||
path: src-dev/Common/Infrastructure/Cache/RecordingCache.php | ||
|
||
- | ||
message: "#^Method App\\\\Feed\\\\Infrastructure\\\\Persistence\\\\Doctrine\\\\Article\\\\DoctrineArticleRepository\\:\\:findByUrl\\(\\) should return App\\\\Feed\\\\Domain\\\\Article\\\\Article\\|null but returns mixed\\.$#" | ||
message: '#^Method App\\Feed\\Infrastructure\\Persistence\\Doctrine\\Article\\DoctrineArticleRepository\:\:findByUrl\(\) should return App\\Feed\\Domain\\Article\\Article\|null but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: src/Feed/Infrastructure/Persistence/Doctrine/Article/DoctrineArticleRepository.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$id of class App\\\\Feed\\\\Domain\\\\Article\\\\ArticleId constructor expects string, mixed given\\.$#" | ||
message: '#^Parameter \#1 \$id of class App\\Feed\\Domain\\Article\\ArticleId constructor expects string, mixed given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/Feed/Infrastructure/Persistence/Doctrine/Article/DoctrineArticleRepository.php | ||
|
||
- | ||
message: "#^Method App\\\\Feed\\\\Infrastructure\\\\Persistence\\\\Doctrine\\\\Source\\\\DoctrineSourceRepository\\:\\:findByNameOrThrow\\(\\) should return App\\\\Feed\\\\Domain\\\\Source\\\\Source but returns mixed\\.$#" | ||
message: '#^Method App\\Feed\\Infrastructure\\Persistence\\Doctrine\\Source\\DoctrineSourceRepository\:\:findByNameOrThrow\(\) should return App\\Feed\\Domain\\Source\\Source but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: src/Feed/Infrastructure/Persistence/Doctrine/Source/DoctrineSourceRepository.php | ||
|
||
- | ||
message: "#^Parameter \\#2 \\$configurator of method Symfony\\\\Component\\\\DependencyInjection\\\\ContainerBuilder\\:\\:registerAttributeForAutoconfiguration\\(\\) expects callable\\(Symfony\\\\Component\\\\DependencyInjection\\\\ChildDefinition, App\\\\Common\\\\Infrastructure\\\\Messenger\\\\CommandBus\\\\AsCommandHandler, Reflector\\)\\: void, Closure\\(Symfony\\\\Component\\\\DependencyInjection\\\\ChildDefinition, App\\\\Common\\\\Infrastructure\\\\Messenger\\\\CommandBus\\\\AsCommandHandler, ReflectionClass\\|ReflectionMethod\\)\\: void given\\.$#" | ||
message: '#^Parameter \#2 \$configurator of method Symfony\\Component\\DependencyInjection\\ContainerBuilder\:\:registerAttributeForAutoconfiguration\(\) expects callable\(Symfony\\Component\\DependencyInjection\\ChildDefinition, App\\Common\\Infrastructure\\Messenger\\CommandBus\\AsCommandHandler, Reflector\)\: void, Closure\(Symfony\\Component\\DependencyInjection\\ChildDefinition, App\\Common\\Infrastructure\\Messenger\\CommandBus\\AsCommandHandler, ReflectionClass\|ReflectionMethod\)\: void given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/Kernel.php | ||
|
||
- | ||
message: "#^Parameter \\#2 \\$configurator of method Symfony\\\\Component\\\\DependencyInjection\\\\ContainerBuilder\\:\\:registerAttributeForAutoconfiguration\\(\\) expects callable\\(Symfony\\\\Component\\\\DependencyInjection\\\\ChildDefinition, App\\\\Common\\\\Infrastructure\\\\Messenger\\\\EventBus\\\\AsEventSubscriber, Reflector\\)\\: void, Closure\\(Symfony\\\\Component\\\\DependencyInjection\\\\ChildDefinition, App\\\\Common\\\\Infrastructure\\\\Messenger\\\\EventBus\\\\AsEventSubscriber, ReflectionClass\\|ReflectionMethod\\)\\: void given\\.$#" | ||
message: '#^Parameter \#2 \$configurator of method Symfony\\Component\\DependencyInjection\\ContainerBuilder\:\:registerAttributeForAutoconfiguration\(\) expects callable\(Symfony\\Component\\DependencyInjection\\ChildDefinition, App\\Common\\Infrastructure\\Messenger\\EventBus\\AsEventSubscriber, Reflector\)\: void, Closure\(Symfony\\Component\\DependencyInjection\\ChildDefinition, App\\Common\\Infrastructure\\Messenger\\EventBus\\AsEventSubscriber, ReflectionClass\|ReflectionMethod\)\: void given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/Kernel.php | ||
|
||
- | ||
message: '#^Expression "new class\(\$uuid\) extends \\App\\Common\\Identifier\\UuidId…" on a separate line does not do anything\.$#' | ||
identifier: expr.resultUnused | ||
count: 1 | ||
path: tests/Unit/Common/Identifier/UuidIdTest.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters