From eac5a7f853f5347418807fa26597905d96231713 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 1 Oct 2025 14:55:50 +0200 Subject: [PATCH] New phpstan baseline with symfony 7.2 level 5 --- phpstan-baseline.neon | 1037 ++++++++++++++++++++--------------------- 1 file changed, 515 insertions(+), 522 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 1a66e5be2..1b3cca67e 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -47,7 +47,7 @@ parameters: - message: "#^Only booleans are allowed in a negated boolean, Chill\\\\ActivityBundle\\\\Entity\\\\ActivityReasonCategory\\|null given\\.$#" - count: 3 + count: 1 path: src/Bundle/ChillActivityBundle/Controller/ActivityReasonCategoryController.php - @@ -62,9 +62,14 @@ parameters: - message: "#^Only booleans are allowed in a negated boolean, Chill\\\\ActivityBundle\\\\Entity\\\\ActivityReason\\|null given\\.$#" - count: 2 + count: 1 path: src/Bundle/ChillActivityBundle/Controller/ActivityReasonController.php + - + message: "#^Parameter \\$options of attribute class Symfony\\\\Component\\\\Routing\\\\Attribute\\\\Route constructor expects array\\, array\\ given\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Controller/AdminController.php + - message: "#^Else branch is unreachable because previous condition is always true\\.$#" count: 1 @@ -105,11 +110,21 @@ parameters: count: 1 path: src/Bundle/ChillActivityBundle/Entity/ActivityReasonCategory.php + - + message: "#^Variable property access on \\$this\\(Chill\\\\ActivityBundle\\\\Entity\\\\ActivityType\\)\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Entity/ActivityType.php + - message: "#^Expression on left side of \\?\\? is not nullable\\.$#" count: 1 path: src/Bundle/ChillActivityBundle/EntityListener/ActivityEntityListener.php + - + message: "#^Parameter \\#1 \\$callback of class Symfony\\\\Component\\\\Validator\\\\Constraints\\\\Callback constructor expects array\\\\|\\(callable\\(\\)\\: mixed\\)\\|string\\|null, array\\{callback\\: Closure\\(mixed, Symfony\\\\Component\\\\Validator\\\\Context\\\\ExecutionContextInterface\\)\\: void\\} given\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Export/Export/LinkedToPerson/ListActivity.php + - message: "#^PHPDoc tag @param for parameter \\$resolver with type Chill\\\\ActivityBundle\\\\Form\\\\OptionsResolverInterface is not subtype of native type Symfony\\\\Component\\\\OptionsResolver\\\\OptionsResolver\\.$#" count: 1 @@ -160,6 +175,16 @@ parameters: count: 1 path: src/Bundle/ChillActivityBundle/Timeline/TimelineActivityProvider.php + - + message: "#^Return type \\(Chill\\\\MainBundle\\\\Timeline\\\\TimelineSingleQuery\\) of method Chill\\\\ActivityBundle\\\\Timeline\\\\TimelineActivityProvider\\:\\:fetchQuery\\(\\) should be compatible with return type \\(array\\\\) of method Chill\\\\MainBundle\\\\Timeline\\\\TimelineProviderInterface\\:\\:fetchQuery\\(\\)$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Timeline/TimelineActivityProvider.php + + - + message: "#^Return type \\(string\\) of method Chill\\\\ActivityBundle\\\\Validator\\\\Constraints\\\\ActivityValidity\\:\\:getTargets\\(\\) should be covariant with return type \\('class'\\|'property'\\|array\\<'class'\\|'property'\\>\\) of method Symfony\\\\Component\\\\Validator\\\\Constraint\\:\\:getTargets\\(\\)$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Validator/Constraints/ActivityValidity.php + - message: "#^Result of && is always false\\.$#" count: 6 @@ -275,6 +300,11 @@ parameters: count: 1 path: src/Bundle/ChillBudgetBundle/Repository/ChargeKindRepository.php + - + message: "#^Parameter \\#1 \\$parameters of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:setParameters\\(\\) expects Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\, array\\{entity\\: mixed, date\\: DateTime\\} given\\.$#" + count: 1 + path: src/Bundle/ChillBudgetBundle/Repository/ChargeRepository.php + - message: "#^PHPDoc tag @param for parameter \\$limit with type mixed is not subtype of native type int\\|null\\.$#" count: 1 @@ -285,6 +315,16 @@ parameters: count: 1 path: src/Bundle/ChillBudgetBundle/Repository/ResourceKindRepository.php + - + message: "#^Parameter \\#1 \\$parameters of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:setParameters\\(\\) expects Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\, array\\{entity\\: Chill\\\\PersonBundle\\\\Entity\\\\Household\\\\Household\\|Chill\\\\PersonBundle\\\\Entity\\\\Person, date\\: DateTime\\} given\\.$#" + count: 1 + path: src/Bundle/ChillBudgetBundle/Repository/ResourceRepository.php + + - + message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Helper\\\\HelperInterface\\:\\:ask\\(\\)\\.$#" + count: 1 + path: src/Bundle/ChillCalendarBundle/Command/AzureGrantAdminConsentAndAcquireToken.php + - message: "#^Property Chill\\\\CalendarBundle\\\\Command\\\\AzureGrantAdminConsentAndAcquireToken\\:\\:\\$clientRegistry is never read, only written\\.$#" count: 1 @@ -335,6 +375,11 @@ parameters: count: 1 path: src/Bundle/ChillCalendarBundle/DependencyInjection/Configuration.php + - + message: "#^Parameter \\$normalizationContext of attribute class Symfony\\\\Component\\\\Serializer\\\\Annotation\\\\Context constructor expects array\\, array\\ given\\.$#" + count: 5 + path: src/Bundle/ChillCalendarBundle/Entity/Calendar.php + - message: "#^Parameter \\#2 \\$byUser of class Chill\\\\CalendarBundle\\\\Messenger\\\\Message\\\\CalendarRemovedMessage constructor expects Chill\\\\MainBundle\\\\Entity\\\\User\\|null, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#" count: 1 @@ -385,11 +430,6 @@ parameters: count: 2 path: src/Bundle/ChillCalendarBundle/RemoteCalendar/Connector/MSGraphRemoteCalendarConnector.php - - - message: "#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#" - count: 1 - path: src/Bundle/ChillCalendarBundle/RemoteCalendar/Connector/MSGraphRemoteCalendarConnector.php - - message: "#^Parameter \\#1 \\$criteria \\(array\\\\) of method Chill\\\\CalendarBundle\\\\Repository\\\\CalendarDocRepository\\:\\:findBy\\(\\) should be contravariant with parameter \\$criteria \\(array\\) of method Chill\\\\CalendarBundle\\\\Repository\\\\CalendarDocRepositoryInterface\\:\\:findBy\\(\\)$#" count: 1 @@ -415,13 +455,28 @@ parameters: count: 1 path: src/Bundle/ChillCalendarBundle/Repository/CalendarDocRepository.php + - + message: "#^Parameter \\#1 \\$parameters of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:setParameters\\(\\) expects Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\, array\\{user\\: Chill\\\\MainBundle\\\\Entity\\\\User, startDate\\: DateTimeImmutable, endDate\\: DateTimeImmutable\\} given\\.$#" + count: 1 + path: src/Bundle/ChillCalendarBundle/Repository/CalendarRangeRepository.php + + - + message: "#^Parameter \\#1 \\$parameters of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:setParameters\\(\\) expects Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\, array\\{true\\: true, startDate\\: DateTimeImmutable, endDate\\: DateTimeImmutable, pending\\: 'sms_pending', cancel_pending\\: 'sms_cancel_pending'\\} given\\.$#" + count: 1 + path: src/Bundle/ChillCalendarBundle/Repository/CalendarRepository.php + + - + message: "#^Parameter \\#1 \\$parameters of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:setParameters\\(\\) expects Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\, array\\{user\\: Chill\\\\MainBundle\\\\Entity\\\\User, startDate\\: DateTimeImmutable, endDate\\: DateTimeImmutable\\} given\\.$#" + count: 1 + path: src/Bundle/ChillCalendarBundle/Repository/CalendarRepository.php + - message: "#^Parameter \\#4 \\$offset of method Chill\\\\CalendarBundle\\\\Repository\\\\CalendarRepository\\:\\:findBy\\(\\) expects int\\|null, array\\|null given\\.$#" count: 1 path: src/Bundle/ChillCalendarBundle/Repository/CalendarRepository.php - - message: "#^Parameter \\#2 \\$subject \\(Chill\\\\CalendarBundle\\\\Entity\\\\Invite\\) of method Chill\\\\CalendarBundle\\\\Security\\\\Voter\\\\InviteVoter\\:\\:voteOnAttribute\\(\\) should be contravariant with parameter \\$subject \\(mixed\\) of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\Voter\\:\\:voteOnAttribute\\(\\)$#" + message: "#^Parameter \\#2 \\$subject \\(Chill\\\\CalendarBundle\\\\Entity\\\\Invite\\) of method Chill\\\\CalendarBundle\\\\Security\\\\Voter\\\\InviteVoter\\:\\:voteOnAttribute\\(\\) should be contravariant with parameter \\$subject \\(mixed\\) of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\Voter\\\\:\\:voteOnAttribute\\(\\)$#" count: 1 path: src/Bundle/ChillCalendarBundle/Security/Voter/InviteVoter.php @@ -445,6 +500,11 @@ parameters: count: 1 path: src/Bundle/ChillCustomFieldsBundle/Command/CreateFieldsOnGroupCommand.php + - + message: "#^Result of method Chill\\\\CustomFieldsBundle\\\\Command\\\\CreateFieldsOnGroupCommand\\:\\:_addFields\\(\\) \\(void\\) is used\\.$#" + count: 1 + path: src/Bundle/ChillCustomFieldsBundle/Command/CreateFieldsOnGroupCommand.php + - message: "#^Strict comparison using \\=\\=\\= between null and Chill\\\\CustomFieldsBundle\\\\Service\\\\CustomFieldInterface will always evaluate to false\\.$#" count: 1 @@ -471,14 +531,14 @@ parameters: path: src/Bundle/ChillCustomFieldsBundle/Controller/CustomFieldController.php - - message: "#^Only booleans are allowed in a ternary operator condition, Chill\\\\CustomFieldsBundle\\\\Entity\\\\CustomFieldsGroup given\\.$#" + message: "#^Only booleans are allowed in a ternary operator condition, Chill\\\\CustomFieldsBundle\\\\Entity\\\\CustomFieldsGroup\\|null given\\.$#" count: 1 path: src/Bundle/ChillCustomFieldsBundle/Controller/CustomFieldController.php - - message: "#^Ternary operator condition is always true\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/Controller/CustomFieldController.php + message: "#^Call to an undefined method Chill\\\\CustomFieldsBundle\\\\Controller\\\\CustomFieldsGroupController\\:\\:get\\(\\)\\.$#" + count: 2 + path: src/Bundle/ChillCustomFieldsBundle/Controller/CustomFieldsGroupController.php - message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:createQuery\\(\\)\\.$#" @@ -500,14 +560,6 @@ parameters: count: 1 path: src/Bundle/ChillCustomFieldsBundle/Controller/CustomFieldsGroupController.php - - - message: """ - #^Call to deprecated method get\\(\\) of class Symfony\\\\Bundle\\\\FrameworkBundle\\\\Controller\\\\AbstractController\\: - since Symfony 5\\.4, use method or constructor injection in your controller instead$# - """ - count: 2 - path: src/Bundle/ChillCustomFieldsBundle/Controller/CustomFieldsGroupController.php - - message: "#^Foreach overwrites \\$key with its key variable\\.$#" count: 1 @@ -543,11 +595,6 @@ parameters: count: 4 path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldChoice.php - - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldChoice\\:\\:buildForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\FormTypeInterface but return statement is missing\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldChoice.php - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldChoice\\:\\:buildOptionsForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\|null but returns Symfony\\\\Component\\\\Form\\\\FormBuilderInterface\\.$#" count: 1 @@ -588,6 +635,11 @@ parameters: count: 1 path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldChoice.php + - + message: "#^Return type \\(void\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldChoice\\:\\:buildForm\\(\\) should be compatible with return type \\(Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldInterface\\:\\:buildForm\\(\\)$#" + count: 2 + path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldChoice.php + - message: "#^Strict comparison using \\=\\=\\= between null and array\\|string will always evaluate to false\\.$#" count: 1 @@ -603,16 +655,6 @@ parameters: count: 1 path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldDate.php - - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldDate\\:\\:buildForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\FormTypeInterface but return statement is missing\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldDate.php - - - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldDate\\:\\:buildOptionsForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\|null but returns Symfony\\\\Component\\\\Form\\\\FormBuilderInterface\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldDate.php - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldDate\\:\\:render\\(\\) should return string but returns null\\.$#" count: 1 @@ -648,6 +690,16 @@ parameters: count: 1 path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldDate.php + - + message: "#^Return type \\(Symfony\\\\Component\\\\Form\\\\FormBuilderInterface\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldDate\\:\\:buildOptionsForm\\(\\) should be covariant with return type \\(Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\|null\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldInterface\\:\\:buildOptionsForm\\(\\)$#" + count: 2 + path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldDate.php + + - + message: "#^Return type \\(void\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldDate\\:\\:buildForm\\(\\) should be compatible with return type \\(Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldInterface\\:\\:buildForm\\(\\)$#" + count: 2 + path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldDate.php + - message: "#^PHPDoc tag @param for parameter \\$builder with type Chill\\\\CustomFieldsBundle\\\\CustomField\\\\FormBuilderInterface is not subtype of native type Symfony\\\\Component\\\\Form\\\\FormBuilderInterface\\.$#" count: 2 @@ -688,16 +740,6 @@ parameters: count: 1 path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldInterface.php - - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldLongChoice\\:\\:buildForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\FormTypeInterface but return statement is missing\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldLongChoice.php - - - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldLongChoice\\:\\:buildOptionsForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\|null but returns Symfony\\\\Component\\\\Form\\\\FormBuilderInterface\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldLongChoice.php - - message: "#^Only booleans are allowed in a ternary operator condition, string given\\.$#" count: 1 @@ -733,6 +775,16 @@ parameters: count: 1 path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldLongChoice.php + - + message: "#^Return type \\(Symfony\\\\Component\\\\Form\\\\FormBuilderInterface\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldLongChoice\\:\\:buildOptionsForm\\(\\) should be covariant with return type \\(Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\|null\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldInterface\\:\\:buildOptionsForm\\(\\)$#" + count: 2 + path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldLongChoice.php + + - + message: "#^Return type \\(void\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldLongChoice\\:\\:buildForm\\(\\) should be compatible with return type \\(Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldInterface\\:\\:buildForm\\(\\)$#" + count: 2 + path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldLongChoice.php + - message: "#^Ternary operator condition is always true\\.$#" count: 1 @@ -743,16 +795,6 @@ parameters: count: 1 path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldNumber.php - - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldNumber\\:\\:buildForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\FormTypeInterface but return statement is missing\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldNumber.php - - - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldNumber\\:\\:buildOptionsForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\|null but returns Symfony\\\\Component\\\\Form\\\\FormBuilderInterface\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldNumber.php - - message: "#^Parameter \\$builder of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldNumber\\:\\:buildForm\\(\\) has invalid type Chill\\\\CustomFieldsBundle\\\\CustomField\\\\FormBuilderInterface\\.$#" count: 1 @@ -784,14 +826,14 @@ parameters: path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldNumber.php - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldText\\:\\:buildForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\FormTypeInterface but return statement is missing\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldText.php + message: "#^Return type \\(Symfony\\\\Component\\\\Form\\\\FormBuilderInterface\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldNumber\\:\\:buildOptionsForm\\(\\) should be covariant with return type \\(Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\|null\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldInterface\\:\\:buildOptionsForm\\(\\)$#" + count: 2 + path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldNumber.php - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldText\\:\\:buildOptionsForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\|null but returns Symfony\\\\Component\\\\Form\\\\FormBuilderInterface\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldText.php + message: "#^Return type \\(void\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldNumber\\:\\:buildForm\\(\\) should be compatible with return type \\(Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldInterface\\:\\:buildForm\\(\\)$#" + count: 2 + path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldNumber.php - message: "#^Parameter \\$builder of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldText\\:\\:buildForm\\(\\) has invalid type Chill\\\\CustomFieldsBundle\\\\CustomField\\\\FormBuilderInterface\\.$#" @@ -824,14 +866,14 @@ parameters: path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldText.php - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldTitle\\:\\:buildForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\FormTypeInterface but return statement is missing\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldTitle.php + message: "#^Return type \\(Symfony\\\\Component\\\\Form\\\\FormBuilderInterface\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldText\\:\\:buildOptionsForm\\(\\) should be covariant with return type \\(Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\|null\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldInterface\\:\\:buildOptionsForm\\(\\)$#" + count: 2 + path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldText.php - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldTitle\\:\\:buildOptionsForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\|null but returns Symfony\\\\Component\\\\Form\\\\FormBuilderInterface\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldTitle.php + message: "#^Return type \\(void\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldText\\:\\:buildForm\\(\\) should be compatible with return type \\(Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldInterface\\:\\:buildForm\\(\\)$#" + count: 2 + path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldText.php - message: "#^Parameter \\$builder of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldTitle\\:\\:buildForm\\(\\) has invalid type Chill\\\\CustomFieldsBundle\\\\CustomField\\\\FormBuilderInterface\\.$#" @@ -863,6 +905,16 @@ parameters: count: 1 path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldTitle.php + - + message: "#^Return type \\(Symfony\\\\Component\\\\Form\\\\FormBuilderInterface\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldTitle\\:\\:buildOptionsForm\\(\\) should be covariant with return type \\(Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\|null\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldInterface\\:\\:buildOptionsForm\\(\\)$#" + count: 2 + path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldTitle.php + + - + message: "#^Return type \\(void\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldTitle\\:\\:buildForm\\(\\) should be compatible with return type \\(Symfony\\\\Component\\\\Form\\\\FormTypeInterface\\) of method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldInterface\\:\\:buildForm\\(\\)$#" + count: 2 + path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldTitle.php + - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 @@ -932,7 +984,7 @@ parameters: path: src/Bundle/ChillCustomFieldsBundle/Form/DataTransformer/CustomFieldsGroupToIdTransformer.php - - message: "#^Method Chill\\\\CustomFieldsBundle\\\\Form\\\\DataTransformer\\\\CustomFieldsGroupToIdTransformer\\:\\:transform\\(\\) should return string but returns int\\.$#" + message: "#^Method Chill\\\\CustomFieldsBundle\\\\Form\\\\DataTransformer\\\\CustomFieldsGroupToIdTransformer\\:\\:transform\\(\\) should return string but returns int\\|null\\.$#" count: 1 path: src/Bundle/ChillCustomFieldsBundle/Form/DataTransformer/CustomFieldsGroupToIdTransformer.php @@ -942,12 +994,12 @@ parameters: path: src/Bundle/ChillCustomFieldsBundle/Form/DataTransformer/CustomFieldsGroupToIdTransformer.php - - message: "#^Parameter \\#1 \\$customFieldsGroup \\(Chill\\\\CustomFieldsBundle\\\\Entity\\\\CustomFieldsGroup\\|null\\) of method Chill\\\\CustomFieldsBundle\\\\Form\\\\DataTransformer\\\\CustomFieldsGroupToIdTransformer\\:\\:transform\\(\\) should be contravariant with parameter \\$value \\(mixed\\) of method Symfony\\\\Component\\\\Form\\\\DataTransformerInterface\\:\\:transform\\(\\)$#" + message: "#^Parameter \\#1 \\$customFieldsGroup \\(Chill\\\\CustomFieldsBundle\\\\Entity\\\\CustomFieldsGroup\\|null\\) of method Chill\\\\CustomFieldsBundle\\\\Form\\\\DataTransformer\\\\CustomFieldsGroupToIdTransformer\\:\\:transform\\(\\) should be contravariant with parameter \\$value \\(mixed\\) of method Symfony\\\\Component\\\\Form\\\\DataTransformerInterface\\\\:\\:transform\\(\\)$#" count: 1 path: src/Bundle/ChillCustomFieldsBundle/Form/DataTransformer/CustomFieldsGroupToIdTransformer.php - - message: "#^Parameter \\#1 \\$id \\(string\\) of method Chill\\\\CustomFieldsBundle\\\\Form\\\\DataTransformer\\\\CustomFieldsGroupToIdTransformer\\:\\:reverseTransform\\(\\) should be contravariant with parameter \\$value \\(mixed\\) of method Symfony\\\\Component\\\\Form\\\\DataTransformerInterface\\:\\:reverseTransform\\(\\)$#" + message: "#^Parameter \\#1 \\$id \\(string\\) of method Chill\\\\CustomFieldsBundle\\\\Form\\\\DataTransformer\\\\CustomFieldsGroupToIdTransformer\\:\\:reverseTransform\\(\\) should be contravariant with parameter \\$value \\(mixed\\) of method Symfony\\\\Component\\\\Form\\\\DataTransformerInterface\\\\:\\:reverseTransform\\(\\)$#" count: 1 path: src/Bundle/ChillCustomFieldsBundle/Form/DataTransformer/CustomFieldsGroupToIdTransformer.php @@ -1006,21 +1058,6 @@ parameters: count: 1 path: src/Bundle/ChillCustomFieldsBundle/Service/CustomFieldProvider.php - - - message: "#^Property Chill\\\\CustomFieldsBundle\\\\Service\\\\CustomFieldProvider\\:\\:\\$container \\(Chill\\\\CustomFieldsBundle\\\\Service\\\\Container\\) does not accept Symfony\\\\Component\\\\DependencyInjection\\\\ContainerInterface\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/Service/CustomFieldProvider.php - - - - message: "#^Property Chill\\\\CustomFieldsBundle\\\\Service\\\\CustomFieldProvider\\:\\:\\$container has unknown class Chill\\\\CustomFieldsBundle\\\\Service\\\\Container as its type\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/Service/CustomFieldProvider.php - - - - message: "#^Property Chill\\\\CustomFieldsBundle\\\\Service\\\\CustomFieldProvider\\:\\:\\$container is never read, only written\\.$#" - count: 1 - path: src/Bundle/ChillCustomFieldsBundle/Service/CustomFieldProvider.php - - message: "#^Call to method deserialize\\(\\) on an unknown class Chill\\\\CustomFieldsBundle\\\\Service\\\\CustomFieldInterface\\.$#" count: 1 @@ -1056,6 +1093,11 @@ parameters: count: 1 path: src/Bundle/ChillCustomFieldsBundle/Templating/Twig/CustomFieldsGroupRenderingTwig.php + - + message: "#^PHPDoc tag @return with type mixed is not subtype of native type Doctrine\\\\ORM\\\\QueryBuilder\\.$#" + count: 1 + path: src/Bundle/ChillDocGeneratorBundle/Controller/AdminDocGeneratorTemplateController.php + - message: "#^Parameter \\#2 \\$query \\(Doctrine\\\\ORM\\\\QueryBuilder\\) of method Chill\\\\DocGeneratorBundle\\\\Controller\\\\AdminDocGeneratorTemplateController\\:\\:orderQuery\\(\\) should be contravariant with parameter \\$query \\(mixed\\) of method Chill\\\\MainBundle\\\\CRUD\\\\Controller\\\\CRUDController\\:\\:orderQuery\\(\\)$#" count: 1 @@ -1082,13 +1124,13 @@ parameters: path: src/Bundle/ChillDocGeneratorBundle/DependencyInjection/Configuration.php - - message: "#^Parameter \\#1 \\$object \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\) of method Chill\\\\DocGeneratorBundle\\\\Serializer\\\\Normalizer\\\\CollectionDocGenNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" - count: 2 + message: "#^PHPDoc tag @return with type array\\|ArrayObject\\|bool\\|float\\|int\\|string\\|void\\|null is not subtype of native type array\\|ArrayObject\\|bool\\|float\\|int\\|string\\|null\\.$#" + count: 1 path: src/Bundle/ChillDocGeneratorBundle/Serializer/Normalizer/CollectionDocGenNormalizer.php - - message: "#^Return type \\(array\\|ArrayObject\\|bool\\|float\\|int\\|string\\|void\\|null\\) of method Chill\\\\DocGeneratorBundle\\\\Serializer\\\\Normalizer\\\\CollectionDocGenNormalizer\\:\\:normalize\\(\\) should be covariant with return type \\(array\\|ArrayObject\\|bool\\|float\\|int\\|string\\|null\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" - count: 2 + message: "#^Parameter \\#1 \\$object \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\) of method Chill\\\\DocGeneratorBundle\\\\Serializer\\\\Normalizer\\\\CollectionDocGenNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + count: 1 path: src/Bundle/ChillDocGeneratorBundle/Serializer/Normalizer/CollectionDocGenNormalizer.php - @@ -1107,15 +1149,20 @@ parameters: path: src/Bundle/ChillDocGeneratorBundle/Serializer/Normalizer/DocGenObjectNormalizer.php - - message: "#^Parameter \\#4 \\$attributes of method Chill\\\\DocGeneratorBundle\\\\Serializer\\\\Normalizer\\\\DocGenObjectNormalizer\\:\\:normalizeNullData\\(\\) expects array\\, array\\ given\\.$#" + message: "#^Parameter \\#4 \\$attributes of method Chill\\\\DocGeneratorBundle\\\\Serializer\\\\Normalizer\\\\DocGenObjectNormalizer\\:\\:normalizeNullData\\(\\) expects array\\, array\\ given\\.$#" count: 1 path: src/Bundle/ChillDocGeneratorBundle/Serializer/Normalizer/DocGenObjectNormalizer.php - - message: "#^Parameter \\#6 \\$attributes of method Chill\\\\DocGeneratorBundle\\\\Serializer\\\\Normalizer\\\\DocGenObjectNormalizer\\:\\:normalizeObject\\(\\) expects array\\, array\\ given\\.$#" + message: "#^Parameter \\#6 \\$attributes of method Chill\\\\DocGeneratorBundle\\\\Serializer\\\\Normalizer\\\\DocGenObjectNormalizer\\:\\:normalizeObject\\(\\) expects array\\, array\\ given\\.$#" count: 1 path: src/Bundle/ChillDocGeneratorBundle/Serializer/Normalizer/DocGenObjectNormalizer.php + - + message: "#^Parameter \\$options of attribute class Symfony\\\\Component\\\\Routing\\\\Attribute\\\\Route constructor expects array\\, array\\ given\\.$#" + count: 2 + path: src/Bundle/ChillDocStoreBundle/Controller/AdminController.php + - message: "#^Parameter \\#1 \\$user of method Chill\\\\DocStoreBundle\\\\Entity\\\\Document\\:\\:setUser\\(\\) expects Chill\\\\MainBundle\\\\Entity\\\\User\\|null, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#" count: 2 @@ -1141,11 +1188,21 @@ parameters: count: 1 path: src/Bundle/ChillDocStoreBundle/Controller/DocumentPersonController.php + - + message: "#^Casting to string something that's already string\\.$#" + count: 1 + path: src/Bundle/ChillDocStoreBundle/Controller/SignatureRequestController.php + - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 path: src/Bundle/ChillDocStoreBundle/Entity/DocumentCategory.php + - + message: "#^Return type \\(Chill\\\\MainBundle\\\\Entity\\\\Center\\|null\\) of method Chill\\\\DocStoreBundle\\\\Entity\\\\PersonDocument\\:\\:getCenter\\(\\) should be covariant with return type \\(Chill\\\\MainBundle\\\\Entity\\\\Center\\) of method Chill\\\\MainBundle\\\\Entity\\\\HasCenterInterface\\:\\:getCenter\\(\\)$#" + count: 1 + path: src/Bundle/ChillDocStoreBundle/Entity/PersonDocument.php + - message: "#^Return type \\(Chill\\\\MainBundle\\\\Entity\\\\Scope\\|null\\) of method Chill\\\\DocStoreBundle\\\\Entity\\\\PersonDocument\\:\\:getScope\\(\\) should be covariant with return type \\(Chill\\\\MainBundle\\\\Entity\\\\Scope\\) of method Chill\\\\MainBundle\\\\Entity\\\\HasScopeInterface\\:\\:getScope\\(\\)$#" count: 1 @@ -1162,10 +1219,15 @@ parameters: path: src/Bundle/ChillDocStoreBundle/Security/Authorization/PersonDocumentVoter.php - - message: "#^Parameter \\#2 \\$subject \\(Chill\\\\DocStoreBundle\\\\Entity\\\\PersonDocument\\) of method Chill\\\\DocStoreBundle\\\\Security\\\\Authorization\\\\PersonDocumentVoter\\:\\:voteOnAttribute\\(\\) should be contravariant with parameter \\$subject \\(mixed\\) of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\Voter\\:\\:voteOnAttribute\\(\\)$#" + message: "#^Parameter \\#2 \\$subject \\(Chill\\\\DocStoreBundle\\\\Entity\\\\PersonDocument\\) of method Chill\\\\DocStoreBundle\\\\Security\\\\Authorization\\\\PersonDocumentVoter\\:\\:voteOnAttribute\\(\\) should be contravariant with parameter \\$subject \\(mixed\\) of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\Voter\\\\:\\:voteOnAttribute\\(\\)$#" count: 1 path: src/Bundle/ChillDocStoreBundle/Security/Authorization/PersonDocumentVoter.php + - + message: "#^Instanceof between array\\ and Symfony\\\\Component\\\\Messenger\\\\Stamp\\\\NonSendableStampInterface will always evaluate to false\\.$#" + count: 1 + path: src/Bundle/ChillDocStoreBundle/Service/Signature/Driver/BaseSigner/RequestPdfSignMessageSerializer.php + - message: "#^Default value of the parameter \\#5 \\$options \\(array\\{\\}\\) of method Chill\\\\DocStoreBundle\\\\Templating\\\\WopiEditTwigExtensionRuntime\\:\\:renderButtonGroup\\(\\) is incompatible with type array\\{small\\: bool\\}\\.$#" count: 1 @@ -1222,8 +1284,8 @@ parameters: path: src/Bundle/ChillEventBundle/Controller/EventController.php - - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, Chill\\\\MainBundle\\\\Entity\\\\Center given\\.$#" - count: 1 + message: "#^Parameter \\$options of attribute class Symfony\\\\Component\\\\Routing\\\\Attribute\\\\Route constructor expects array\\, array\\ given\\.$#" + count: 2 path: src/Bundle/ChillEventBundle/Controller/EventController.php - @@ -1238,7 +1300,12 @@ parameters: - message: "#^Only booleans are allowed in a negated boolean, Chill\\\\EventBundle\\\\Entity\\\\EventType\\|null given\\.$#" - count: 4 + count: 2 + path: src/Bundle/ChillEventBundle/Controller/EventTypeController.php + + - + message: "#^Parameter \\$options of attribute class Symfony\\\\Component\\\\Routing\\\\Attribute\\\\Route constructor expects array\\, array\\ given\\.$#" + count: 1 path: src/Bundle/ChillEventBundle/Controller/EventTypeController.php - @@ -1273,7 +1340,12 @@ parameters: - message: "#^Only booleans are allowed in a negated boolean, Chill\\\\EventBundle\\\\Entity\\\\Role\\|null given\\.$#" - count: 4 + count: 2 + path: src/Bundle/ChillEventBundle/Controller/RoleController.php + + - + message: "#^Parameter \\$options of attribute class Symfony\\\\Component\\\\Routing\\\\Attribute\\\\Route constructor expects array\\, array\\ given\\.$#" + count: 1 path: src/Bundle/ChillEventBundle/Controller/RoleController.php - @@ -1288,9 +1360,29 @@ parameters: - message: "#^Only booleans are allowed in a negated boolean, Chill\\\\EventBundle\\\\Entity\\\\Status\\|null given\\.$#" - count: 4 + count: 2 path: src/Bundle/ChillEventBundle/Controller/StatusController.php + - + message: "#^Parameter \\$options of attribute class Symfony\\\\Component\\\\Routing\\\\Attribute\\\\Route constructor expects array\\, array\\ given\\.$#" + count: 1 + path: src/Bundle/ChillEventBundle/Controller/StatusController.php + + - + message: "#^Return type \\(Chill\\\\MainBundle\\\\Entity\\\\Center\\|null\\) of method Chill\\\\EventBundle\\\\Entity\\\\Participation\\:\\:getCenter\\(\\) should be covariant with return type \\(Chill\\\\MainBundle\\\\Entity\\\\Center\\) of method Chill\\\\MainBundle\\\\Entity\\\\HasCenterInterface\\:\\:getCenter\\(\\)$#" + count: 1 + path: src/Bundle/ChillEventBundle/Entity/Participation.php + + - + message: "#^Return type \\(Chill\\\\MainBundle\\\\Entity\\\\Scope\\|null\\) of method Chill\\\\EventBundle\\\\Entity\\\\Participation\\:\\:getScope\\(\\) should be covariant with return type \\(Chill\\\\MainBundle\\\\Entity\\\\Scope\\) of method Chill\\\\MainBundle\\\\Entity\\\\HasScopeInterface\\:\\:getScope\\(\\)$#" + count: 1 + path: src/Bundle/ChillEventBundle/Entity/Participation.php + + - + message: "#^Parameter \\#1 \\$callback of class Symfony\\\\Component\\\\Validator\\\\Constraints\\\\Callback constructor expects array\\\\|\\(callable\\(\\)\\: mixed\\)\\|string\\|null, array\\{callback\\: Closure\\(mixed, Symfony\\\\Component\\\\Validator\\\\Context\\\\ExecutionContextInterface\\)\\: void\\} given\\.$#" + count: 1 + path: src/Bundle/ChillEventBundle/Export/Export/ListEvents.php + - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 @@ -1321,11 +1413,21 @@ parameters: count: 1 path: src/Bundle/ChillEventBundle/Form/ChoiceLoader/EventChoiceLoader.php + - + message: "#^Parameter \\#1 \\$parameters of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:setParameters\\(\\) expects Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\, array\\{\\:person_id\\: mixed, \\:reachable_circles\\: mixed\\} given\\.$#" + count: 1 + path: src/Bundle/ChillEventBundle/Repository/ParticipationRepository.php + - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 2 path: src/Bundle/ChillEventBundle/Search/EventSearch.php + - + message: "#^PHPDoc tag @return with type array\\ is incompatible with native type Chill\\\\MainBundle\\\\Timeline\\\\TimelineSingleQuery\\.$#" + count: 1 + path: src/Bundle/ChillEventBundle/Timeline/TimelineEventProvider.php + - message: "#^Parameter \\#1 \\$entity \\(Chill\\\\EventBundle\\\\Entity\\\\Event\\) of method Chill\\\\EventBundle\\\\Timeline\\\\TimelineEventProvider\\:\\:getEntityTemplate\\(\\) should be contravariant with parameter \\$entity \\(Chill\\\\MainBundle\\\\Timeline\\\\type\\) of method Chill\\\\MainBundle\\\\Timeline\\\\TimelineProviderInterface\\:\\:getEntityTemplate\\(\\)$#" count: 1 @@ -1336,6 +1438,11 @@ parameters: count: 1 path: src/Bundle/ChillEventBundle/Timeline/TimelineEventProvider.php + - + message: "#^Return type \\(Chill\\\\MainBundle\\\\Timeline\\\\TimelineSingleQuery\\) of method Chill\\\\EventBundle\\\\Timeline\\\\TimelineEventProvider\\:\\:fetchQuery\\(\\) should be compatible with return type \\(array\\\\) of method Chill\\\\MainBundle\\\\Timeline\\\\TimelineProviderInterface\\:\\:fetchQuery\\(\\)$#" + count: 1 + path: src/Bundle/ChillEventBundle/Timeline/TimelineEventProvider.php + - message: "#^Comparison operation \"\\>\" between \\(bool\\|int\\|Redis\\) and 0 results in an error\\.$#" count: 1 @@ -1366,16 +1473,41 @@ parameters: count: 1 path: src/Bundle/ChillJobBundle/src/Entity/Rome/Metier.php + - + message: "#^Parameter \\#1 \\$callback of class Symfony\\\\Component\\\\Validator\\\\Constraints\\\\Callback constructor expects array\\\\|\\(callable\\(\\)\\: mixed\\)\\|string\\|null, array\\{callback\\: Closure\\(mixed, Symfony\\\\Component\\\\Validator\\\\Context\\\\ExecutionContextInterface\\)\\: void\\} given\\.$#" + count: 1 + path: src/Bundle/ChillJobBundle/src/Export/ListCV.php + + - + message: "#^Parameter \\#1 \\$from of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:from\\(\\) expects class\\-string, string given\\.$#" + count: 1 + path: src/Bundle/ChillJobBundle/src/Export/ListCV.php + - message: "#^Method Chill\\\\JobBundle\\\\Export\\\\ListFrein\\:\\:splitArrayToColumns\\(\\) never returns Closure so it can be removed from the return type\\.$#" count: 1 path: src/Bundle/ChillJobBundle/src/Export/ListFrein.php + - + message: "#^Parameter \\#1 \\$callback of class Symfony\\\\Component\\\\Validator\\\\Constraints\\\\Callback constructor expects array\\\\|\\(callable\\(\\)\\: mixed\\)\\|string\\|null, array\\{callback\\: Closure\\(mixed, Symfony\\\\Component\\\\Validator\\\\Context\\\\ExecutionContextInterface\\)\\: void\\} given\\.$#" + count: 1 + path: src/Bundle/ChillJobBundle/src/Export/ListFrein.php + - message: "#^Method Chill\\\\JobBundle\\\\Export\\\\ListProjetProfessionnel\\:\\:splitArrayToColumns\\(\\) never returns Closure so it can be removed from the return type\\.$#" count: 1 path: src/Bundle/ChillJobBundle/src/Export/ListProjetProfessionnel.php + - + message: "#^Parameter \\#1 \\$callback of class Symfony\\\\Component\\\\Validator\\\\Constraints\\\\Callback constructor expects array\\\\|\\(callable\\(\\)\\: mixed\\)\\|string\\|null, array\\{callback\\: Closure\\(mixed, Symfony\\\\Component\\\\Validator\\\\Context\\\\ExecutionContextInterface\\)\\: void\\} given\\.$#" + count: 1 + path: src/Bundle/ChillJobBundle/src/Export/ListProjetProfessionnel.php + + - + message: "#^Parameter \\#1 \\$from of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:from\\(\\) expects class\\-string, string given\\.$#" + count: 1 + path: src/Bundle/ChillJobBundle/src/Export/ListProjetProfessionnel.php + - message: "#^Property Chill\\\\JobBundle\\\\Form\\\\ChoiceLoader\\\\RomeAppellationChoiceLoader\\:\\:\\$appellationRepository \\(Chill\\\\JobBundle\\\\Repository\\\\Rome\\\\AppellationRepository\\) does not accept Doctrine\\\\ORM\\\\EntityRepository\\\\.$#" count: 1 @@ -1396,14 +1528,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/CRUD/Controller/AbstractCRUDController.php - - - message: """ - #^Call to deprecated method get\\(\\) of class Symfony\\\\Bundle\\\\FrameworkBundle\\\\Controller\\\\AbstractController\\: - since Symfony 5\\.4, use method or constructor injection in your controller instead$# - """ - count: 1 - path: src/Bundle/ChillMainBundle/CRUD/Controller/ApiController.php - - message: "#^PHPDoc tag @param for parameter \\$postedDataContext with type string is incompatible with native type array\\.$#" count: 1 @@ -1434,14 +1558,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/CRUD/Controller/CRUDController.php - - - message: """ - #^Call to deprecated method get\\(\\) of class Symfony\\\\Bundle\\\\FrameworkBundle\\\\Controller\\\\AbstractController\\: - since Symfony 5\\.4, use method or constructor injection in your controller instead$# - """ - count: 3 - path: src/Bundle/ChillMainBundle/CRUD/Controller/CRUDController.php - - message: "#^Call to method getQuery\\(\\) on an unknown class Chill\\\\MainBundle\\\\CRUD\\\\Controller\\\\type\\.$#" count: 1 @@ -1528,11 +1644,8 @@ parameters: path: src/Bundle/ChillMainBundle/Command/ChillImportUsersCommand.php - - message: """ - #^Call to deprecated method getUsername\\(\\) of class Chill\\\\MainBundle\\\\Entity\\\\User\\: - since Symfony 5\\.3, use getUserIdentifier\\(\\) instead$# - """ - count: 2 + message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Helper\\\\HelperInterface\\:\\:ask\\(\\)\\.$#" + count: 3 path: src/Bundle/ChillMainBundle/Command/ChillImportUsersCommand.php - @@ -1545,14 +1658,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Command/ChillImportUsersCommand.php - - - message: """ - #^Call to deprecated method getUsername\\(\\) of class Chill\\\\MainBundle\\\\Entity\\\\User\\: - since Symfony 5\\.3, use getUserIdentifier\\(\\) instead$# - """ - count: 1 - path: src/Bundle/ChillMainBundle/Command/ChillUserSendRenewPasswordCodeCommand.php - - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 @@ -1579,22 +1684,19 @@ parameters: path: src/Bundle/ChillMainBundle/Command/SetPasswordCommand.php - - message: """ - #^Instantiation of deprecated class Symfony\\\\Component\\\\Security\\\\Core\\\\Encoder\\\\EncoderFactory\\: - since Symfony 5\\.3, use \\{@link PasswordHasherFactory\\} instead$# - """ + message: "#^Call to method getEncoder\\(\\) on an unknown class Symfony\\\\Component\\\\Security\\\\Core\\\\Encoder\\\\EncoderFactory\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Command/SetPasswordCommand.php - - message: "#^Call to method Redis\\:\\:setex\\(\\) with incorrect case\\: setEx$#" - count: 2 - path: src/Bundle/ChillMainBundle/Controller/ExportController.php + message: "#^Instantiated class Symfony\\\\Component\\\\Security\\\\Core\\\\Encoder\\\\EncoderFactory not found\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Command/SetPasswordCommand.php - - message: "#^Cannot unset offset '_token' on array\\{formatter\\: mixed, export\\: mixed, centers\\: mixed, alias\\: string\\}\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\EntityManager\\:\\:flush\\(\\) invoked with 1 parameter, 0 required\\.$#" count: 1 - path: src/Bundle/ChillMainBundle/Controller/ExportController.php + path: src/Bundle/ChillMainBundle/Command/SetPasswordCommand.php - message: "#^Instanceof between Chill\\\\MainBundle\\\\Export\\\\DirectExportInterface and Chill\\\\MainBundle\\\\Export\\\\DirectExportInterface will always evaluate to true\\.$#" @@ -1607,10 +1709,7 @@ parameters: path: src/Bundle/ChillMainBundle/Controller/LocationApiController.php - - message: """ - #^Call to deprecated method get\\(\\) of class Symfony\\\\Bundle\\\\FrameworkBundle\\\\Controller\\\\AbstractController\\: - since Symfony 5\\.4, use method or constructor injection in your controller instead$# - """ + message: "#^Call to an undefined method Chill\\\\MainBundle\\\\Controller\\\\MenuController\\:\\:get\\(\\)\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Controller/MenuController.php @@ -1639,6 +1738,11 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Controller/PasswordController.php + - + message: "#^Parameter \\#1 \\$callback of class Symfony\\\\Component\\\\Validator\\\\Constraints\\\\Callback constructor expects array\\\\|\\(callable\\(\\)\\: mixed\\)\\|string\\|null, array\\{callback\\: Closure\\(mixed, Symfony\\\\Component\\\\Validator\\\\Context\\\\ExecutionContextInterface, mixed\\)\\: void\\} given\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Controller/PasswordController.php + - message: "#^Only booleans are allowed in a negated boolean, Chill\\\\MainBundle\\\\Entity\\\\PermissionsGroup\\|null given\\.$#" count: 5 @@ -1664,16 +1768,23 @@ parameters: count: 2 path: src/Bundle/ChillMainBundle/Controller/SavedExportController.php + - + message: "#^Instantiated class Chill\\\\MainBundle\\\\Controller\\\\UnprocessableEntityHttpException not found\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Controller/SavedExportController.php + + - + message: "#^Throwing object of an unknown class Chill\\\\MainBundle\\\\Controller\\\\UnprocessableEntityHttpException\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Controller/SavedExportController.php + - message: "#^Only booleans are allowed in a negated boolean, Chill\\\\MainBundle\\\\Entity\\\\Scope\\|null given\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Controller/ScopeController.php - - message: """ - #^Call to deprecated method get\\(\\) of class Symfony\\\\Bundle\\\\FrameworkBundle\\\\Controller\\\\AbstractController\\: - since Symfony 5\\.4, use method or constructor injection in your controller instead$# - """ + message: "#^Call to an undefined method Chill\\\\MainBundle\\\\Controller\\\\SearchController\\:\\:get\\(\\)\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Controller/SearchController.php @@ -1717,14 +1828,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Controller/UserController.php - - - message: """ - #^Call to deprecated method getUsername\\(\\) of class Chill\\\\MainBundle\\\\Entity\\\\User\\: - since Symfony 5\\.3, use getUserIdentifier\\(\\) instead$# - """ - count: 1 - path: src/Bundle/ChillMainBundle/Controller/UserController.php - - message: "#^Only booleans are allowed in a negated boolean, Chill\\\\MainBundle\\\\Entity\\\\GroupCenter\\|null given\\.$#" count: 2 @@ -1770,34 +1873,11 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Controller/WorkflowApiController.php - - - message: "#^Property Chill\\\\MainBundle\\\\DataFixtures\\\\ORM\\\\LoadAddressReferences\\:\\:\\$container is never read, only written\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadAddressReferences.php - - - - message: "#^Property Chill\\\\MainBundle\\\\DataFixtures\\\\ORM\\\\LoadLocationType\\:\\:\\$container is never read, only written\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLocationType.php - - message: "#^Only booleans are allowed in an if condition, int given\\.$#" count: 1 path: src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadPostalCodes.php - - - message: """ - #^Instantiation of deprecated class Symfony\\\\Component\\\\Security\\\\Core\\\\Encoder\\\\EncoderFactory\\: - since Symfony 5\\.3, use \\{@link PasswordHasherFactory\\} instead$# - """ - count: 1 - path: src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadUsers.php - - - - message: "#^Property Chill\\\\MainBundle\\\\DataFixtures\\\\ORM\\\\LoadUsers\\:\\:\\$container is never read, only written\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadUsers.php - - message: "#^Parameter \\$factory of method Chill\\\\MainBundle\\\\DependencyInjection\\\\ChillMainExtension\\:\\:addWidgetFactory\\(\\) has invalid type Chill\\\\MainBundle\\\\DependencyInjection\\\\Widget\\\\WidgetFactoryInterface\\.$#" count: 1 @@ -1878,6 +1958,11 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/DependencyInjection/Widget/AbstractWidgetsCompilerPass.php + - + message: "#^PHPDoc tag @throws with type Doctrine\\\\Common\\\\Proxy\\\\Exception\\\\InvalidArgumentException\\|Symfony\\\\Component\\\\Config\\\\Definition\\\\Exception\\\\InvalidConfigurationException is not subtype of Throwable$#" + count: 1 + path: src/Bundle/ChillMainBundle/DependencyInjection/Widget/AbstractWidgetsCompilerPass.php + - message: "#^Parameter \\#2 \\$place of method Chill\\\\MainBundle\\\\DependencyInjection\\\\Widget\\\\Factory\\\\WidgetFactoryInterface\\:\\:createDefinition\\(\\) expects Chill\\\\MainBundle\\\\DependencyInjection\\\\Widget\\\\Factory\\\\type, string given\\.$#" count: 1 @@ -1933,6 +2018,26 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/DependencyInjection/Widget/HasWidgetFactoriesExtensionInterface.php + - + message: "#^Cannot access offset 'value' on Doctrine\\\\Common\\\\Lexer\\\\Token\\\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Doctrine/DQL/Extract.php + + - + message: "#^Cannot access offset 'type' on Doctrine\\\\Common\\\\Lexer\\\\Token\\\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Doctrine/DQL/Greatest.php + + - + message: "#^Cannot access offset 'type' on Doctrine\\\\Common\\\\Lexer\\\\Token\\\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Doctrine/DQL/JsonBuildObject.php + + - + message: "#^Cannot access offset 'type' on Doctrine\\\\Common\\\\Lexer\\\\Token\\\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Doctrine/DQL/Least.php + - message: "#^Instanceof between DateTime and DateTime will always evaluate to true\\.$#" count: 1 @@ -1964,12 +2069,12 @@ parameters: path: src/Bundle/ChillMainBundle/Entity/GeographicalUnit.php - - message: "#^Method Chill\\\\MainBundle\\\\Entity\\\\Language\\:\\:getName\\(\\) should return string but returns array\\.$#" + message: "#^PHPDoc tag @param has invalid value \\(string array \\$name\\)\\: Unexpected token \"array\", expected variable at offset 49$#" count: 1 path: src/Bundle/ChillMainBundle/Entity/Language.php - - message: "#^PHPDoc tag @param has invalid value \\(string array \\$name\\)\\: Unexpected token \"array\", expected variable at offset 49$#" + message: "#^PHPDoc tag @return with type string is incompatible with native type array\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Entity/Language.php @@ -1996,11 +2101,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Entity/Notification.php - - - message: "#^Property Chill\\\\MainBundle\\\\Entity\\\\Notification\\:\\:\\$updatedAt \\(DateTimeImmutable\\|null\\) does not accept DateTimeInterface\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Entity/Notification.php - - message: "#^Property Chill\\\\MainBundle\\\\Entity\\\\NotificationComment\\:\\:\\$createdAt \\(DateTimeImmutable\\|null\\) does not accept DateTimeInterface\\.$#" count: 1 @@ -2044,28 +2144,23 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Entity/Workflow/EntityWorkflow.php - - - message: "#^Call to an undefined method Chill\\\\MainBundle\\\\Export\\\\ExportElementInterface\\:\\:requiredRole\\(\\)\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/ExportManager.php - - - - message: "#^Call to function is_iterable\\(\\) with array will always evaluate to true\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/ExportManager.php - - message: "#^Foreach overwrites \\$line with its value variable\\.$#" count: 2 path: src/Bundle/ChillMainBundle/Export/Formatter/CSVFormatter.php + - + message: "#^Method Chill\\\\MainBundle\\\\Export\\\\FilterInterface\\\\:\\:describeAction\\(\\) invoked with 1 parameter, 2 required\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Export/Formatter/CSVFormatter.php + - message: "#^Parameter \\#2 \\$nbAggregators of method Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\CSVFormatter\\:\\:appendAggregatorForm\\(\\) expects string, int\\<0, max\\> given\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Export/Formatter/CSVFormatter.php - - message: "#^Strict comparison using \\=\\=\\= between null and array\\|string will always evaluate to false\\.$#" + message: "#^Strict comparison using \\=\\=\\= between null and array\\|string\\|Symfony\\\\Contracts\\\\Translation\\\\TranslatableInterface will always evaluate to false\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Export/Formatter/CSVFormatter.php @@ -2075,84 +2170,9 @@ parameters: path: src/Bundle/ChillMainBundle/Export/Formatter/CSVFormatter.php - - message: "#^Parameter \\#2 \\$exportAlias \\(Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type\\) of method Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\CSVListFormatter\\:\\:buildForm\\(\\) should be compatible with parameter \\$exportAlias \\(string\\) of method Chill\\\\MainBundle\\\\Export\\\\FormatterInterface\\:\\:buildForm\\(\\)$#" + message: "#^PHPDoc tag @return with type Symfony\\\\Component\\\\HttpFoundation\\\\Response is not subtype of native type Symfony\\\\Component\\\\HttpFoundation\\\\BinaryFileResponse\\.$#" count: 1 - path: src/Bundle/ChillMainBundle/Export/Formatter/CSVListFormatter.php - - - - message: "#^Parameter \\$exportAlias of method Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\CSVListFormatter\\:\\:buildForm\\(\\) has invalid type Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/Formatter/CSVListFormatter.php - - - - message: "#^Parameter \\#2 \\$exportAlias \\(Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type\\) of method Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\CSVPivotedListFormatter\\:\\:buildForm\\(\\) should be compatible with parameter \\$exportAlias \\(string\\) of method Chill\\\\MainBundle\\\\Export\\\\FormatterInterface\\:\\:buildForm\\(\\)$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/Formatter/CSVPivotedListFormatter.php - - - - message: "#^Parameter \\$exportAlias of method Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\CSVPivotedListFormatter\\:\\:buildForm\\(\\) has invalid type Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/Formatter/CSVPivotedListFormatter.php - - - - message: "#^Access to offset 'format' on an unknown class Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadSheetFormatter.php - - - - message: "#^Access to offset mixed on an unknown class Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type\\.$#" - count: 2 - path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadSheetFormatter.php - - - - message: "#^Foreach overwrites \\$key with its key variable\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadSheetFormatter.php - - - - message: "#^Foreach overwrites \\$key with its value variable\\.$#" - count: 3 - path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadSheetFormatter.php - - - - message: "#^Iterating over an object of an unknown class Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type\\.$#" - count: 3 - path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadSheetFormatter.php - - - - message: "#^Parameter \\#2 \\$array of function array_map expects array, Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type given\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadSheetFormatter.php - - - - message: "#^Property Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\SpreadSheetFormatter\\:\\:\\$aggregatorsData \\(Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type\\) does not accept array\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadSheetFormatter.php - - - - message: "#^Property Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\SpreadSheetFormatter\\:\\:\\$aggregatorsData has unknown class Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type as its type\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadSheetFormatter.php - - - - message: "#^Property Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\SpreadSheetFormatter\\:\\:\\$formatterData \\(Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type\\) does not accept array\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadSheetFormatter.php - - - - message: "#^Property Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\SpreadSheetFormatter\\:\\:\\$formatterData has unknown class Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type as its type\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadSheetFormatter.php - - - - message: "#^Property Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\SpreadSheetFormatter\\:\\:\\$result \\(Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type\\) does not accept array\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadSheetFormatter.php - - - - message: "#^Property Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\SpreadSheetFormatter\\:\\:\\$result has unknown class Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\type as its type\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadSheetFormatter.php + path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadsheetListFormatter.php - message: "#^PHPDoc tag @var for property Chill\\\\MainBundle\\\\Export\\\\Helper\\\\ExportAddressHelper\\:\\:\\$unitNamesKeysCache contains unresolvable type\\.$#" @@ -2210,7 +2230,7 @@ parameters: path: src/Bundle/ChillMainBundle/Form/DataMapper/AddressDataMapper.php - - message: "#^Parameter \\#1 \\$forms \\(Iterator\\) of method Chill\\\\MainBundle\\\\Form\\\\DataMapper\\\\AddressDataMapper\\:\\:mapFormsToData\\(\\) should be contravariant with parameter \\$forms \\(iterable\\&Traversable\\) of method Symfony\\\\Component\\\\Form\\\\DataMapperInterface\\:\\:mapFormsToData\\(\\)$#" + message: "#^Parameter \\#1 \\$forms \\(Iterator\\) of method Chill\\\\MainBundle\\\\Form\\\\DataMapper\\\\AddressDataMapper\\:\\:mapFormsToData\\(\\) should be contravariant with parameter \\$forms \\(Traversable\\\\) of method Symfony\\\\Component\\\\Form\\\\DataMapperInterface\\:\\:mapFormsToData\\(\\)$#" count: 1 path: src/Bundle/ChillMainBundle/Form/DataMapper/AddressDataMapper.php @@ -2220,7 +2240,7 @@ parameters: path: src/Bundle/ChillMainBundle/Form/DataMapper/AddressDataMapper.php - - message: "#^Parameter \\#2 \\$forms \\(Iterator\\) of method Chill\\\\MainBundle\\\\Form\\\\DataMapper\\\\AddressDataMapper\\:\\:mapDataToForms\\(\\) should be contravariant with parameter \\$forms \\(iterable\\&Traversable\\) of method Symfony\\\\Component\\\\Form\\\\DataMapperInterface\\:\\:mapDataToForms\\(\\)$#" + message: "#^Parameter \\#2 \\$forms \\(Iterator\\) of method Chill\\\\MainBundle\\\\Form\\\\DataMapper\\\\AddressDataMapper\\:\\:mapDataToForms\\(\\) should be contravariant with parameter \\$forms \\(Traversable\\\\) of method Symfony\\\\Component\\\\Form\\\\DataMapperInterface\\:\\:mapDataToForms\\(\\)$#" count: 1 path: src/Bundle/ChillMainBundle/Form/DataMapper/AddressDataMapper.php @@ -2240,7 +2260,7 @@ parameters: path: src/Bundle/ChillMainBundle/Form/DataTransformer/IdToEntityDataTransformer.php - - message: "#^Parameter \\#1 \\$value \\(string\\) of method Chill\\\\MainBundle\\\\Form\\\\DataTransformer\\\\IdToEntityDataTransformer\\:\\:reverseTransform\\(\\) should be contravariant with parameter \\$value \\(mixed\\) of method Symfony\\\\Component\\\\Form\\\\DataTransformerInterface\\:\\:reverseTransform\\(\\)$#" + message: "#^Parameter \\#1 \\$value \\(string\\) of method Chill\\\\MainBundle\\\\Form\\\\DataTransformer\\\\IdToEntityDataTransformer\\:\\:reverseTransform\\(\\) should be contravariant with parameter \\$value \\(mixed\\) of method Symfony\\\\Component\\\\Form\\\\DataTransformerInterface\\\\:\\:reverseTransform\\(\\)$#" count: 1 path: src/Bundle/ChillMainBundle/Form/DataTransformer/IdToEntityDataTransformer.php @@ -2310,7 +2330,7 @@ parameters: path: src/Bundle/ChillMainBundle/Form/Type/DataTransformer/DateIntervalTransformer.php - - message: "#^Parameter \\#1 \\$value \\(array\\\\|Chill\\\\MainBundle\\\\Entity\\\\User\\) of method Chill\\\\MainBundle\\\\Form\\\\Type\\\\DataTransformer\\\\EntityToJsonTransformer\\:\\:transform\\(\\) should be contravariant with parameter \\$value \\(mixed\\) of method Symfony\\\\Component\\\\Form\\\\DataTransformerInterface\\:\\:transform\\(\\)$#" + message: "#^Parameter \\#1 \\$value \\(array\\\\|Chill\\\\MainBundle\\\\Entity\\\\User\\) of method Chill\\\\MainBundle\\\\Form\\\\Type\\\\DataTransformer\\\\EntityToJsonTransformer\\:\\:transform\\(\\) should be contravariant with parameter \\$value \\(mixed\\) of method Symfony\\\\Component\\\\Form\\\\DataTransformerInterface\\\\:\\:transform\\(\\)$#" count: 1 path: src/Bundle/ChillMainBundle/Form/Type/DataTransformer/EntityToJsonTransformer.php @@ -2320,12 +2340,12 @@ parameters: path: src/Bundle/ChillMainBundle/Form/Type/DataTransformer/EntityToJsonTransformer.php - - message: "#^Parameter \\#1 \\$array \\(array\\) of method Chill\\\\MainBundle\\\\Form\\\\Type\\\\DataTransformer\\\\MultipleObjectsToIdTransformer\\:\\:transform\\(\\) should be contravariant with parameter \\$value \\(mixed\\) of method Symfony\\\\Component\\\\Form\\\\DataTransformerInterface\\:\\:transform\\(\\)$#" + message: "#^Parameter \\#1 \\$array \\(array\\) of method Chill\\\\MainBundle\\\\Form\\\\Type\\\\DataTransformer\\\\MultipleObjectsToIdTransformer\\:\\:transform\\(\\) should be contravariant with parameter \\$value \\(mixed\\) of method Symfony\\\\Component\\\\Form\\\\DataTransformerInterface\\\\:\\:transform\\(\\)$#" count: 1 path: src/Bundle/ChillMainBundle/Form/Type/DataTransformer/MultipleObjectsToIdTransformer.php - - message: "#^Parameter \\#1 \\$id \\(string\\) of method Chill\\\\MainBundle\\\\Form\\\\Type\\\\DataTransformer\\\\ObjectToIdTransformer\\:\\:reverseTransform\\(\\) should be contravariant with parameter \\$value \\(mixed\\) of method Symfony\\\\Component\\\\Form\\\\DataTransformerInterface\\:\\:reverseTransform\\(\\)$#" + message: "#^Parameter \\#1 \\$id \\(string\\) of method Chill\\\\MainBundle\\\\Form\\\\Type\\\\DataTransformer\\\\ObjectToIdTransformer\\:\\:reverseTransform\\(\\) should be contravariant with parameter \\$value \\(mixed\\) of method Symfony\\\\Component\\\\Form\\\\DataTransformerInterface\\\\:\\:reverseTransform\\(\\)$#" count: 1 path: src/Bundle/ChillMainBundle/Form/Type/DataTransformer/ObjectToIdTransformer.php @@ -2365,14 +2385,14 @@ parameters: path: src/Bundle/ChillMainBundle/Form/Type/Select2LanguageType.php - - message: "#^Parameter \\#1 \\$translatableStrings of method Chill\\\\MainBundle\\\\Templating\\\\TranslatableStringHelper\\:\\:localize\\(\\) expects array, string given\\.$#" + message: "#^Property Chill\\\\MainBundle\\\\Form\\\\Type\\\\Select2LanguageType\\:\\:\\$requestStack is never read, only written\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Form/Type/Select2LanguageType.php - - message: "#^Property Chill\\\\MainBundle\\\\Form\\\\Type\\\\Select2LanguageType\\:\\:\\$requestStack is never read, only written\\.$#" + message: "#^Parameter \\#1 \\$callback of class Symfony\\\\Component\\\\Validator\\\\Constraints\\\\Callback constructor expects array\\\\|\\(callable\\(\\)\\: mixed\\)\\|string\\|null, array\\{callback\\: Closure\\(mixed, Symfony\\\\Component\\\\Validator\\\\Context\\\\ExecutionContextInterface, mixed\\)\\: void\\} given\\.$#" count: 1 - path: src/Bundle/ChillMainBundle/Form/Type/Select2LanguageType.php + path: src/Bundle/ChillMainBundle/Form/UserPasswordType.php - message: "#^PHPDoc tag @param for parameter \\$resolver with type Chill\\\\MainBundle\\\\Form\\\\OptionsResolverInterface is not subtype of native type Symfony\\\\Component\\\\OptionsResolver\\\\OptionsResolver\\.$#" @@ -2384,11 +2404,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Form/UserType.php - - - message: "#^Property Chill\\\\MainBundle\\\\Notification\\\\Email\\\\NotificationMailer\\:\\:\\$translator is never read, only written\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Notification/Email/NotificationMailer.php - - message: "#^Strict comparison using \\=\\=\\= between 0 and float will always evaluate to false\\.$#" count: 1 @@ -2489,14 +2504,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Security/Authorization/AuthorizationHelper.php - - - message: """ - #^Call to deprecated method getUsername\\(\\) of class Chill\\\\MainBundle\\\\Entity\\\\User\\: - since Symfony 5\\.3, use getUserIdentifier\\(\\) instead$# - """ - count: 2 - path: src/Bundle/ChillMainBundle/Security/Authorization/AuthorizationHelper.php - - message: "#^Empty array passed to foreach\\.$#" count: 1 @@ -2508,7 +2515,7 @@ parameters: path: src/Bundle/ChillMainBundle/Security/Authorization/AuthorizationHelper.php - - message: "#^Parameter \\#2 \\$subject \\(Chill\\\\MainBundle\\\\Entity\\\\Workflow\\\\EntityWorkflow\\) of method Chill\\\\MainBundle\\\\Security\\\\Authorization\\\\EntityWorkflowVoter\\:\\:voteOnAttribute\\(\\) should be contravariant with parameter \\$subject \\(mixed\\) of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\Voter\\:\\:voteOnAttribute\\(\\)$#" + message: "#^Parameter \\#2 \\$subject \\(Chill\\\\MainBundle\\\\Entity\\\\Workflow\\\\EntityWorkflow\\) of method Chill\\\\MainBundle\\\\Security\\\\Authorization\\\\EntityWorkflowVoter\\:\\:voteOnAttribute\\(\\) should be contravariant with parameter \\$subject \\(mixed\\) of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\Voter\\\\:\\:voteOnAttribute\\(\\)$#" count: 1 path: src/Bundle/ChillMainBundle/Security/Authorization/EntityWorkflowVoter.php @@ -2570,20 +2577,15 @@ parameters: count: 2 path: src/Bundle/ChillMainBundle/Security/Resolver/ResolverTwigExtension.php - - - message: "#^Method Chill\\\\MainBundle\\\\Security\\\\Resolver\\\\ResolverTwigExtension\\:\\:resolveCenter\\(\\) should return array\\\\|Chill\\\\MainBundle\\\\Security\\\\Resolver\\\\Center\\|null but returns array\\\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Security/Resolver/ResolverTwigExtension.php - - message: "#^Method Chill\\\\MainBundle\\\\Security\\\\Resolver\\\\ScopeResolverDispatcher\\:\\:resolveScope\\(\\) invoked with 0 parameters, 1\\-2 required\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Security/Resolver/ResolverTwigExtension.php - - message: "#^Method Chill\\\\MainBundle\\\\Security\\\\RoleProvider\\:\\:getRoleTitle\\(\\) should return string but returns null\\.$#" + message: "#^PHPDoc tag @return with type array\\\\|Chill\\\\MainBundle\\\\Security\\\\Resolver\\\\Center\\|null is not subtype of native type array\\.$#" count: 1 - path: src/Bundle/ChillMainBundle/Security/RoleProvider.php + path: src/Bundle/ChillMainBundle/Security/Resolver/ResolverTwigExtension.php - message: "#^Call to method Chill\\\\MainBundle\\\\Entity\\\\Address\\:\\:getPostcode\\(\\) with incorrect case\\: getPostCode$#" @@ -2606,8 +2608,8 @@ parameters: path: src/Bundle/ChillMainBundle/Serializer/Normalizer/AddressNormalizer.php - - message: "#^Parameter \\#1 \\$address \\(Chill\\\\MainBundle\\\\Entity\\\\Address\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\AddressNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" - count: 2 + message: "#^Parameter \\#1 \\$address \\(Chill\\\\MainBundle\\\\Entity\\\\Address\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\AddressNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + count: 1 path: src/Bundle/ChillMainBundle/Serializer/Normalizer/AddressNormalizer.php - @@ -2616,13 +2618,13 @@ parameters: path: src/Bundle/ChillMainBundle/Serializer/Normalizer/AddressNormalizer.php - - message: "#^Parameter \\#1 \\$collection \\(Chill\\\\MainBundle\\\\Serializer\\\\Model\\\\Collection\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\CollectionNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + message: "#^Parameter \\#1 \\$collection \\(Chill\\\\MainBundle\\\\Serializer\\\\Model\\\\Collection\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\CollectionNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" count: 1 path: src/Bundle/ChillMainBundle/Serializer/Normalizer/CollectionNormalizer.php - - message: "#^Parameter \\#1 \\$object \\(Chill\\\\MainBundle\\\\Entity\\\\Embeddable\\\\CommentEmbeddable\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\CommentEmbeddableDocGenNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" - count: 2 + message: "#^Parameter \\#1 \\$object \\(Chill\\\\MainBundle\\\\Entity\\\\Embeddable\\\\CommentEmbeddable\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\CommentEmbeddableDocGenNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + count: 1 path: src/Bundle/ChillMainBundle/Serializer/Normalizer/CommentEmbeddableDocGenNormalizer.php - @@ -2646,17 +2648,22 @@ parameters: path: src/Bundle/ChillMainBundle/Serializer/Normalizer/DoctrineExistingEntityNormalizer.php - - message: "#^Parameter \\#1 \\$object \\(Chill\\\\MainBundle\\\\Entity\\\\Workflow\\\\EntityWorkflow\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\EntityWorkflowNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + message: "#^Parameter \\#1 \\$object \\(Chill\\\\MainBundle\\\\Entity\\\\Workflow\\\\EntityWorkflow\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\EntityWorkflowNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" count: 1 path: src/Bundle/ChillMainBundle/Serializer/Normalizer/EntityWorkflowNormalizer.php - - message: "#^Parameter \\#1 \\$object \\(Chill\\\\MainBundle\\\\Entity\\\\Workflow\\\\EntityWorkflowStep\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\EntityWorkflowStepNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + message: "#^Parameter \\#1 \\$object \\(Chill\\\\MainBundle\\\\Entity\\\\Workflow\\\\EntityWorkflowStep\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\EntityWorkflowStepNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" count: 1 path: src/Bundle/ChillMainBundle/Serializer/Normalizer/EntityWorkflowStepNormalizer.php - - message: "#^Parameter \\#1 \\$object \\(Chill\\\\MainBundle\\\\Entity\\\\Notification\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\NotificationNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + message: "#^PHPDoc tag @return with type array\\|ArrayObject\\|bool\\|float\\|int\\|string\\|void\\|null is not subtype of native type array\\|ArrayObject\\|bool\\|float\\|int\\|string\\|null\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Serializer/Normalizer/NotificationNormalizer.php + + - + message: "#^Parameter \\#1 \\$object \\(Chill\\\\MainBundle\\\\Entity\\\\Notification\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\NotificationNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" count: 1 path: src/Bundle/ChillMainBundle/Serializer/Normalizer/NotificationNormalizer.php @@ -2670,11 +2677,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Serializer/Normalizer/NotificationNormalizer.php - - - message: "#^Return type \\(array\\|ArrayObject\\|bool\\|float\\|int\\|string\\|void\\|null\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\NotificationNormalizer\\:\\:normalize\\(\\) should be covariant with return type \\(array\\|ArrayObject\\|bool\\|float\\|int\\|string\\|null\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" - count: 1 - path: src/Bundle/ChillMainBundle/Serializer/Normalizer/NotificationNormalizer.php - - message: "#^Parameter \\#1 \\$data \\(string\\|null\\) of method Chill\\\\MainBundle\\\\Serializer\\\\Normalizer\\\\PhonenumberNormalizer\\:\\:denormalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\DenormalizerInterface\\:\\:denormalize\\(\\)$#" count: 1 @@ -2685,14 +2687,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Serializer/Normalizer/PrivateCommentEmbeddableNormalizer.php - - - message: """ - #^Call to deprecated method getUsername\\(\\) of class Chill\\\\MainBundle\\\\Entity\\\\User\\: - since Symfony 5\\.3, use getUserIdentifier\\(\\) instead$# - """ - count: 1 - path: src/Bundle/ChillMainBundle/Serializer/Normalizer/UserNormalizer.php - - message: "#^Result of && is always false\\.$#" count: 1 @@ -2748,16 +2742,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Templating/TranslatableStringHelper.php - - - message: "#^Method Chill\\\\MainBundle\\\\Templating\\\\TranslatableStringTwig\\:\\:getName\\(\\) has invalid return type Chill\\\\MainBundle\\\\Templating\\\\The\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Templating/TranslatableStringTwig.php - - - - message: "#^Method Chill\\\\MainBundle\\\\Templating\\\\TranslatableStringTwig\\:\\:getName\\(\\) should return Chill\\\\MainBundle\\\\Templating\\\\The but returns string\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Templating/TranslatableStringTwig.php - - message: "#^Call to method render\\(\\) on an unknown class Chill\\\\MainBundle\\\\Templating\\\\Widget\\\\Widget\\\\WidgetInterface\\.$#" count: 1 @@ -2823,14 +2807,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Validation/Validator/UserUniqueEmailAndUsername.php - - - message: """ - #^Call to deprecated method getUsername\\(\\) of class Chill\\\\MainBundle\\\\Entity\\\\User\\: - since Symfony 5\\.3, use getUserIdentifier\\(\\) instead$# - """ - count: 3 - path: src/Bundle/ChillMainBundle/Validation/Validator/UserUniqueEmailAndUsername.php - - message: "#^Parameter \\#1 \\$phoneNumber of method Chill\\\\MainBundle\\\\Phonenumber\\\\PhoneNumberHelperInterface\\:\\:format\\(\\) expects libphonenumber\\\\PhoneNumber\\|null, string given\\.$#" count: 1 @@ -2851,14 +2827,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Validation/Validator/ValidPhonenumber.php - - - message: """ - #^Call to deprecated method getUsername\\(\\) of class Chill\\\\MainBundle\\\\Entity\\\\User\\: - since Symfony 5\\.3, use getUserIdentifier\\(\\) instead$# - """ - count: 1 - path: src/Bundle/ChillMainBundle/Validator/Constraints/Entity/UserCircleConsistencyValidator.php - - message: "#^Parameter \\#1 \\$value \\(object\\) of method Chill\\\\MainBundle\\\\Validator\\\\Constraints\\\\Entity\\\\UserCircleConsistencyValidator\\:\\:validate\\(\\) should be contravariant with parameter \\$value \\(mixed\\) of method Symfony\\\\Component\\\\Validator\\\\ConstraintValidatorInterface\\:\\:validate\\(\\)$#" count: 2 @@ -2879,6 +2847,43 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Validator/Constraints/Export/ExportElementConstraintValidator.php + - + message: """ + #^Call to deprecated method getWorkflow\\(\\) of class Symfony\\\\Component\\\\Workflow\\\\Event\\\\Event\\: + since Symfony 7\\.3, inject the workflow in the constructor where you need it$# + """ + count: 1 + path: src/Bundle/ChillMainBundle/Workflow/EventSubscriber/BlockSignatureOnRelatedEntityWithoutAnyStoredObjectGuard.php + + - + message: """ + #^Call to deprecated method getWorkflow\\(\\) of class Symfony\\\\Component\\\\Workflow\\\\Event\\\\Event\\: + since Symfony 7\\.3, inject the workflow in the constructor where you need it$# + """ + count: 1 + path: src/Bundle/ChillMainBundle/Workflow/EventSubscriber/EntityWorkflowGuardTransition.php + + - + message: """ + #^Call to deprecated method getWorkflow\\(\\) of class Symfony\\\\Component\\\\Workflow\\\\Event\\\\Event\\: + since Symfony 7\\.3, inject the workflow in the constructor where you need it$# + """ + count: 1 + path: src/Bundle/ChillMainBundle/Workflow/EventSubscriber/EntityWorkflowGuardUnsignedTransition.php + + - + message: """ + #^Call to deprecated method getWorkflow\\(\\) of class Symfony\\\\Component\\\\Workflow\\\\Event\\\\Event\\: + since Symfony 7\\.3, inject the workflow in the constructor where you need it$# + """ + count: 1 + path: src/Bundle/ChillMainBundle/Workflow/EventSubscriber/EntityWorkflowTransitionEventSubscriber.php + + - + message: "#^Return type \\(array\\\\) of method Chill\\\\MainBundle\\\\Workflow\\\\Validator\\\\EntityWorkflowCreation\\:\\:getTargets\\(\\) should be covariant with return type \\('class'\\|'property'\\|array\\<'class'\\|'property'\\>\\) of method Symfony\\\\Component\\\\Validator\\\\Constraint\\:\\:getTargets\\(\\)$#" + count: 1 + path: src/Bundle/ChillMainBundle/Workflow/Validator/EntityWorkflowCreation.php + - message: "#^Instanceof between Chill\\\\MainBundle\\\\Entity\\\\Workflow\\\\EntityWorkflow and Chill\\\\MainBundle\\\\Entity\\\\Workflow\\\\EntityWorkflow will always evaluate to true\\.$#" count: 1 @@ -2899,6 +2904,21 @@ parameters: count: 2 path: src/Bundle/ChillMainBundle/Workflow/Validator/StepDestValidValidator.php + - + message: "#^Return type \\(string\\) of method Chill\\\\MainBundle\\\\Workflow\\\\Validator\\\\TransitionHasDestUserIfRequired\\:\\:getTargets\\(\\) should be covariant with return type \\('class'\\|'property'\\|array\\<'class'\\|'property'\\>\\) of method Symfony\\\\Component\\\\Validator\\\\Constraint\\:\\:getTargets\\(\\)$#" + count: 1 + path: src/Bundle/ChillMainBundle/Workflow/Validator/TransitionHasDestUserIfRequired.php + + - + message: "#^Return type \\(string\\) of method Chill\\\\MainBundle\\\\Workflow\\\\Validator\\\\TransitionHasDestineeIfIsSentExternal\\:\\:getTargets\\(\\) should be covariant with return type \\('class'\\|'property'\\|array\\<'class'\\|'property'\\>\\) of method Symfony\\\\Component\\\\Validator\\\\Constraint\\:\\:getTargets\\(\\)$#" + count: 1 + path: src/Bundle/ChillMainBundle/Workflow/Validator/TransitionHasDestineeIfIsSentExternal.php + + - + message: "#^Return type \\(string\\) of method Chill\\\\MainBundle\\\\Workflow\\\\Validator\\\\TransitionHasSignerIfSignature\\:\\:getTargets\\(\\) should be covariant with return type \\('class'\\|'property'\\|array\\<'class'\\|'property'\\>\\) of method Symfony\\\\Component\\\\Validator\\\\Constraint\\:\\:getTargets\\(\\)$#" + count: 1 + path: src/Bundle/ChillMainBundle/Workflow/Validator/TransitionHasSignerIfSignature.php + - message: "#^PHPDoc tag @param for parameter \\$postSql with type Chill\\\\PersonBundle\\\\Actions\\\\type is incompatible with native type string\\.$#" count: 1 @@ -2909,6 +2929,16 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Actions/ActionEvent.php + - + message: "#^Call to function array_key_exists\\(\\) with 'joinColumns' and Doctrine\\\\ORM\\\\Mapping\\\\AssociationMapping will always evaluate to false\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Actions/Remove/PersonMove.php + + - + message: "#^Call to function array_key_exists\\(\\) with 'joinTable' and Doctrine\\\\ORM\\\\Mapping\\\\AssociationMapping will always evaluate to false\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Actions/Remove/PersonMove.php + - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 @@ -2924,6 +2954,11 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Actions/Remove/PersonMove.php + - + message: "#^Parameter \\#2 \\$array of function array_key_exists expects array, Doctrine\\\\ORM\\\\Mapping\\\\AssociationMapping given\\.$#" + count: 2 + path: src/Bundle/ChillPersonBundle/Actions/Remove/PersonMove.php + - message: "#^Method Chill\\\\PersonBundle\\\\CRUD\\\\Controller\\\\EntityPersonCRUDController\\:\\:filterQueryEntitiesByPerson\\(\\) has invalid return type Chill\\\\PersonBundle\\\\CRUD\\\\Controller\\\\QueryBuilder\\.$#" count: 1 @@ -2979,6 +3014,11 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Command/ChillPersonMoveCommand.php + - + message: "#^Strict comparison using \\=\\=\\= between null and Chill\\\\PersonBundle\\\\Entity\\\\Person will always evaluate to false\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseApiController.php + - message: "#^Variable \\$accompanyingPeriod in PHPDoc tag @var does not match assigned variable \\$action\\.$#" count: 1 @@ -3005,16 +3045,13 @@ parameters: path: src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseWorkController.php - - message: "#^Call to an undefined method Psr\\\\Container\\\\ContainerInterface\\:\\:getParameter\\(\\)\\.$#" - count: 1 + message: "#^Call to an undefined method Chill\\\\PersonBundle\\\\Controller\\\\AccompanyingPeriodController\\:\\:get\\(\\)\\.$#" + count: 13 path: src/Bundle/ChillPersonBundle/Controller/AccompanyingPeriodController.php - - message: """ - #^Call to deprecated method get\\(\\) of class Symfony\\\\Bundle\\\\FrameworkBundle\\\\Controller\\\\AbstractController\\: - since Symfony 5\\.4, use method or constructor injection in your controller instead$# - """ - count: 13 + message: "#^Call to an undefined method Psr\\\\Container\\\\ContainerInterface\\:\\:getParameter\\(\\)\\.$#" + count: 1 path: src/Bundle/ChillPersonBundle/Controller/AccompanyingPeriodController.php - @@ -3045,6 +3082,11 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Controller/AccompanyingPeriodWorkEvaluationApiController.php + - + message: "#^Parameter \\$options of attribute class Symfony\\\\Component\\\\Routing\\\\Attribute\\\\Route constructor expects array\\, array\\ given\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Controller/AdminController.php + - message: "#^Parameter \\#1 \\$object of static method DateTimeImmutable\\:\\:createFromMutable\\(\\) expects DateTime, DateTimeInterface given\\.$#" count: 1 @@ -3095,6 +3137,11 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Controller/PersonAddressController.php + - + message: "#^Call to an undefined method Chill\\\\PersonBundle\\\\Controller\\\\PersonController\\:\\:get\\(\\)\\.$#" + count: 4 + path: src/Bundle/ChillPersonBundle/Controller/PersonController.php + - message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\\\:\\:findOneByEntity\\(\\)\\.$#" count: 1 @@ -3106,11 +3153,8 @@ parameters: path: src/Bundle/ChillPersonBundle/Controller/PersonController.php - - message: """ - #^Call to deprecated method get\\(\\) of class Symfony\\\\Bundle\\\\FrameworkBundle\\\\Controller\\\\AbstractController\\: - since Symfony 5\\.4, use method or constructor injection in your controller instead$# - """ - count: 4 + message: "#^Class Chill\\\\PersonBundle\\\\Controller\\\\PersonType not found\\.$#" + count: 1 path: src/Bundle/ChillPersonBundle/Controller/PersonController.php - @@ -3123,11 +3167,6 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Controller/PersonController.php - - - message: "#^Strict comparison using \\=\\=\\= between null and Chill\\\\PersonBundle\\\\Entity\\\\Person will always evaluate to false\\.$#" - count: 2 - path: src/Bundle/ChillPersonBundle/Controller/PersonController.php - - message: "#^Access to an undefined property Chill\\\\PersonBundle\\\\Entity\\\\Person\\:\\:\\$counters\\.$#" count: 2 @@ -3269,11 +3308,6 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod/AccompanyingPeriodWork.php - - - message: "#^Property Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\\\AccompanyingPeriodWork\\:\\:\\$createdAt \\(DateTimeImmutable\\|null\\) does not accept DateTimeInterface\\.$#" - count: 1 - path: src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod/AccompanyingPeriodWork.php - - message: "#^Property Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\\\AccompanyingPeriodWork\\:\\:\\$endDate \\(DateTimeImmutable\\|null\\) does not accept DateTimeInterface\\|null\\.$#" count: 1 @@ -3355,11 +3389,6 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Entity/Household/Household.php - - - message: "#^Strict comparison using \\=\\=\\= between null and int will always evaluate to false\\.$#" - count: 2 - path: src/Bundle/ChillPersonBundle/Entity/Household/Household.php - - message: "#^Property Chill\\\\PersonBundle\\\\Entity\\\\Household\\\\PersonHouseholdAddress\\:\\:\\$validFrom is never written, only read\\.$#" count: 1 @@ -3428,6 +3457,11 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Entity/Person.php + - + message: "#^PHPDoc tag @return with type mixed is not subtype of native type Chill\\\\MainBundle\\\\Entity\\\\Address\\|null\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Entity/Person.php + - message: "#^Property Chill\\\\PersonBundle\\\\Entity\\\\Person\\:\\:\\$center is never read, only written\\.$#" count: 1 @@ -3523,21 +3557,26 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php + - + message: "#^Return type \\(callable\\(\\)\\: mixed\\) of method Chill\\\\PersonBundle\\\\Export\\\\Export\\\\ListPersonHavingAccompanyingPeriod\\:\\:getLabels\\(\\) should be covariant with return type \\(\\(callable\\(float\\|int\\|string\\|null\\)\\: string\\)\\|DateTimeInterface\\|int\\|Symfony\\\\Contracts\\\\Translation\\\\TranslatableInterface\\) of method Chill\\\\MainBundle\\\\Export\\\\ExportInterface\\\\:\\:getLabels\\(\\)$#" + count: 2 + path: src/Bundle/ChillPersonBundle/Export/Export/ListPersonHavingAccompanyingPeriod.php + - message: "#^Property Chill\\\\PersonBundle\\\\Export\\\\Filter\\\\AccompanyingCourseFilters\\\\AdministrativeLocationFilter\\:\\:\\$translatableStringHelper is never read, only written\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Export/Filter/AccompanyingCourseFilters/AdministrativeLocationFilter.php + - + message: "#^Parameter \\#1 \\$from of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:from\\(\\) expects class\\-string, string given\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Export/Filter/AccompanyingCourseFilters/RequestorFilter.php + - message: "#^Property Chill\\\\PersonBundle\\\\Export\\\\Filter\\\\SocialWorkFilters\\\\SocialWorkTypeFilter\\:\\:\\$socialActionRender is never read, only written\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Export/Filter/SocialWorkFilters/SocialWorkTypeFilter.php - - - message: "#^Parameter \\#1 \\$translatableStrings of method Chill\\\\MainBundle\\\\Templating\\\\TranslatableStringHelper\\:\\:localize\\(\\) expects array, string given\\.$#" - count: 1 - path: src/Bundle/ChillPersonBundle/Export/Helper/ListPersonHelper.php - - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 @@ -3573,31 +3612,11 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Form/DataMapper/PersonAltNameDataMapper.php - - - message: "#^Property Chill\\\\PersonBundle\\\\Form\\\\PersonResourceType\\:\\:\\$personRender is never read, only written\\.$#" - count: 1 - path: src/Bundle/ChillPersonBundle/Form/PersonResourceType.php - - - - message: "#^Property Chill\\\\PersonBundle\\\\Form\\\\PersonResourceType\\:\\:\\$thirdPartyRender is never read, only written\\.$#" - count: 1 - path: src/Bundle/ChillPersonBundle/Form/PersonResourceType.php - - message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Form/PersonType.php - - - message: "#^PHPDoc tag @param for parameter \\$resolver with type Chill\\\\PersonBundle\\\\Form\\\\OptionsResolverInterface is not subtype of native type Symfony\\\\Component\\\\OptionsResolver\\\\OptionsResolver\\.$#" - count: 1 - path: src/Bundle/ChillPersonBundle/Form/PersonType.php - - - - message: "#^Parameter \\$resolver of method Chill\\\\PersonBundle\\\\Form\\\\PersonType\\:\\:configureOptions\\(\\) has invalid type Chill\\\\PersonBundle\\\\Form\\\\OptionsResolverInterface\\.$#" - count: 1 - path: src/Bundle/ChillPersonBundle/Form/PersonType.php - - message: "#^Strict comparison using \\=\\=\\= between 'create' and 'create' will always evaluate to true\\.$#" count: 1 @@ -3628,6 +3647,11 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Household/MembersEditor.php + - + message: "#^Parameter \\#1 \\$parameters of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:setParameters\\(\\) expects Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\, array\\{user\\: Chill\\\\MainBundle\\\\Entity\\\\User, now\\: DateTimeImmutable, closed\\: 'CLOSED'\\} given\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriod/AccompanyingPeriodWorkEvaluationRepository.php + - message: "#^Parameter \\#3 \\$limit \\(int\\) of method Chill\\\\PersonBundle\\\\Repository\\\\AccompanyingPeriod\\\\AccompanyingPeriodWorkEvaluationRepository\\:\\:findBy\\(\\) should be contravariant with parameter \\$limit \\(int\\|null\\) of method Doctrine\\\\Persistence\\\\ObjectRepository\\\\:\\:findBy\\(\\)$#" count: 1 @@ -3653,16 +3677,16 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriod/AccompanyingPeriodWorkRepository.php + - + message: "#^Parameter \\#1 \\$parameters of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:setParameters\\(\\) expects Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\, array\\{user\\: Chill\\\\MainBundle\\\\Entity\\\\User, since\\: DateTimeImmutable, until\\: DateTimeImmutable\\} given\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriod/AccompanyingPeriodWorkRepository.php + - message: "#^Property Chill\\\\PersonBundle\\\\Repository\\\\AccompanyingPeriod\\\\CommentRepository\\:\\:\\$repository is never read, only written\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriod/CommentRepository.php - - - message: "#^Property Chill\\\\PersonBundle\\\\Repository\\\\AccompanyingPeriod\\\\OriginRepository\\:\\:\\$repository is never read, only written\\.$#" - count: 1 - path: src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriod/OriginRepository.php - - message: "#^Property Chill\\\\PersonBundle\\\\Repository\\\\AccompanyingPeriodParticipationRepository\\:\\:\\$repository is never read, only written\\.$#" count: 1 @@ -3784,12 +3808,12 @@ parameters: path: src/Bundle/ChillPersonBundle/Security/Authorization/AccompanyingPeriodWorkEvaluationDocumentVoter.php - - message: "#^Parameter \\#2 \\$subject \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\\\AccompanyingPeriodWorkEvaluationDocument\\) of method Chill\\\\PersonBundle\\\\Security\\\\Authorization\\\\AccompanyingPeriodWorkEvaluationDocumentVoter\\:\\:voteOnAttribute\\(\\) should be contravariant with parameter \\$subject \\(mixed\\) of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\Voter\\:\\:voteOnAttribute\\(\\)$#" + message: "#^Parameter \\#2 \\$subject \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\\\AccompanyingPeriodWorkEvaluationDocument\\) of method Chill\\\\PersonBundle\\\\Security\\\\Authorization\\\\AccompanyingPeriodWorkEvaluationDocumentVoter\\:\\:voteOnAttribute\\(\\) should be contravariant with parameter \\$subject \\(mixed\\) of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\Voter\\\\:\\:voteOnAttribute\\(\\)$#" count: 1 path: src/Bundle/ChillPersonBundle/Security/Authorization/AccompanyingPeriodWorkEvaluationDocumentVoter.php - - message: "#^Parameter \\#2 \\$subject \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\\\AccompanyingPeriodWorkEvaluation\\) of method Chill\\\\PersonBundle\\\\Security\\\\Authorization\\\\AccompanyingPeriodWorkEvaluationVoter\\:\\:voteOnAttribute\\(\\) should be contravariant with parameter \\$subject \\(mixed\\) of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\Voter\\:\\:voteOnAttribute\\(\\)$#" + message: "#^Parameter \\#2 \\$subject \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\\\AccompanyingPeriodWorkEvaluation\\) of method Chill\\\\PersonBundle\\\\Security\\\\Authorization\\\\AccompanyingPeriodWorkEvaluationVoter\\:\\:voteOnAttribute\\(\\) should be contravariant with parameter \\$subject \\(mixed\\) of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\Voter\\\\:\\:voteOnAttribute\\(\\)$#" count: 1 path: src/Bundle/ChillPersonBundle/Security/Authorization/AccompanyingPeriodWorkEvaluationVoter.php @@ -3809,7 +3833,7 @@ parameters: path: src/Bundle/ChillPersonBundle/Security/Authorization/AccompanyingPeriodWorkVoter.php - - message: "#^Parameter \\#2 \\$subject \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\\\AccompanyingPeriodWork\\) of method Chill\\\\PersonBundle\\\\Security\\\\Authorization\\\\AccompanyingPeriodWorkVoter\\:\\:voteOnAttribute\\(\\) should be contravariant with parameter \\$subject \\(mixed\\) of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\Voter\\:\\:voteOnAttribute\\(\\)$#" + message: "#^Parameter \\#2 \\$subject \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\\\AccompanyingPeriodWork\\) of method Chill\\\\PersonBundle\\\\Security\\\\Authorization\\\\AccompanyingPeriodWorkVoter\\:\\:voteOnAttribute\\(\\) should be contravariant with parameter \\$subject \\(mixed\\) of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\Voter\\\\:\\:voteOnAttribute\\(\\)$#" count: 1 path: src/Bundle/ChillPersonBundle/Security/Authorization/AccompanyingPeriodWorkVoter.php @@ -3829,8 +3853,8 @@ parameters: path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodDocGenNormalizer.php - - message: "#^Parameter \\#1 \\$period \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\|null\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\AccompanyingPeriodDocGenNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" - count: 2 + message: "#^Parameter \\#1 \\$period \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\|null\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\AccompanyingPeriodDocGenNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + count: 1 path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodDocGenNormalizer.php - @@ -3839,12 +3863,12 @@ parameters: path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodDocGenNormalizer.php - - message: "#^Parameter \\#1 \\$origin \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\\\Origin\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\AccompanyingPeriodOriginNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + message: "#^Parameter \\#1 \\$origin \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\\\Origin\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\AccompanyingPeriodOriginNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" count: 1 path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodOriginNormalizer.php - - message: "#^Parameter \\#1 \\$participation \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriodParticipation\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\AccompanyingPeriodParticipationNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + message: "#^Parameter \\#1 \\$participation \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriodParticipation\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\AccompanyingPeriodParticipationNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" count: 1 path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodParticipationNormalizer.php @@ -3869,8 +3893,8 @@ parameters: path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodWorkEvaluationDocumentNormalizer.php - - message: "#^Parameter \\#1 \\$object \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\\\AccompanyingPeriodWorkEvaluation\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\AccompanyingPeriodWorkEvaluationNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" - count: 2 + message: "#^Parameter \\#1 \\$object \\(Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\\\AccompanyingPeriodWorkEvaluation\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\AccompanyingPeriodWorkEvaluationNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + count: 1 path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodWorkEvaluationNormalizer.php - @@ -3934,7 +3958,7 @@ parameters: path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/PersonJsonNormalizer.php - - message: "#^Parameter \\#1 \\$person \\(Chill\\\\PersonBundle\\\\Entity\\\\Person\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\PersonJsonNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + message: "#^Parameter \\#1 \\$person \\(Chill\\\\PersonBundle\\\\Entity\\\\Person\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\PersonJsonNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" count: 2 path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/PersonJsonNormalizer.php @@ -3944,8 +3968,8 @@ parameters: path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/PersonJsonNormalizer.php - - message: "#^Parameter \\#1 \\$relation \\(Chill\\\\PersonBundle\\\\Entity\\\\Relationships\\\\Relationship\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\RelationshipDocGenNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" - count: 2 + message: "#^Parameter \\#1 \\$relation \\(Chill\\\\PersonBundle\\\\Entity\\\\Relationships\\\\Relationship\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\RelationshipDocGenNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + count: 1 path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/RelationshipDocGenNormalizer.php - @@ -3953,19 +3977,14 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/RelationshipDocGenNormalizer.php - - - message: "#^Method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\SocialIssueNormalizer\\:\\:normalize\\(\\) should return array\\|ArrayObject\\|bool\\|float\\|int\\|string\\|null but return statement is missing\\.$#" - count: 1 - path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/SocialIssueNormalizer.php - - message: "#^PHPDoc tag @return with type array\\|ArrayObject\\|bool\\|float\\|int\\|string\\|void\\|null is not subtype of native type array\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/WorkflowNormalizer.php - - message: "#^Parameter \\#1 \\$object \\(Chill\\\\MainBundle\\\\Entity\\\\Workflow\\\\EntityWorkflow\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\WorkflowNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$object \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" - count: 2 + message: "#^Parameter \\#1 \\$object \\(Chill\\\\MainBundle\\\\Entity\\\\Workflow\\\\EntityWorkflow\\) of method Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\WorkflowNormalizer\\:\\:normalize\\(\\) should be contravariant with parameter \\$data \\(mixed\\) of method Symfony\\\\Component\\\\Serializer\\\\Normalizer\\\\NormalizerInterface\\:\\:normalize\\(\\)$#" + count: 1 path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/WorkflowNormalizer.php - @@ -3978,6 +3997,11 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Service/DocGenerator/PersonContext.php + - + message: "#^Foreach overwrites \\$field with its value variable\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Service/Import/SocialWorkMetadata.php + - message: "#^Property Chill\\\\PersonBundle\\\\Service\\\\Import\\\\SocialWorkMetadata\\:\\:\\$socialActionRepository is never read, only written\\.$#" count: 1 @@ -3999,7 +4023,12 @@ parameters: path: src/Bundle/ChillPersonBundle/Timeline/AbstractTimelineAccompanyingPeriod.php - - message: "#^Parameter \\#1 \\$entityName of method Doctrine\\\\ORM\\\\EntityManager\\:\\:getRepository\\(\\) expects class\\-string\\, string given\\.$#" + message: "#^Method Chill\\\\PersonBundle\\\\Timeline\\\\AbstractTimelineAccompanyingPeriod\\:\\:basicFetchQuery\\(\\) should return array but returns Chill\\\\MainBundle\\\\Timeline\\\\TimelineSingleQuery\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Timeline/AbstractTimelineAccompanyingPeriod.php + + - + message: "#^Parameter \\#1 \\$className of method Doctrine\\\\ORM\\\\EntityManager\\:\\:getRepository\\(\\) expects class\\-string\\, string given\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Timeline/AbstractTimelineAccompanyingPeriod.php @@ -4048,11 +4077,26 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Timeline/TimelineAccompanyingPeriodOpening.php + - + message: "#^Return type \\(string\\) of method Chill\\\\PersonBundle\\\\Validator\\\\Constraints\\\\AccompanyingPeriod\\\\AccompanyingPeriodValidity\\:\\:getTargets\\(\\) should be covariant with return type \\('class'\\|'property'\\|array\\<'class'\\|'property'\\>\\) of method Symfony\\\\Component\\\\Validator\\\\Constraint\\:\\:getTargets\\(\\)$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Validator/Constraints/AccompanyingPeriod/AccompanyingPeriodValidity.php + - message: "#^Property Chill\\\\PersonBundle\\\\Validator\\\\Constraints\\\\AccompanyingPeriod\\\\AccompanyingPeriodValidityValidator\\:\\:\\$token is never read, only written\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Validator/Constraints/AccompanyingPeriod/AccompanyingPeriodValidityValidator.php + - + message: "#^Return type \\(array\\\\) of method Chill\\\\PersonBundle\\\\Validator\\\\Constraints\\\\AccompanyingPeriod\\\\ConfidentialCourseMustHaveReferrer\\:\\:getTargets\\(\\) should be covariant with return type \\('class'\\|'property'\\|array\\<'class'\\|'property'\\>\\) of method Symfony\\\\Component\\\\Validator\\\\Constraint\\:\\:getTargets\\(\\)$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Validator/Constraints/AccompanyingPeriod/ConfidentialCourseMustHaveReferrer.php + + - + message: "#^Return type \\(string\\) of method Chill\\\\PersonBundle\\\\Validator\\\\Constraints\\\\AccompanyingPeriod\\\\LocationValidity\\:\\:getTargets\\(\\) should be covariant with return type \\('class'\\|'property'\\|array\\<'class'\\|'property'\\>\\) of method Symfony\\\\Component\\\\Validator\\\\Constraint\\:\\:getTargets\\(\\)$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Validator/Constraints/AccompanyingPeriod/LocationValidity.php + - message: "#^Property Chill\\\\PersonBundle\\\\Validator\\\\Constraints\\\\AccompanyingPeriod\\\\ParticipationOverlapValidator\\:\\:\\$thirdpartyRender is never read, only written\\.$#" count: 1 @@ -4068,6 +4112,11 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Validator/Constraints/Household/HouseholdMembershipSequentialValidator.php + - + message: "#^Return type \\(string\\) of method Chill\\\\PersonBundle\\\\Validator\\\\Constraints\\\\Household\\\\MaxHolder\\:\\:getTargets\\(\\) should be covariant with return type \\('class'\\|'property'\\|array\\<'class'\\|'property'\\>\\) of method Symfony\\\\Component\\\\Validator\\\\Constraint\\:\\:getTargets\\(\\)$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Validator/Constraints/Household/MaxHolder.php + - message: "#^Access to an undefined property Symfony\\\\Component\\\\Validator\\\\Constraint\\:\\:\\$message\\.$#" count: 1 @@ -4093,6 +4142,11 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Widget/PersonListWidgetFactory.php + - + message: "#^Call to an undefined method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:get\\(\\)\\.$#" + count: 7 + path: src/Bundle/ChillReportBundle/Controller/ReportController.php + - message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:createQuery\\(\\)\\.$#" count: 2 @@ -4108,14 +4162,6 @@ parameters: count: 2 path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - - message: """ - #^Call to deprecated method get\\(\\) of class Symfony\\\\Bundle\\\\FrameworkBundle\\\\Controller\\\\AbstractController\\: - since Symfony 5\\.4, use method or constructor injection in your controller instead$# - """ - count: 7 - path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - message: "#^Call to method getId\\(\\) on an unknown class ChillReportBundle\\:Report\\.$#" count: 2 @@ -4131,16 +4177,6 @@ parameters: count: 1 path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:createAction\\(\\) should return Chill\\\\ReportBundle\\\\Controller\\\\Response but returns Symfony\\\\Component\\\\HttpFoundation\\\\RedirectResponse\\.$#" - count: 1 - path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:createAction\\(\\) should return Chill\\\\ReportBundle\\\\Controller\\\\Response but returns Symfony\\\\Component\\\\HttpFoundation\\\\Response\\.$#" - count: 1 - path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:createCreateForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\Form but returns Symfony\\\\Component\\\\Form\\\\FormInterface\\.$#" count: 1 @@ -4156,11 +4192,6 @@ parameters: count: 1 path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:editAction\\(\\) should return Chill\\\\ReportBundle\\\\Controller\\\\Response but returns Symfony\\\\Component\\\\HttpFoundation\\\\Response\\.$#" - count: 1 - path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:exportAction\\(\\) has invalid return type Chill\\\\ReportBundle\\\\Controller\\\\A\\.$#" count: 1 @@ -4176,76 +4207,31 @@ parameters: count: 1 path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:listAction\\(\\) should return Chill\\\\ReportBundle\\\\Controller\\\\Response but returns Symfony\\\\Component\\\\HttpFoundation\\\\Response\\.$#" - count: 1 - path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:newAction\\(\\) has invalid return type Chill\\\\ReportBundle\\\\Controller\\\\Response\\.$#" count: 1 path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:newAction\\(\\) should return Chill\\\\ReportBundle\\\\Controller\\\\Response but returns Symfony\\\\Component\\\\HttpFoundation\\\\Response\\.$#" - count: 1 - path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:selectReportTypeAction\\(\\) has invalid return type Chill\\\\ReportBundle\\\\Controller\\\\Response\\.$#" count: 1 path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:selectReportTypeAction\\(\\) should return Chill\\\\ReportBundle\\\\Controller\\\\Response but returns Symfony\\\\Component\\\\HttpFoundation\\\\RedirectResponse\\.$#" - count: 2 - path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:selectReportTypeAction\\(\\) should return Chill\\\\ReportBundle\\\\Controller\\\\Response but returns Symfony\\\\Component\\\\HttpFoundation\\\\Response\\.$#" - count: 1 - path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:selectReportTypeForExportAction\\(\\) has invalid return type Chill\\\\ReportBundle\\\\Controller\\\\Response\\.$#" count: 1 path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:selectReportTypeForExportAction\\(\\) should return Chill\\\\ReportBundle\\\\Controller\\\\Response but returns Symfony\\\\Component\\\\HttpFoundation\\\\RedirectResponse\\.$#" - count: 2 - path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:selectReportTypeForExportAction\\(\\) should return Chill\\\\ReportBundle\\\\Controller\\\\Response but returns Symfony\\\\Component\\\\HttpFoundation\\\\Response\\.$#" - count: 1 - path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:updateAction\\(\\) has invalid return type Chill\\\\ReportBundle\\\\Controller\\\\Response\\.$#" count: 1 path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:updateAction\\(\\) should return Chill\\\\ReportBundle\\\\Controller\\\\Response but returns Symfony\\\\Component\\\\HttpFoundation\\\\RedirectResponse\\.$#" - count: 1 - path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:updateAction\\(\\) should return Chill\\\\ReportBundle\\\\Controller\\\\Response but returns Symfony\\\\Component\\\\HttpFoundation\\\\Response\\.$#" - count: 1 - path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:viewAction\\(\\) has invalid return type Chill\\\\ReportBundle\\\\Controller\\\\Response\\.$#" count: 1 path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - - message: "#^Method Chill\\\\ReportBundle\\\\Controller\\\\ReportController\\:\\:viewAction\\(\\) should return Chill\\\\ReportBundle\\\\Controller\\\\Response but returns Symfony\\\\Component\\\\HttpFoundation\\\\Response\\.$#" - count: 1 - path: src/Bundle/ChillReportBundle/Controller/ReportController.php - - message: "#^Negated boolean expression is always false\\.$#" count: 1 @@ -4261,6 +4247,11 @@ parameters: count: 1 path: src/Bundle/ChillReportBundle/Controller/ReportController.php + - + message: "#^PHPDoc tag @return with type Chill\\\\ReportBundle\\\\Controller\\\\Response is not subtype of native type Symfony\\\\Component\\\\HttpFoundation\\\\Response\\.$#" + count: 8 + path: src/Bundle/ChillReportBundle/Controller/ReportController.php + - message: "#^Parameter \\#1 \\$className of method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:getRepository\\(\\) expects class\\-string\\, string given\\.$#" count: 4 @@ -4276,6 +4267,11 @@ parameters: count: 1 path: src/Bundle/ChillReportBundle/Entity/Report.php + - + message: "#^Return type \\(Chill\\\\MainBundle\\\\Entity\\\\Scope\\|null\\) of method Chill\\\\ReportBundle\\\\Entity\\\\Report\\:\\:getScope\\(\\) should be covariant with return type \\(Chill\\\\MainBundle\\\\Entity\\\\Scope\\) of method Chill\\\\MainBundle\\\\Entity\\\\HasScopeInterface\\:\\:getScope\\(\\)$#" + count: 1 + path: src/Bundle/ChillReportBundle/Entity/Report.php + - message: "#^Call to method extractOtherValue\\(\\) on an unknown class Chill\\\\CustomFieldsBundle\\\\Service\\\\CustomFieldInterface\\.$#" count: 1 @@ -4306,18 +4302,23 @@ parameters: count: 2 path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + - + message: "#^Parameter \\#1 \\$callback of class Symfony\\\\Component\\\\Validator\\\\Constraints\\\\Callback constructor expects array\\\\|\\(callable\\(\\)\\: mixed\\)\\|string\\|null, array\\{callback\\: Closure\\(mixed, Symfony\\\\Component\\\\Validator\\\\Context\\\\ExecutionContextInterface\\)\\: void\\} given\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + - message: "#^Parameter \\#1 \\$em of class Chill\\\\MainBundle\\\\Form\\\\Type\\\\DataTransformer\\\\ScopeTransformer constructor expects Doctrine\\\\ORM\\\\EntityManagerInterface, Doctrine\\\\Persistence\\\\ObjectManager given\\.$#" count: 1 path: src/Bundle/ChillReportBundle/Form/ReportType.php - - message: "#^Method Chill\\\\ReportBundle\\\\Security\\\\Authorization\\\\ReportVoter\\:\\:supports\\(\\) should return bool but return statement is missing\\.$#" + message: "#^Call to method getId\\(\\) on an unknown class ChillReportBundle\\:Report\\.$#" count: 1 - path: src/Bundle/ChillReportBundle/Security/Authorization/ReportVoter.php + path: src/Bundle/ChillReportBundle/Timeline/TimelineReportProvider.php - - message: "#^Call to method getId\\(\\) on an unknown class ChillReportBundle\\:Report\\.$#" + message: "#^Parameter \\#1 \\$className of method Doctrine\\\\ORM\\\\EntityManager\\:\\:getRepository\\(\\) expects class\\-string\\, string given\\.$#" count: 1 path: src/Bundle/ChillReportBundle/Timeline/TimelineReportProvider.php @@ -4331,11 +4332,6 @@ parameters: count: 1 path: src/Bundle/ChillReportBundle/Timeline/TimelineReportProvider.php - - - message: "#^Parameter \\#1 \\$entityName of method Doctrine\\\\ORM\\\\EntityManager\\:\\:getRepository\\(\\) expects class\\-string\\, string given\\.$#" - count: 1 - path: src/Bundle/ChillReportBundle/Timeline/TimelineReportProvider.php - - message: "#^Parameter \\$context of method Chill\\\\ReportBundle\\\\Timeline\\\\TimelineReportProvider\\:\\:getEntityTemplate\\(\\) has invalid type Chill\\\\MainBundle\\\\Timeline\\\\type\\.$#" count: 1 @@ -4346,6 +4342,11 @@ parameters: count: 1 path: src/Bundle/ChillReportBundle/Timeline/TimelineReportProvider.php + - + message: "#^Return type \\(Chill\\\\MainBundle\\\\Timeline\\\\TimelineSingleQuery\\) of method Chill\\\\ReportBundle\\\\Timeline\\\\TimelineReportProvider\\:\\:fetchQuery\\(\\) should be compatible with return type \\(array\\\\) of method Chill\\\\MainBundle\\\\Timeline\\\\TimelineProviderInterface\\:\\:fetchQuery\\(\\)$#" + count: 1 + path: src/Bundle/ChillReportBundle/Timeline/TimelineReportProvider.php + - message: """ #^Parameter \\$centerResolverDispatcher of method Chill\\\\TaskBundle\\\\Controller\\\\SingleTaskController\\:\\:__construct\\(\\) has typehint with deprecated interface Chill\\\\MainBundle\\\\Security\\\\Resolver\\\\CenterResolverDispatcherInterface\\: @@ -4404,14 +4405,6 @@ parameters: count: 1 path: src/Bundle/ChillTaskBundle/Event/Lifecycle/TaskLifecycleEvent.php - - - message: """ - #^Call to deprecated method getUsername\\(\\) of class Chill\\\\MainBundle\\\\Entity\\\\User\\: - since Symfony 5\\.3, use getUserIdentifier\\(\\) instead$# - """ - count: 1 - path: src/Bundle/ChillTaskBundle/Form/SingleTaskListType.php - - message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" count: 2 @@ -4495,11 +4488,6 @@ parameters: count: 1 path: src/Bundle/ChillTaskBundle/Timeline/SingleTaskTaskLifeCycleEventTimelineProvider.php - - - message: "#^Method Chill\\\\TaskBundle\\\\Timeline\\\\SingleTaskTaskLifeCycleEventTimelineProvider\\:\\:getTransitionByName\\(\\) should return Symfony\\\\Component\\\\Workflow\\\\Transition but return statement is missing\\.$#" - count: 1 - path: src/Bundle/ChillTaskBundle/Timeline/SingleTaskTaskLifeCycleEventTimelineProvider.php - - message: "#^Parameter \\$context of method Chill\\\\TaskBundle\\\\Timeline\\\\SingleTaskTaskLifeCycleEventTimelineProvider\\:\\:getEntityTemplate\\(\\) has invalid type Chill\\\\MainBundle\\\\Timeline\\\\type\\.$#" count: 1 @@ -4510,6 +4498,11 @@ parameters: count: 1 path: src/Bundle/ChillTaskBundle/Timeline/SingleTaskTaskLifeCycleEventTimelineProvider.php + - + message: "#^Return type \\(Chill\\\\MainBundle\\\\Timeline\\\\TimelineSingleQuery\\) of method Chill\\\\TaskBundle\\\\Timeline\\\\SingleTaskTaskLifeCycleEventTimelineProvider\\:\\:fetchQuery\\(\\) should be compatible with return type \\(array\\\\) of method Chill\\\\MainBundle\\\\Timeline\\\\TimelineProviderInterface\\:\\:fetchQuery\\(\\)$#" + count: 1 + path: src/Bundle/ChillTaskBundle/Timeline/SingleTaskTaskLifeCycleEventTimelineProvider.php + - message: "#^Call to method getData\\(\\) on an unknown class Chill\\\\MainBundle\\\\Timeline\\\\type\\.$#" count: 1 @@ -4525,11 +4518,6 @@ parameters: count: 1 path: src/Bundle/ChillTaskBundle/Timeline/TaskLifeCycleEventTimelineProvider.php - - - message: "#^Method Chill\\\\TaskBundle\\\\Timeline\\\\TaskLifeCycleEventTimelineProvider\\:\\:getTransitionByName\\(\\) should return Symfony\\\\Component\\\\Workflow\\\\Transition but return statement is missing\\.$#" - count: 1 - path: src/Bundle/ChillTaskBundle/Timeline/TaskLifeCycleEventTimelineProvider.php - - message: "#^Parameter \\$context of method Chill\\\\TaskBundle\\\\Timeline\\\\TaskLifeCycleEventTimelineProvider\\:\\:getEntityTemplate\\(\\) has invalid type Chill\\\\MainBundle\\\\Timeline\\\\type\\.$#" count: 1 @@ -4540,6 +4528,11 @@ parameters: count: 1 path: src/Bundle/ChillTaskBundle/Timeline/TaskLifeCycleEventTimelineProvider.php + - + message: "#^Return type \\(Chill\\\\MainBundle\\\\Timeline\\\\TimelineSingleQuery\\) of method Chill\\\\TaskBundle\\\\Timeline\\\\TaskLifeCycleEventTimelineProvider\\:\\:fetchQuery\\(\\) should be compatible with return type \\(array\\\\) of method Chill\\\\MainBundle\\\\Timeline\\\\TimelineProviderInterface\\:\\:fetchQuery\\(\\)$#" + count: 1 + path: src/Bundle/ChillTaskBundle/Timeline/TaskLifeCycleEventTimelineProvider.php + - message: "#^Call to an undefined method Chill\\\\TaskBundle\\\\Entity\\\\AbstractTask\\:\\:getId\\(\\)\\.$#" count: 1 @@ -4630,11 +4623,6 @@ parameters: count: 1 path: src/Bundle/ChillThirdPartyBundle/Repository/ThirdPartyRepository.php - - - message: "#^Parameter \\#2 \\$subject \\(Chill\\\\ThirdPartyBundle\\\\Entity\\\\ThirdParty\\|null\\) of method Chill\\\\ThirdPartyBundle\\\\Security\\\\Voter\\\\ThirdPartyVoter\\:\\:voteOnAttribute\\(\\) should be contravariant with parameter \\$subject \\(mixed\\) of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\Voter\\:\\:voteOnAttribute\\(\\)$#" - count: 1 - path: src/Bundle/ChillThirdPartyBundle/Security/Voter/ThirdPartyVoter.php - - message: "#^Unreachable statement \\- code above always terminates\\.$#" count: 1 @@ -4645,6 +4633,11 @@ parameters: count: 1 path: src/Bundle/ChillThirdPartyBundle/ThirdPartyType/ThirdPartyTypeManager.php + - + message: "#^Return type \\(array\\\\|string\\) of method Chill\\\\ThirdPartyBundle\\\\Validator\\\\ThirdPartyHasEmail\\:\\:getTargets\\(\\) should be covariant with return type \\('class'\\|'property'\\|array\\<'class'\\|'property'\\>\\) of method Symfony\\\\Component\\\\Validator\\\\Constraint\\:\\:getTargets\\(\\)$#" + count: 1 + path: src/Bundle/ChillThirdPartyBundle/Validator/ThirdPartyHasEmail.php + - message: "#^Strict comparison using \\=\\=\\= between null and Chill\\\\DocStoreBundle\\\\Entity\\\\StoredObject will always evaluate to false\\.$#" count: 1