-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
64 additions
and
79 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,43 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Property App\\\\Entity\\\\Comment\\:\\:\\$author type mapping mismatch\\: property can contain App\\\\Entity\\\\User\\|null but database expects App\\\\Entity\\\\User\\.$#" | ||
message: '#^Class App\\Form\\ChangePasswordType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#' | ||
identifier: missingType.generics | ||
count: 1 | ||
path: src/Entity/Comment.php | ||
path: src/Form/ChangePasswordType.php | ||
|
||
- | ||
message: "#^Property App\\\\Entity\\\\Comment\\:\\:\\$content type mapping mismatch\\: property can contain string\\|null but database expects string\\.$#" | ||
message: '#^Class App\\Form\\CommentType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#' | ||
identifier: missingType.generics | ||
count: 1 | ||
path: src/Entity/Comment.php | ||
path: src/Form/CommentType.php | ||
|
||
- | ||
message: "#^Property App\\\\Entity\\\\Comment\\:\\:\\$post type mapping mismatch\\: property can contain App\\\\Entity\\\\Post\\|null but database expects App\\\\Entity\\\\Post\\.$#" | ||
message: '#^Class App\\Form\\PostType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#' | ||
identifier: missingType.generics | ||
count: 1 | ||
path: src/Entity/Comment.php | ||
path: src/Form/PostType.php | ||
|
||
- | ||
message: "#^Property App\\\\Entity\\\\Post\\:\\:\\$author type mapping mismatch\\: property can contain App\\\\Entity\\\\User\\|null but database expects App\\\\Entity\\\\User\\.$#" | ||
message: '#^Class App\\Form\\Type\\DateTimePickerType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#' | ||
identifier: missingType.generics | ||
count: 1 | ||
path: src/Entity/Post.php | ||
path: src/Form/Type/DateTimePickerType.php | ||
|
||
- | ||
message: "#^Property App\\\\Entity\\\\Post\\:\\:\\$content type mapping mismatch\\: property can contain string\\|null but database expects string\\.$#" | ||
message: '#^Class App\\Form\\Type\\TagsInputType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#' | ||
identifier: missingType.generics | ||
count: 1 | ||
path: src/Entity/Post.php | ||
path: src/Form/Type/TagsInputType.php | ||
|
||
- | ||
message: "#^Property App\\\\Entity\\\\Post\\:\\:\\$slug type mapping mismatch\\: property can contain string\\|null but database expects string\\.$#" | ||
message: '#^Class App\\Form\\UserType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#' | ||
identifier: missingType.generics | ||
count: 1 | ||
path: src/Entity/Post.php | ||
path: src/Form/UserType.php | ||
|
||
- | ||
message: "#^Property App\\\\Entity\\\\Post\\:\\:\\$summary type mapping mismatch\\: property can contain string\\|null but database expects string\\.$#" | ||
message: '#^Call to function method_exists\(\) with ''Symfony\\\\Component\\\\Dotenv\\\\Dotenv'' and ''bootEnv'' will always evaluate to true\.$#' | ||
identifier: function.alreadyNarrowedType | ||
count: 1 | ||
path: src/Entity/Post.php | ||
|
||
- | ||
message: "#^Property App\\\\Entity\\\\Post\\:\\:\\$title type mapping mismatch\\: property can contain string\\|null but database expects string\\.$#" | ||
count: 1 | ||
path: src/Entity/Post.php | ||
|
||
- | ||
message: "#^Property App\\\\Entity\\\\User\\:\\:\\$email type mapping mismatch\\: property can contain string\\|null but database expects string\\.$#" | ||
count: 1 | ||
path: src/Entity/User.php | ||
|
||
- | ||
message: "#^Property App\\\\Entity\\\\User\\:\\:\\$fullName type mapping mismatch\\: property can contain string\\|null but database expects string\\.$#" | ||
count: 1 | ||
path: src/Entity/User.php | ||
|
||
- | ||
message: "#^Property App\\\\Entity\\\\User\\:\\:\\$password type mapping mismatch\\: property can contain string\\|null but database expects string\\.$#" | ||
count: 1 | ||
path: src/Entity/User.php | ||
|
||
- | ||
message: "#^Property App\\\\Entity\\\\User\\:\\:\\$username type mapping mismatch\\: property can contain string\\|null but database expects string\\.$#" | ||
count: 1 | ||
path: src/Entity/User.php | ||
|
||
- | ||
message: "#^Method App\\\\Entity\\\\User::getUserIdentifier\\(\\) should return non-empty-string but returns string\\.$#" | ||
count: 1 | ||
path: src/Entity/User.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$function of class ReflectionFunction constructor expects Closure\\|string, callable\\(\\)\\: mixed given\\.$#" | ||
count: 1 | ||
path: src/Twig/SourceCodeExtension.php | ||
path: tests/bootstrap.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,23 @@ | ||
includes: | ||
- phpstan-baseline.neon | ||
- vendor/phpstan/phpstan-doctrine/extension.neon | ||
- vendor/phpstan/phpstan-symfony/extension.neon | ||
- vendor/phpstan/phpstan-symfony/rules.neon | ||
|
||
parameters: | ||
bootstrapFiles: | ||
- vendor/bin/.phpunit/phpunit/vendor/autoload.php | ||
|
||
doctrine: | ||
objectManagerLoader: tests/object-manager.php | ||
|
||
level: 6 | ||
paths: | ||
- bin/ | ||
- config/ | ||
- public/ | ||
- src/ | ||
- tests/ | ||
|
||
symfony: | ||
containerXmlPath: var/cache/dev/App_KernelDevDebugContainer.xml |
This file was deleted.
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
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