From a19a5803e8380bdc1908c56a6f2aa947d91ac6cb Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 9 Nov 2021 13:49:08 +0100 Subject: [PATCH] Update baseline - add new errors. --- phpstan-baseline.neon | 1242 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 1241 insertions(+), 1 deletion(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 48fbfc399..c2d9808d4 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -10,11 +10,51 @@ parameters: count: 4 path: src/Bundle/ChillActivityBundle/Controller/ActivityController.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivity.php + + - + message: "#^Variable \\$activity might not be defined\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivity.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivitytACL.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Entity/Activity.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Entity/ActivityReason.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Entity/ActivityReasonCategory.php + + - + message: "#^Variable property access on \\$this\\(Chill\\\\ActivityBundle\\\\Entity\\\\ActivityType\\)\\.$#" + count: 3 + path: src/Bundle/ChillActivityBundle/Entity/ActivityType.php + - message: "#^Anonymous function has an unused use \\$data\\.$#" count: 1 path: src/Bundle/ChillActivityBundle/Export/Aggregator/ActivityTypeAggregator.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Export/Export/ListActivity.php + - message: "#^Method Chill\\\\ActivityBundle\\\\Export\\\\Export\\\\StatActivityDuration\\:\\:getDescription\\(\\) should return string but return statement is missing\\.$#" count: 1 @@ -35,11 +75,51 @@ parameters: count: 1 path: src/Bundle/ChillActivityBundle/Export/Export/StatActivityDuration.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Form/ActivityType.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Form/ActivityType.php + + - + message: "#^Only booleans are allowed in &&, mixed given on the right side\\.$#" + count: 3 + path: src/Bundle/ChillActivityBundle/Form/ActivityType.php + + - + message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" + count: 2 + path: src/Bundle/ChillActivityBundle/Form/ActivityType.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Menu/AdminMenuBuilder.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Repository/ActivityACLAwareRepository.php + - message: "#^Undefined variable\\: \\$person$#" count: 1 path: src/Bundle/ChillActivityBundle/Repository/ActivityACLAwareRepository.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillActivityBundle/Security/Authorization/ActivityStatsVoter.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillActivityBundle/Timeline/TimelineActivityProvider.php + - message: "#^Method Chill\\\\ActivityBundle\\\\Timeline\\\\TimelineActivityProvider\\:\\:getFromClausePerson\\(\\) invoked with 1 parameter, 0 required\\.$#" count: 1 @@ -65,16 +145,96 @@ parameters: count: 1 path: src/Bundle/ChillAsideActivityBundle/src/Form/AsideActivityFormType.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillAsideActivityBundle/src/Form/AsideActivityFormType.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillAsideActivityBundle/src/Menu/AdminMenuBuilder.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$titles does not exist\\.$#" + count: 1 + path: src/Bundle/ChillAsideActivityBundle/src/Templating/Entity/CategoryRender.php + + - + message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" + count: 3 + path: src/Bundle/ChillBudgetBundle/Form/ChargeType.php + + - + message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" + count: 2 + path: src/Bundle/ChillBudgetBundle/Form/ResourceType.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillBudgetBundle/Security/Authorization/BudgetElementVoter.php + - message: "#^Variable \\$view might not be defined\\.$#" - count: 8 + count: 4 path: src/Bundle/ChillCalendarBundle/Controller/CalendarController.php + - + message: "#^Access to an undefined property Chill\\\\CalendarBundle\\\\DataFixtures\\\\ORM\\\\LoadCalendarRange\\:\\:\\$userRepository\\.$#" + count: 2 + path: src/Bundle/ChillCalendarBundle/DataFixtures/ORM/LoadCalendarRange.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillCalendarBundle/Entity/Calendar.php + + - + message: "#^Class RuntimeException referenced with incorrect case\\: RunTimeException\\.$#" + count: 5 + path: src/Bundle/ChillCustomFieldsBundle/Command/CreateFieldsOnGroupCommand.php + + - + message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" + count: 1 + path: src/Bundle/ChillCustomFieldsBundle/Command/CreateFieldsOnGroupCommand.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillCustomFieldsBundle/Controller/CustomFieldsGroupController.php + + - + message: "#^Foreach overwrites \\$key with its key variable\\.$#" + count: 1 + path: src/Bundle/ChillCustomFieldsBundle/Controller/CustomFieldsGroupController.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillCustomFieldsBundle/CustomFields/AbstractCustomField.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 3 + path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldChoice.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + 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: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + 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 @@ -90,6 +250,11 @@ parameters: count: 1 path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldLongChoice.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + 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 @@ -105,6 +270,26 @@ parameters: count: 1 path: src/Bundle/ChillCustomFieldsBundle/CustomFields/CustomFieldTitle.php + - + message: "#^Implicit array creation is not allowed \\- variable \\$twigConfig does not exist\\.$#" + count: 1 + path: src/Bundle/ChillCustomFieldsBundle/DependencyInjection/ChillCustomFieldsExtension.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillCustomFieldsBundle/Entity/CustomField.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillCustomFieldsBundle/Entity/CustomFieldsGroup.php + + - + message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" + count: 1 + path: src/Bundle/ChillCustomFieldsBundle/Form/CustomFieldType.php + - message: "#^Variable \\$optionBuilder might not be defined\\.$#" count: 1 @@ -135,16 +320,71 @@ parameters: count: 1 path: src/Bundle/ChillDocStoreBundle/Controller/DocumentCategoryController.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillDocStoreBundle/DataFixtures/ORM/LoadDocumentACL.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillDocStoreBundle/Entity/DocumentCategory.php + - message: "#^Class App\\\\Entity\\\\AccompanyingCourseDocument not found\\.$#" count: 1 path: src/Bundle/ChillDocStoreBundle/EntityRepository/AccompanyingCourseDocumentRepository.php + - + message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" + count: 1 + path: src/Bundle/ChillDocStoreBundle/EntityRepository/DocumentCategoryRepository.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$ignoredParticipations might not exist\\.$#" + count: 1 + path: src/Bundle/ChillEventBundle/Controller/ParticipationController.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$newParticipations might not exist\\.$#" + count: 1 + path: src/Bundle/ChillEventBundle/Controller/ParticipationController.php + - message: "#^Variable \\$participation might not be defined\\.$#" count: 3 path: src/Bundle/ChillEventBundle/Controller/ParticipationController.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadRolesACL.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillEventBundle/Entity/Participation.php + + - + message: "#^Method Chill\\\\EventBundle\\\\Entity\\\\Participation\\:\\:offsetGet\\(\\) should return mixed but return statement is missing\\.$#" + count: 1 + path: src/Bundle/ChillEventBundle/Entity/Participation.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillEventBundle/Form/ChoiceLoader/EventChoiceLoader.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillEventBundle/Form/ChoiceLoader/EventChoiceLoader.php + + - + message: "#^Foreach overwrites \\$value with its value variable\\.$#" + count: 1 + path: src/Bundle/ChillEventBundle/Form/ChoiceLoader/EventChoiceLoader.php + - message: "#^Parameter \\$resolver of method Chill\\\\EventBundle\\\\Form\\\\EventTypeType\\:\\:setDefaultOptions\\(\\) has invalid type Symfony\\\\Component\\\\OptionsResolver\\\\OptionsResolverInterface\\.$#" count: 1 @@ -160,16 +400,51 @@ parameters: count: 1 path: src/Bundle/ChillEventBundle/Form/StatusType.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillEventBundle/Form/Type/PickEventType.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 2 + path: src/Bundle/ChillEventBundle/Search/EventSearch.php + - message: "#^Method Chill\\\\EventBundle\\\\Search\\\\EventSearch\\:\\:renderResult\\(\\) should return string but return statement is missing\\.$#" count: 1 path: src/Bundle/ChillEventBundle/Search/EventSearch.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillEventBundle/Security/Authorization/EventVoter.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillEventBundle/Security/Authorization/ParticipationVoter.php + - message: "#^Undefined variable\\: \\$id$#" count: 1 path: src/Bundle/ChillFamilyMembersBundle/Controller/FamilyMemberController.php + - + message: "#^Casting to string something that's already string\\.$#" + count: 5 + path: src/Bundle/ChillFamilyMembersBundle/Entity/AbstractFamilyMember.php + + - + message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" + count: 2 + path: src/Bundle/ChillFamilyMembersBundle/Form/FamilyMemberType.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillFamilyMembersBundle/Security/Voter/FamilyMemberVoter.php + - message: "#^Call to an undefined method Chill\\\\MainBundle\\\\CRUD\\\\Controller\\\\AbstractCRUDController\\:\\:getRoleFor\\(\\)\\.$#" count: 1 @@ -190,11 +465,21 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/CRUD/Controller/ApiController.php + - + message: "#^Variable method call on object\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/CRUD/Controller/ApiController.php + - message: "#^Call to sprintf contains 2 placeholders, 0 values given\\.$#" count: 1 path: src/Bundle/ChillMainBundle/CRUD/Controller/CRUDController.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/CRUD/Controller/CRUDController.php + - message: "#^Method Chill\\\\MainBundle\\\\CRUD\\\\Controller\\\\CRUDController\\:\\:buildQueryEntities\\(\\) invoked with 3 parameters, 2 required\\.$#" count: 2 @@ -220,6 +505,11 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/CRUD/Controller/CRUDController.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/CRUD/Resolver/Resolver.php + - message: "#^Method Chill\\\\MainBundle\\\\CRUD\\\\Resolver\\\\Resolver\\:\\:getConfigValue\\(\\) should return string but return statement is missing\\.$#" count: 1 @@ -230,6 +520,21 @@ parameters: count: 2 path: src/Bundle/ChillMainBundle/CRUD/Routing/CRUDRoutesLoader.php + - + message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/CRUD/Routing/CRUDRoutesLoader.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/CRUD/Routing/CRUDRoutesLoader.php + + - + message: "#^Chill\\\\MainBundle\\\\CRUD\\\\Routing\\\\CRUDRoutesLoader\\:\\:__construct\\(\\) does not call parent constructor from Symfony\\\\Component\\\\Config\\\\Loader\\\\Loader\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/CRUD/Routing/CRUDRoutesLoader.php + - message: "#^Call to an undefined method Chill\\\\MainBundle\\\\Command\\\\ChillImportUsersCommand\\:\\:tempOutput\\(\\)\\.$#" count: 1 @@ -240,16 +545,46 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Command/ChillImportUsersCommand.php + - + message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Command/ChillImportUsersCommand.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Command/ChillUserSendRenewPasswordCodeCommand.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Command/ChillUserSendRenewPasswordCodeCommand.php + - message: "#^Method Chill\\\\MainBundle\\\\Command\\\\ChillUserSendRenewPasswordCodeCommand\\:\\:execute\\(\\) should return int but return statement is missing\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Command/ChillUserSendRenewPasswordCodeCommand.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Command/LoadAndUpdateLanguagesCommand.php + - message: "#^Method Chill\\\\MainBundle\\\\Command\\\\LoadAndUpdateLanguagesCommand\\:\\:execute\\(\\) should return int but return statement is missing\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Command/LoadAndUpdateLanguagesCommand.php + - + message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Command/LoadAndUpdateLanguagesCommand.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$countries might not exist\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Command/LoadCountriesCommand.php + - message: "#^Method Chill\\\\MainBundle\\\\Command\\\\LoadCountriesCommand\\:\\:execute\\(\\) should return int but return statement is missing\\.$#" count: 1 @@ -285,6 +620,16 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Controller/ExportController.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Controller/PasswordController.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Controller/PostalCodeController.php + - message: "#^Call to an undefined method Chill\\\\MainBundle\\\\Controller\\\\UserController\\:\\:createEditForm\\(\\)\\.$#" count: 1 @@ -305,16 +650,101 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Controller/UserController.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLanguages.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$names might not exist\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLanguages.php + + - + message: "#^Variable \\$names might not be defined\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLanguages.php + + - + message: "#^Instantiated class LogicalException not found\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/DependencyInjection/CompilerPass/ACLFlagsCompilerPass.php + + - + message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" + count: 5 + path: src/Bundle/ChillMainBundle/DependencyInjection/CompilerPass/ExportsCompilerPass.php + + - + message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/DependencyInjection/CompilerPass/SearchableServicesCompilerPass.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/DependencyInjection/Configuration.php + + - + message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/DependencyInjection/Widget/AbstractWidgetsCompilerPass.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/DependencyInjection/Widget/AbstractWidgetsCompilerPass.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/DependencyInjection/Widget/AbstractWidgetsCompilerPass.php + + - + message: "#^Instantiated class InvalidConfigurationException not found\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/DependencyInjection/Widget/AbstractWidgetsCompilerPass.php + - message: "#^Variable \\$p might not be defined\\.$#" count: 2 path: src/Bundle/ChillMainBundle/Doctrine/DQL/OverlapsI.php + - + message: "#^Method Chill\\\\MainBundle\\\\Doctrine\\\\Type\\\\PointType\\:\\:getSqlDeclaration\\(\\) does not match parent method name\\: Doctrine\\\\DBAL\\\\Types\\\\Type\\:\\:getSQLDeclaration\\(\\)\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Doctrine/Type/PointType.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Entity/Address.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Entity/Embeddable/CommentEmbeddable.php + - message: "#^Access to an undefined property Chill\\\\MainBundle\\\\Entity\\\\RoleScope\\:\\:\\$new\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Entity/RoleScope.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Entity/User.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Entity/User.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 6 + path: src/Bundle/ChillMainBundle/Export/ExportManager.php + - message: "#^Function findColumnPosition not found\\.$#" count: 1 @@ -335,26 +765,136 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Export/Formatter/CSVFormatter.php + - + message: "#^Call to method Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\SpreadSheetFormatter\\:\\:generateContent\\(\\) with incorrect case\\: generatecontent$#" + count: 1 + 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: "#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadsheetListFormatter.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Form/ChoiceLoader/PostalCodeChoiceLoader.php + + - + message: "#^Foreach overwrites \\$value with its value variable\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Form/ChoiceLoader/PostalCodeChoiceLoader.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Form/DataMapper/AddressDataMapper.php + + - + message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Form/Type/AddressType.php + + - + message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Form/Type/AddressType.php + + - + message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Form/Type/ChillTextareaType.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Form/Type/ComposedRoleScopeType.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$ids does not exist\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Form/Type/DataTransformer/CenterTransformer.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 3 + path: src/Bundle/ChillMainBundle/Form/Type/DataTransformer/DateIntervalTransformer.php + - message: "#^Variable \\$value in empty\\(\\) always exists and is not falsy\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Form/Type/DataTransformer/DateIntervalTransformer.php + - + message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Form/Type/DataTransformer/ObjectToIdTransformer.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Form/Type/Export/PickCenterType.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Form/Type/TranslatableStringFormType.php + - message: "#^Undefined variable\\: \\$current$#" count: 1 path: src/Bundle/ChillMainBundle/Pagination/PageGenerator.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Phonenumber/PhonenumberHelper.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Phonenumber/PhonenumberHelper.php + - message: "#^Class Chill\\\\MainBundle\\\\Repository\\\\GroupCenter not found\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Repository/UserRepository.php + - + message: "#^Chill\\\\MainBundle\\\\Routing\\\\Loader\\\\ChillRoutesLoader\\:\\:__construct\\(\\) does not call parent constructor from Symfony\\\\Component\\\\Config\\\\Loader\\\\Loader\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Routing/Loader/ChillRoutesLoader.php + + - + message: "#^Foreach overwrites \\$resource with its value variable\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Routing/Loader/ChillRoutesLoader.php + - message: "#^Access to an undefined property Chill\\\\MainBundle\\\\Routing\\\\MenuComposer\\:\\:\\$routeCollection\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Routing/MenuComposer.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Search/Entity/SearchUserApiProvider.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$items might not exist\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Search/SearchApi.php + - message: "#^Method Chill\\\\MainBundle\\\\Search\\\\SearchApi\\:\\:buildUnionQuery\\(\\) invoked with 4 parameters, 3 required\\.$#" count: 1 @@ -380,56 +920,326 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Security/Authorization/AbstractChillVoter.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Security/Authorization/AbstractChillVoter.php + - message: "#^Method Chill\\\\MainBundle\\\\Security\\\\Authorization\\\\AuthorizationHelper\\:\\:userCanReachCenter\\(\\) invoked with 3 parameters, 2 required\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Security/Authorization/AuthorizationHelper.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Security/Authorization/DefaultVoterHelper.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Security/ParentRoleHelper.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Security/PasswordRecover/PasswordRecoverEvent.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Security/PasswordRecover/PasswordRecoverVoter.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Security/PasswordRecover/TokenManager.php + - message: "#^Call to sprintf contains 0 placeholders, 1 value given\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Security/UserProvider/UserProvider.php + - + message: "#^Implicit array creation is not allowed \\- variable \\$data does not exist\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Serializer/Normalizer/AddressNormalizer.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$data does not exist\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Serializer/Normalizer/CollectionNormalizer.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$pagination does not exist\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Serializer/Normalizer/CollectionNormalizer.php + - message: "#^Variable \\$message on left side of \\?\\? always exists and is not nullable\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Templating/ChillTwigHelper.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 3 + path: src/Bundle/ChillMainBundle/Templating/Entity/AddressRender.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertContains\\(\\)\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertContainsOnly\\(\\)\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertGreaterThanOrEqual\\(\\)\\.$#" + count: 4 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInternalType\\(\\)\\.$#" + count: 3 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotEmpty\\(\\)\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\)\\.$#" + count: 4 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:markTestIncomplete\\(\\)\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php + + - + message: "#^Call to method Chill\\\\MainBundle\\\\Test\\\\Export\\\\AbstractExportTest\\:\\:getACL\\(\\) with incorrect case\\: getAcl$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php + + - + message: "#^Call to private method getClient\\(\\) of class Symfony\\\\Bundle\\\\FrameworkBundle\\\\Test\\\\WebTestCase\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php + + - + message: "#^Class Chill\\\\MainBundle\\\\Test\\\\Export\\\\Query not found\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertContains\\(\\)\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertContainsOnly\\(\\)\\.$#" + count: 3 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertGreaterThanOrEqual\\(\\)\\.$#" + count: 3 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\)\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInternalType\\(\\)\\.$#" + count: 3 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotEmpty\\(\\)\\.$#" + count: 3 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\)\\.$#" + count: 7 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:markTestIncomplete\\(\\)\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php + + - + message: "#^Dynamic call to static method Symfony\\\\Bundle\\\\FrameworkBundle\\\\Test\\\\WebTestCase\\:\\:getClient\\(\\)\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php + + - + message: "#^Call to an undefined method Chill\\\\MainBundle\\\\Test\\\\Export\\\\AbstractFilterTest\\:\\:prepareProphet\\(\\)\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertEquals\\(\\)\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertGreaterThanOrEqual\\(\\)\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInternalType\\(\\)\\.$#" + count: 3 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotEmpty\\(\\)\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\)\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php + + - + message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:markTestIncomplete\\(\\)\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php + + - + message: "#^Variable \\$catalogue might not be defined\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Timeline/TimelineBuilder.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$timelineEntry might not exist\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Timeline/TimelineBuilder.php + - message: "#^Method Chill\\\\MainBundle\\\\Timeline\\\\TimelineBuilder\\:\\:getTemplateData\\(\\) should return array but return statement is missing\\.$#" count: 1 path: src/Bundle/ChillMainBundle/Timeline/TimelineBuilder.php + - + message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Util/DateRangeCovering.php + - message: "#^Constant __METHOD not found\\.$#" count: 2 path: src/Bundle/ChillMainBundle/Util/DateRangeCovering.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillMainBundle/Validation/Validator/RoleScopeScopePresence.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillMainBundle/Validation/Validator/ValidPhonenumber.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Actions/Remove/PersonMove.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Actions/Remove/PersonMove.php + - message: "#^Variable \\$sqls on left side of \\?\\? always exists and is not nullable\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Actions/Remove/PersonMove.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/CRUD/Controller/OneToOneEntityPersonCRUDController.php + - message: "#^Instantiated class Chill\\\\PersonBundle\\\\CRUD\\\\Controller\\\\BadMethodCallException not found\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/CRUD/Controller/OneToOneEntityPersonCRUDController.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Command/ChillPersonMoveCommand.php + - message: "#^Method Chill\\\\PersonBundle\\\\Command\\\\ChillPersonMoveCommand\\:\\:execute\\(\\) should return int but return statement is missing\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Command/ChillPersonMoveCommand.php + - + message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Command/ChillPersonMoveCommand.php + + - + message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" + count: 3 + path: src/Bundle/ChillPersonBundle/Command/ImportPeopleFromCSVCommand.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 3 + path: src/Bundle/ChillPersonBundle/Command/ImportPeopleFromCSVCommand.php + - message: "#^Class Chill\\\\PersonBundle\\\\Entity\\\\Person constructor invoked with 1 parameter, 0 required\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Command/ImportPeopleFromCSVCommand.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 6 + path: src/Bundle/ChillPersonBundle/Command/ImportPeopleFromCSVCommand.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$matchingTableRowAnswer might not exist\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Command/ImportPeopleFromCSVCommand.php + - message: "#^Variable \\$headers might not be defined\\.$#" count: 2 path: src/Bundle/ChillPersonBundle/Command/ImportPeopleFromCSVCommand.php + - + message: "#^Variable \\$matchingTableRowAnswer might not be defined\\.$#" + count: 5 + path: src/Bundle/ChillPersonBundle/Command/ImportPeopleFromCSVCommand.php + - message: "#^Variable \\$rawHeaders might not be defined\\.$#" count: 1 @@ -450,16 +1260,66 @@ parameters: count: 3 path: src/Bundle/ChillPersonBundle/Controller/PersonController.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Controller/PersonController.php + - message: "#^Access to an undefined property Chill\\\\PersonBundle\\\\Controller\\\\TimelinePersonController\\:\\:\\$authorizationHelper\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Controller/TimelinePersonController.php + - + message: "#^Access to an undefined property Chill\\\\PersonBundle\\\\DataFixtures\\\\ORM\\\\LoadHousehold\\:\\:\\$personIds\\.$#" + count: 2 + path: src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadHousehold.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$persons might not exist\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadHousehold.php + + - + message: "#^Variable method call on mixed\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php + + - + message: "#^Caught class Chill\\\\PersonBundle\\\\DataFixtures\\\\ORM\\\\Throwable not found\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadSocialWorkMetadata.php + + - + message: "#^Instantiated class Chill\\\\PersonBundle\\\\DataFixtures\\\\ORM\\\\Exception not found\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadSocialWorkMetadata.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/DependencyInjection/CompilerPass/AccompanyingPeriodTimelineCompilerPass.php + - message: "#^Access to an undefined property Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\:\\:\\$work\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php + + - + message: "#^Call to method Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\:\\:getOpenParticipations\\(\\) with incorrect case\\: getOPenParticipations$#" + count: 2 + path: src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$centers might not exist\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php + - message: "#^Access to an undefined property Chill\\\\PersonBundle\\\\Entity\\\\Household\\\\PersonHouseholdAddress\\:\\:\\$relation\\.$#" count: 1 @@ -470,16 +1330,51 @@ parameters: count: 3 path: src/Bundle/ChillPersonBundle/Entity/Person.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Entity/Person.php + - message: "#^Method Chill\\\\PersonBundle\\\\Entity\\\\Person\\:\\:getCurrentPersonAddress\\(\\) invoked with 1 parameter, 0 required\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Entity/Person.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 2 + path: src/Bundle/ChillPersonBundle/Entity/PersonPhone.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillPersonBundle/Export/AbstractAccompanyingPeriodExportElement.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Export/Aggregator/CountryOfBirthAggregator.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$labels does not exist\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Export/Aggregator/CountryOfBirthAggregator.php + - message: "#^Variable \\$labels might not be defined\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Export/Aggregator/CountryOfBirthAggregator.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Export/Aggregator/NationalityAggregator.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$labels does not exist\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Export/Aggregator/NationalityAggregator.php + - message: "#^Variable \\$labels might not be defined\\.$#" count: 1 @@ -490,21 +1385,111 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 3 + path: src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 2 + path: src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php + + - + message: "#^Switch condition type \\(Chill\\\\PersonBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'address_country_name' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php + + - + message: "#^Switch condition type \\(Chill\\\\PersonBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'address_isnoaddress' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php + + - + message: "#^Switch condition type \\(Chill\\\\PersonBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'birthdate' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php + + - + message: "#^Switch condition type \\(Chill\\\\PersonBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'countryOfBirth' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php + + - + message: "#^Switch condition type \\(Chill\\\\PersonBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'gender' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php + + - + message: "#^Switch condition type \\(Chill\\\\PersonBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'nationality' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php + - message: "#^Undefined variable\\: \\$choiceSlug$#" count: 1 path: src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Export/Filter/GenderFilter.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Form/ChoiceLoader/PersonChoiceLoader.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Form/ChoiceLoader/PersonChoiceLoader.php + + - + message: "#^Foreach overwrites \\$value with its value variable\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Form/ChoiceLoader/PersonChoiceLoader.php + - message: "#^Access to an undefined property Chill\\\\PersonBundle\\\\Form\\\\CreationPersonType\\:\\:\\$centerTransformer\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Form/CreationPersonType.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Form/DataMapper/PersonAltNameDataMapper.php + + - + message: "#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Form/Type/PersonAltNameType.php + + - + message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Form/Type/PersonPhoneType.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Form/Type/PickPersonType.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Household/MembersEditor.php + - message: "#^Access to an undefined property Chill\\\\PersonBundle\\\\Household\\\\MembersEditorFactory\\:\\:\\$validator\\.$#" count: 2 path: src/Bundle/ChillPersonBundle/Household/MembersEditorFactory.php + - + message: "#^Foreach overwrites \\$action with its value variable\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriod/AccompanyingPeriodWorkRepository.php + - message: "#^Method Chill\\\\PersonBundle\\\\Repository\\\\AccompanyingPeriod\\\\AccompanyingPeriodWorkRepository\\:\\:buildQueryBySocialActionWithDescendants\\(\\) has invalid return type Chill\\\\PersonBundle\\\\Repository\\\\AccompanyingPeriod\\\\QueryBuilder\\.$#" count: 1 @@ -545,26 +1530,96 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Repository/Household/HouseholdMembersRepository.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 2 + path: src/Bundle/ChillPersonBundle/Repository/PersonRepository.php + + - + message: "#^Foreach overwrites \\$action with its value variable\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Repository/SocialWork/GoalRepository.php + + - + message: "#^Foreach overwrites \\$action with its value variable\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Repository/SocialWork/ResultRepository.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 3 + path: src/Bundle/ChillPersonBundle/Search/PersonSearch.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$data might not exist\\.$#" + count: 2 + path: src/Bundle/ChillPersonBundle/Search/PersonSearch.php + - message: "#^Method Chill\\\\PersonBundle\\\\Search\\\\PersonSearch\\:\\:renderResult\\(\\) should return string but return statement is missing\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Search/PersonSearch.php + - + message: "#^Variable \\$data might not be defined\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Search/PersonSearch.php + + - + message: "#^Variable variables are not allowed\\.$#" + count: 4 + path: src/Bundle/ChillPersonBundle/Search/PersonSearch.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Search/SearchPersonApiProvider.php + - message: "#^Method Chill\\\\PersonBundle\\\\Search\\\\SimilarityPersonSearch\\:\\:renderResult\\(\\) should return string but return statement is missing\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Search/SimilarityPersonSearch.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodWorkDenormalizer.php + - message: "#^Function Chill\\\\PersonBundle\\\\Serializer\\\\Normalizer\\\\ยท\\\\is_array not found\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/MembersEditorNormalizer.php + - + message: "#^Variable method call on object\\.$#" + count: 2 + path: src/Bundle/ChillPersonBundle/Serializer/Normalizer/PersonNormalizer.php + - message: "#^Variable \\$entity might not be defined\\.$#" count: 1 path: src/Bundle/ChillPersonBundle/Service/Import/SocialWorkMetadata.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 2 + path: src/Bundle/ChillPersonBundle/Templating/Entity/ClosingMotiveRender.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$titles does not exist\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Templating/Entity/SocialActionRender.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$titles does not exist\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Templating/Entity/SocialIssueRender.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Timeline/AbstractTimelineAccompanyingPeriod.php + - message: "#^Undefined variable\\: \\$value$#" count: 1 @@ -575,6 +1630,81 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Widget/PersonListWidget.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReportACL.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php + + - + message: "#^Method Chill\\\\ReportBundle\\\\DataFixtures\\\\ORM\\\\LoadReports\\:\\:getRandomChoice\\(\\) should return array\\\\|string but return statement is missing\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 4 + path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 2 + path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$scopes might not exist\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$users might not exist\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + + - + message: "#^Switch condition type \\(Chill\\\\ReportBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'person_address_country_name' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + + - + message: "#^Switch condition type \\(Chill\\\\ReportBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'person_birthdate' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + + - + message: "#^Switch condition type \\(Chill\\\\ReportBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'person_countryOfBirth' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + + - + message: "#^Switch condition type \\(Chill\\\\ReportBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'person_gender' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + + - + message: "#^Switch condition type \\(Chill\\\\ReportBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'person_nationality' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + + - + message: "#^Switch condition type \\(Chill\\\\ReportBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'report_date' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + + - + message: "#^Switch condition type \\(Chill\\\\ReportBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'report_scope' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + + - + message: "#^Switch condition type \\(Chill\\\\ReportBundle\\\\Export\\\\Export\\\\type\\) does not match case condition 'report_user' \\(string\\)\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + - message: "#^Undefined variable\\: \\$choiceSlug$#" count: 1 @@ -590,6 +1720,11 @@ parameters: count: 1 path: src/Bundle/ChillReportBundle/Export/Export/ReportList.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillReportBundle/Security/Authorization/ReportVoter.php + - message: "#^Method Chill\\\\ReportBundle\\\\Security\\\\Authorization\\\\ReportVoter\\:\\:supports\\(\\) should return bool but return statement is missing\\.$#" count: 1 @@ -600,6 +1735,11 @@ parameters: count: 4 path: src/Bundle/ChillReportBundle/Timeline/TimelineReportProvider.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 4 + path: src/Bundle/ChillReportBundle/Timeline/TimelineReportProvider.php + - message: "#^Variable \\$course might not be defined\\.$#" count: 1 @@ -610,6 +1750,26 @@ parameters: count: 1 path: src/Bundle/ChillTaskBundle/Controller/TaskController.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillTaskBundle/DataFixtures/ORM/LoadTaskACL.php + + - + message: "#^Casting to string something that's already string\\.$#" + count: 3 + path: src/Bundle/ChillTaskBundle/Entity/AbstractTask.php + + - + message: "#^Chill\\\\TaskBundle\\\\Entity\\\\RecurringTask\\:\\:__construct\\(\\) does not call parent constructor from Chill\\\\TaskBundle\\\\Entity\\\\AbstractTask\\.$#" + count: 1 + path: src/Bundle/ChillTaskBundle/Entity/RecurringTask.php + + - + message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" + count: 2 + path: src/Bundle/ChillTaskBundle/Form/SingleTaskListType.php + - message: "#^Variable \\$center might not be defined\\.$#" count: 2 @@ -620,6 +1780,16 @@ parameters: count: 1 path: src/Bundle/ChillTaskBundle/Form/SingleTaskType.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillTaskBundle/Repository/SingleTaskAclAwareRepository.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 5 + path: src/Bundle/ChillTaskBundle/Repository/SingleTaskRepository.php + - message: "#^Constructor of class Chill\\\\TaskBundle\\\\Security\\\\Authorization\\\\TaskVoter has an unused parameter \\$voterHelperFactory\\.$#" count: 1 @@ -630,18 +1800,88 @@ parameters: count: 1 path: src/Bundle/ChillTaskBundle/Timeline/SingleTaskTaskLifeCycleEventTimelineProvider.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillTaskBundle/Timeline/TaskLifeCycleEventTimelineProvider.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$circleIds might not exist\\.$#" + 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: "#^Variable \\$circleIds might not be defined\\.$#" + count: 1 + path: src/Bundle/ChillTaskBundle/Timeline/TaskLifeCycleEventTimelineProvider.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillThirdPartyBundle/DependencyInjection/CompilerPass/ThirdPartyTypeCompilerPass.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 4 + path: src/Bundle/ChillThirdPartyBundle/Entity/ThirdParty.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillThirdPartyBundle/Form/ChoiceLoader/ThirdPartyChoiceLoader.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillThirdPartyBundle/Form/ChoiceLoader/ThirdPartyChoiceLoader.php + + - + message: "#^Foreach overwrites \\$value with its value variable\\.$#" + count: 1 + path: src/Bundle/ChillThirdPartyBundle/Form/ChoiceLoader/ThirdPartyChoiceLoader.php + - message: "#^Call to an undefined method Chill\\\\ThirdPartyBundle\\\\Form\\\\Type\\\\PickThirdPartyTypeCategoryType\\:\\:transform\\(\\)\\.$#" count: 1 path: src/Bundle/ChillThirdPartyBundle/Form/Type/PickThirdPartyTypeCategoryType.php + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillThirdPartyBundle/Repository/ThirdPartyRepository.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillThirdPartyBundle/Search/ThirdPartyApiSearch.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillThirdPartyBundle/Search/ThirdPartyApiSearch.php + - message: "#^Method Chill\\\\ThirdPartyBundle\\\\Search\\\\ThirdPartySearch\\:\\:renderResult\\(\\) should return string but return statement is missing\\.$#" count: 1 path: src/Bundle/ChillThirdPartyBundle/Search/ThirdPartySearch.php + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Bundle/ChillThirdPartyBundle/Security/Voter/ThirdPartyVoter.php + + - + message: "#^Implicit array creation is not allowed \\- variable \\$data does not exist\\.$#" + count: 1 + path: src/Bundle/ChillThirdPartyBundle/Serializer/Normalizer/ThirdPartyNormalizer.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Bundle/ChillThirdPartyBundle/Templating/Entity/ThirdPartyRender.php +