Skip to content

Instantly share code, notes, and snippets.

@braders
Last active January 27, 2023 17:09
Show Gist options
  • Save braders/b004e5daee05bcd256daf2dad01b2d81 to your computer and use it in GitHub Desktop.
Save braders/b004e5daee05bcd256daf2dad01b2d81 to your computer and use it in GitHub Desktop.
PHPStan-CiviCRM output 27th Jan 2023 (level 4)
This file has been truncated, but you can view the full file.
------ ------------------------------------------------------------------------------
Line CRM/ACL/Form/ACLBasic.php
------ ------------------------------------------------------------------------------
:31 Strict comparison using === between 0 and '0' will always evaluate to false.
:107 Strict comparison using === between 0 and '0' will always evaluate to false.
------ ------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/ACL/Form/WordPress/Permissions.php
------ ---------------------------------------------------------------------
:67 Variable $defaults might not be defined.
:78 Variable $rolePerms might not be defined.
:95 Variable $roles might not be defined.
:105 Variable $rolePerms might not be defined.
:106 Variable $roles might not be defined.
:179 Function wp_civicrm_capability not found.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
------ ---------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------
Line CRM/ACL/Page/ACL.php
------ -------------------------------------------------------------------------------------------------------------------------------
:26 Static property CRM_ACL_Page_ACL::$_links (array) does not accept default value of type null.
:218 Parameter #1 $mode (null) of method CRM_ACL_Page_ACL::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ -------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------
Line CRM/ACL/Page/ACLBasic.php
------ ------------------------------------------------------------------------------------------------------------------------------------
:24 Static property CRM_ACL_Page_ACLBasic::$_links (array) does not accept default value of type null.
:176 Parameter #1 $mode (null) of method CRM_ACL_Page_ACLBasic::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------
Line CRM/ACL/Page/EntityRole.php
------ --------------------------------------------------------------------------------------------------------------------------------------
:26 Static property CRM_ACL_Page_EntityRole::$_links (array) does not accept default value of type null.
:184 Parameter #1 $mode (null) of method CRM_ACL_Page_EntityRole::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ --------------------------------------------------------------------------------------------------------------------------------------
------- -----------------------------------------------------------------------------------------------------------------------
Line CRM/Activity/BAO/Activity.php
------- -----------------------------------------------------------------------------------------------------------------------
:39 Static property CRM_Activity_BAO_Activity::$_exportableFields (array) does not accept default value of type null.
:108 Left side of && is always false.
:127 Method CRM_Activity_BAO_Activity::retrieve() should return CRM_Activity_DAO_Activity but returns null.
:189 Property CRM_Activity_DAO_Activity::$is_deleted (bool|string) does not accept int.
:201 If condition is always false.
:382 If condition is always true.
:497 Variable $recentContactId might not be defined.
:516 Variable $recentContactId might not be defined.
:1184 Result of && is always false.
:1184 Variable $contactDetails in isset() always exists and is not nullable.
:1240 Call to an undefined static method PEAR::raiseError().
:1635 Method CRM_Activity_BAO_Activity::addActivity() should return bool|null but return statement is missing.
:1651 Method CRM_Activity_BAO_Activity::getActivitySubject() should return string but return statement is missing.
:1894 Property CRM_Activity_DAO_Activity::$is_deleted (bool|string) does not accept int.
:1897 Method CRM_Activity_BAO_Activity::restoreActivity() should return CRM_Activity_DAO_Activity but returns CRM_Core_DAO.
:2077 Method CRM_Activity_BAO_Activity::cleanupActivity() should return true but returns null.
:2160 Ternary operator condition is always false.
:2161 Negated boolean expression is always false.
:2479 If condition is always true.
:2585 Expression on left side of ?? is not nullable.
------- -----------------------------------------------------------------------------------------------------------------------
------- --------------------------------------------------------------------------------------------------------
Line CRM/Activity/Form/Activity.php
------- --------------------------------------------------------------------------------------------------------
:35 Property CRM_Activity_Form_Activity::$_activityIds (int) does not accept default value of type array.
:550 Property CRM_Activity_Form_Activity::$_activityId (int) in isset() is not nullable.
:676 Call to an undefined method object::addSelect().
:679 Call to an undefined method object::addEntityRef().
:682 Call to an undefined method object::add().
:786 Access to an undefined property object::$_activityId.
:961 Property CRM_Activity_Form_Activity::$_activityId (int) in isset() is not nullable.
:1130 Variable $id in isset() always exists and is not nullable.
:1259 Variable $activityTypeDisplayLabels in isset() always exists and is not nullable.
:1261 Offset int<min, -1>|int<1, max> on array<string> on left side of ?? always exists and is not nullable.
------- --------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Activity/Form/Search.php
------ ------------------------------------------------------------------------------------
:78 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:85 Property CRM_Activity_Form_Search::$_ssID (int) in isset() is not nullable.
:176 Property CRM_Activity_Form_Search::$_ssID (int) in isset() is not nullable.
:195 Call to an undefined method CRM_Core_StateMachine::getTaskFormName().
:299 Call to an undefined method object::setDefaults().
------ ------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------
Line CRM/Activity/Form/Task.php
------ --------------------------------------------------------------------------
:46 Access to an undefined property CRM_Core_Form_Task::$_activityHolderIds.
:102 Variable $contactIDs might not be defined.
------ --------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line CRM/Activity/Form/Task/AddToTag.php
------ ----------------------------------------------------------------------------------
:101 Variable $tagIDs in empty() always exists and is not falsy.
:122 Property CRM_Activity_Form_Task_AddToTag::$_name (string) does not accept array.
------ ----------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------
Line CRM/Activity/Form/Task/Batch.php
------ ---------------------------------------------------------------------------------------------------------------
:96 Access to an undefined property CRM_Activity_Form_Task_Batch::$_fields.
:136 Access to an undefined property CRM_Activity_Form_Task_Batch::$_componentCampaigns.
:161 Variable $entityColumnValue might not be defined.
:193 Method CRM_Activity_Form_Task_Batch::setDefaultValues() should return array but empty return statement found.
------ ---------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line CRM/Activity/Form/Task/PDF.php
------ -------------------------------------------------------------------------------------------
:91 Method CRM_Activity_Form_Task_PDF::createDocument() should return array but returns void.
:91 Result of method CRM_Activity_Form_Task_PDF::renderFromRows() (void) is used.
------ -------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Activity/Form/Task/PickOption.php
------ --------------------------------------------------------------------------------------------
:61 Property CRM_Activity_Form_Task_PickOption::$_userContext (int) does not accept string.
:114 Method CRM_Activity_Form_Task_PickOption::formRule() should return array but returns true.
------ --------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------
Line CRM/Activity/Form/Task/PickProfile.php
------ ---------------------------------------------------------------------------------------------
:137 Method CRM_Activity_Form_Task_PickProfile::formRule() should return array but returns true.
------ ---------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------
Line CRM/Activity/Form/Task/RemoveFromTag.php
------ ---------------------------------------------------------------------------------------
:112 Property CRM_Activity_Form_Task_RemoveFromTag::$_name (string) does not accept array.
------ ---------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Activity/Form/Task/SMS.php
------ ------------------------------------------------------------------------------------------------------
:35 Property CRM_Activity_Form_Task_SMS::$_templates (array) does not accept default value of type null.
------ ------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Activity/Import/Form/DataSource.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
:51 Return type (CRM_Activity_Import_Parser_Activity) of method CRM_Activity_Import_Form_DataSource::getParser() should be compatible with return type
(CRM_Contact_Import_Parser_Contact|CRM_Contribute_Import_Parser_Contribution) of method CRM_Import_Forms::getParser()
:52 Negated boolean expression is always false.
:57 Method CRM_Activity_Import_Form_DataSource::getParser() should return CRM_Activity_Import_Parser_Activity but returns CRM_Import_Parser.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Activity/Import/Form/MapField.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:127 Call to an undefined method HTML_QuickForm_element::setOptions().
:165 Return type (CRM_Activity_Import_Parser_Activity) of method CRM_Activity_Import_Form_MapField::getParser() should be compatible with return type
(CRM_Contact_Import_Parser_Contact|CRM_Contribute_Import_Parser_Contribution) of method CRM_Import_Forms::getParser()
:166 Negated boolean expression is always false.
:171 Method CRM_Activity_Import_Form_MapField::getParser() should return CRM_Activity_Import_Parser_Activity but returns CRM_Import_Parser.
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Activity/Import/Form/Preview.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------
:26 Return type (CRM_Activity_Import_Parser_Activity) of method CRM_Activity_Import_Form_Preview::getParser() should be compatible with return type
(CRM_Contact_Import_Parser_Contact|CRM_Contribute_Import_Parser_Contribution) of method CRM_Import_Forms::getParser()
:27 Negated boolean expression is always false.
:32 Method CRM_Activity_Import_Form_Preview::getParser() should return CRM_Activity_Import_Parser_Activity but returns CRM_Import_Parser.
------ -------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------
Line CRM/Activity/Page/AJAX.php
------ -------------------------------------------------------------------------------------
:392 Property CRM_Case_DAO_CaseActivity::$activity_id (int|string) does not accept null.
------ -------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Activity/Page/Tab.php
------ ---------------------------------------------------------------------
:37 Access to an undefined property CRM_Activity_Page_Tab::$_contactId.
:40 Access to an undefined property CRM_Activity_Page_Tab::$_contactId.
:135 Access to an undefined property CRM_Activity_Page_Tab::$_action.
:137 Access to an undefined property CRM_Activity_Page_Tab::$_id.
------ ---------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Activity/Selector/Activity.php
------ -----------------------------------------------------------------------------------------------------
:66 Property CRM_Core_Selector_Base::$_permission (string) does not accept int.
:250 Negated boolean expression is always false.
:380 Method CRM_Activity_Selector_Activity::getRows() should return int but returns array.
:445 Method CRM_Activity_Selector_Activity::getRows() should return int but returns array.
:468 Static property CRM_Activity_Selector_Activity::$_columnHeaders (array) in isset() is not nullable.
------ -----------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------
Line CRM/Activity/Selector/Search.php
------ -----------------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Activity_Selector_Search::$_links (array) does not accept default value of type null.
:75 Property CRM_Activity_Selector_Search::$_limit (bool) does not accept default value of type null.
:82 Property CRM_Activity_Selector_Search::$_context (string) does not accept default value of type null.
:89 Property CRM_Activity_Selector_Search::$_compContext (string) does not accept default value of type null.
:111 Property CRM_Activity_Selector_Search::$_activityClause (string) does not accept default value of type null.
:140 Parameter $action of method CRM_Activity_Selector_Search::__construct() has invalid type const.
:151 Property CRM_Activity_Selector_Search::$_limit (bool) does not accept int|null.
:153 Property CRM_Activity_Selector_Search::$_compContext (string) does not accept null.
:191 Method CRM_Activity_Selector_Search::getTotalCount() should return int but returns CRM_Core_DAO|string|null.
:216 Return type (array) of method CRM_Activity_Selector_Search::getRows() should be compatible with return type (int) of method
CRM_Core_Selector_API::getRows()
:357 Static property CRM_Activity_Selector_Search::$_columnHeaders (array) in isset() is not nullable.
------ -----------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Activity/StateMachine/Search.php
------ -----------------------------------------------------------------------------------------------------
:32 Parameter $action of method CRM_Activity_StateMachine_Search::__construct() has invalid type const.
:44 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ -----------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------
Line CRM/Admin/Form/ContactType.php
------ -------------------------------------------------------------------------
:55 Access to an undefined property CRM_Admin_Form_ContactType::$_parentId.
:135 Access to an undefined property CRM_Admin_Form_ContactType::$_parentId.
------ -------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line CRM/Admin/Form/Extensions.php
------ ----------------------------------------------------------------------------------
:26 Property CRM_Admin_Form_Extensions::$_key is never written, only read.
πŸ’‘ See: https://phpstan.org/developing-extensions/always-read-written-properties
:31 Property CRM_Admin_Form_Extensions::$label is never written, only read.
πŸ’‘ See: https://phpstan.org/developing-extensions/always-read-written-properties
:136 Variable $title might not be defined.
:140 Variable $buttonName might not be defined.
:166 Variable $errors in empty() always exists and is always falsy.
------ ----------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------
Line CRM/Admin/Form/Job.php
------ -------------------------------------------------------------------------------------
:22 Property CRM_Admin_Form_Job::$_id (int) does not accept default value of type null.
:144 Variable $errors in empty() always exists and is always falsy.
------ -------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Form/LabelFormats.php
------ -------------------------------------------------------------------------------------------------------------------------------------
:44 Property CRM_Admin_Form_LabelFormats::$_id (int) does not accept default value of type null.
:50 Property CRM_Admin_Form_LabelFormats::$_group (string) does not accept default value of type null.
:160 Return type (int) of method CRM_Admin_Form_LabelFormats::setDefaultValues() should be compatible with return type (array) of method
CRM_Admin_Form::setDefaultValues()
:181 Method CRM_Admin_Form_LabelFormats::setDefaultValues() should return int but returns array<mixed, mixed>.
------ -------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Admin/Form/MailSettings.php
------ ------------------------------------------------------------------------------------
:42 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:43 Call to an undefined method HTML_QuickForm_element::getElements().
:50 Call to an undefined method HTML_QuickForm_element::setElements().
------ ------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------
Line CRM/Admin/Form/MessageTemplates.php
------ -----------------------------------------------------------------------------------------------------------
:30 Property CRM_Admin_Form_MessageTemplates::$_workflow_id (int) does not accept default value of type null.
:66 Access to an undefined property CRM_Admin_Form_MessageTemplates::$_values.
:80 Access to an undefined property CRM_Admin_Form_MessageTemplates::$_id.
:144 Access to an undefined property CRM_Admin_Form_MessageTemplates::$_values.
:161 Access to an undefined property CRM_Admin_Form_MessageTemplates::$_id.
:162 Call to method freeze() on an unknown class HTML_QuickForm_group.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:225 Variable $workflowId in isset() always exists and is not nullable.
:275 Access to an undefined property CRM_Admin_Form_MessageTemplates::$_id.
:288 Access to an undefined property CRM_Admin_Form_MessageTemplates::$_id.
:316 Access to an undefined property CRM_Admin_Form_MessageTemplates::$_id.
:319 Access to an undefined property CRM_Admin_Form_MessageTemplates::$_id.
------ -----------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------
Line CRM/Admin/Form/Navigation.php
------ ---------------------------------------------------------------------------------------------------------
:27 Property CRM_Admin_Form_Navigation::$_currentParentID (int) does not accept default value of type null.
:46 Property CRM_Admin_Form::$_id (int) in isset() is not nullable.
:90 Property CRM_Admin_Form::$_id (int) in isset() is not nullable.
:107 Property CRM_Admin_Form::$_id (int) in isset() is not nullable.
:133 Property CRM_Admin_Form::$_id (int) in isset() is not nullable.
------ ---------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Admin/Form/Options.php
------ ------------------------------------------------------------------------------------
:69 Access to an undefined property CRM_Admin_Form_Options::$_gid.
:74 Property CRM_Admin_Form_Options::$_gLabel (array) does not accept int|string|null.
:117 Access to an undefined property CRM_Admin_Form_Options::$_gid.
:163 Access to an undefined property CRM_Admin_Form_Options::$_gid.
:190 Access to an undefined property CRM_Admin_Form_Options::$_gid.
:208 Access to an undefined property CRM_Admin_Form_Options::$_gid.
:459 Access to an undefined property CRM_Admin_Form_Options::$_gid.
------ ------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------
Line CRM/Admin/Form/ParticipantStatusType.php
------ -------------------------------------------------------------------------------------
:73 Access to an undefined property CRM_Admin_Form_ParticipantStatusType::$_isReserved.
:104 Access to an undefined property CRM_Admin_Form_ParticipantStatusType::$_isReserved.
------ -------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Admin/Form/PaymentProcessor.php
------ ------------------------------------------------------------------------------------------
:100 Access to an undefined property CRM_Admin_Form_PaymentProcessor::$deleteMessage.
:248 Access to an undefined property CRM_Admin_Form_PaymentProcessor::$_fields.
:388 Property CRM_Financial_DAO_PaymentProcessor::$is_test (bool|string) does not accept int.
:393 Access to an undefined property CRM_Admin_Form_PaymentProcessor::$_fields.
:439 Access to an undefined property CRM_Admin_Form_PaymentProcessor::$refreshURL.
------ ------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Admin/Form/PaymentProcessorType.php
------ ------------------------------------------------------------------------------------------------------
:22 Property CRM_Admin_Form_PaymentProcessorType::$_id (int) does not accept default value of type null.
------ ------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Form/PdfFormats.php
------ -----------------------------------------------------------------------------------------------------------------------------------
:44 Property CRM_Admin_Form_PdfFormats::$_id (int) does not accept default value of type null.
:102 Return type (int) of method CRM_Admin_Form_PdfFormats::setDefaultValues() should be compatible with return type (array) of method
CRM_Admin_Form::setDefaultValues()
:109 Method CRM_Admin_Form_PdfFormats::setDefaultValues() should return int but returns array.
------ -----------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line CRM/Admin/Form/Preferences.php
------ -------------------------------------------------------------------------------------------------
:27 Property CRM_Admin_Form_Preferences::$_action (int) does not accept default value of type null.
------ -------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Form/Preferences/Address.php
------ -------------------------------------------------------------------------------------------------------------
:64 Method CRM_Admin_Form_Preferences_Address::formRule() should return bool but returns array<string, string>.
------ -------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Form/RelationshipType.php
------ ---------------------------------------------------------------------------------------------------------------
:137 Property CRM_Admin_Form::$_id (int) in isset() is not nullable.
:143 Offset 'contact_type_a' on array{} on left side of ?? does not exist.
:144 Offset 'contact_sub_type_a' on array{contact_types_a: null} in empty() does not exist.
:148 Offset 'contact_type_b' on array{contact_types_a: null} on left side of ?? does not exist.
:149 Offset 'contact_sub_type_b' on array{contact_types_a: null, contact_types_b: null} in empty() does not exist.
------ ---------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Form/ScheduleReminders.php
------ ------------------------------------------------------------------------------------------------------------------------------------------
:54 Access to an undefined property CRM_Admin_Form_ScheduleReminders::$_mappingID.
:187 Variable $freqUnitsDisplay might not be defined.
:204 Variable $freqUnitsDisplay might not be defined.
:208 Variable $freqUnitsDisplay might not be defined.
:241 Call to an undefined method object::getContext().
:242 Access to an undefined property object::$_mappingID.
:373 Access to an undefined property CRM_Admin_Form_ScheduleReminders::$_actionSchedule.
:389 Return type (int) of method CRM_Admin_Form_ScheduleReminders::setDefaultValues() should be compatible with return type (array) of method
CRM_Admin_Form::setDefaultValues()
:431 Method CRM_Admin_Form_ScheduleReminders::setDefaultValues() should return int but returns array.
------ ------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------
Line CRM/Admin/Form/Setting/Localization.php
------ ----------------------------------------------------------------------------
:95 Call to an undefined method HTML_QuickForm_element::setButtonAttributes().
:96 Call to an undefined method HTML_QuickForm_element::setButtonAttributes().
:346 Left side of && is always true.
------ ----------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Admin/Form/Setting/Search.php
------ ---------------------------------------------------------------------
:51 Access to an undefined property HTML_QuickForm_element::$_elements.
:55 Access to an undefined property HTML_QuickForm_element::$_elements.
------ ---------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Form/Setting/Smtp.php
------ ----------------------------------------------------------------------------------------------------------------
:59 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:63 Call to an undefined method HTML_QuickForm_element::getElements().
:70 Call to an undefined method HTML_QuickForm_element::setElements().
:169 Variable $subject might not be defined.
:172 Variable $mailerName might not be defined.
:175 Variable $message might not be defined.
:180 Variable $mailerName might not be defined.
:183 Variable $mailerName might not be defined.
:190 Variable $mailerName might not be defined.
:263 Offset 'smtpServer' on array{} in isset() does not exist.
:269 Offset 'sendmail_path' on array{smtpServer: 'localhost', smtpPort: 25, smtpAuth: 0} in isset() does not exist.
------ ----------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line CRM/Admin/Form/Setting/UF.php
------ ----------------------------------------------------------------------------------------------
:54 Call to static method getConnectionInfo() on an unknown class Drupal\Core\Database\Database.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
------ ----------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------
Line CRM/Admin/Form/SettingTrait.php (in context of class CRM_Admin_Form_Generic)
------ --------------------------------------------------------------------------------
:138 Property CRM_Admin_Form_Generic::$_filter (string) in isset() is not nullable.
:183 Variable $quickFormType in isset() always exists and is not nullable.
------ --------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Admin/Form/SettingTrait.php (in context of class CRM_Admin_Form_Preferences)
------ ------------------------------------------------------------------------------------
:69 Access to an undefined property CRM_Admin_Form_Preferences::$_settings.
:71 Access to an undefined property CRM_Admin_Form_Preferences::$_settings.
:83 Access to an undefined property CRM_Admin_Form_Preferences::$_settings.
:86 Access to an undefined property CRM_Admin_Form_Preferences::$_settings.
:138 Property CRM_Admin_Form_Preferences::$_filter (string) in isset() is not nullable.
:183 Variable $quickFormType in isset() always exists and is not nullable.
:329 Access to an undefined property CRM_Admin_Form_Preferences::$_settings.
:410 Access to an undefined property CRM_Admin_Form_Preferences::$_settings.
------ ------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------
Line CRM/Admin/Form/SettingTrait.php (in context of class CRM_Admin_Form_Setting)
------ --------------------------------------------------------------------------------
:138 Property CRM_Admin_Form_Setting::$_filter (string) in isset() is not nullable.
:183 Variable $quickFormType in isset() always exists and is not nullable.
------ --------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------
Line CRM/Admin/Form/WordReplacements.php
------ --------------------------------------------------------------------------------
:34 Access to an undefined property CRM_Admin_Form_WordReplacements::$_soInstance.
:100 Access to an undefined property CRM_Admin_Form_WordReplacements::$_soInstance.
------ --------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/APIExplorer.php
------ ------------------------------------------------------------------------------------------------------------
:160 Static method CRM_Admin_Page_APIExplorer::getDocBlock() is unused.
:172 Method CRM_Admin_Page_APIExplorer::getDocBlock() should return array|bool but return statement is missing.
------ ------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------
Line CRM/Admin/Page/Access.php
------ ----------------------------------------------------------------------------------------
:27 Result of static method CRM_Utils_System::getCMSPermissionsUrlParams() (void) is used.
:28 Cannot access offset 'ufAccessURL' on void.
:29 Cannot access offset 'jAccessParams' on void.
------ ----------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/ContactType.php
------ -----------------------------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Admin_Page_ContactType::$_links (array) does not accept default value of type null.
:149 Parameter #1 $mode (null) of method CRM_Admin_Page_ContactType::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ -----------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/EventTemplate.php
------ -------------------------------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Admin_Page_EventTemplate::$_links (array) does not accept default value of type null.
:154 Parameter #1 $mode (null) of method CRM_Admin_Page_EventTemplate::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ -------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/Extensions.php
------ ----------------------------------------------------------------------------------------------------------------------------------------
:29 Static property CRM_Admin_Page_Extensions::$_links (array) does not accept default value of type null.
:307 Parameter #1 $mode (null) of method CRM_Admin_Page_Extensions::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ----------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/Job.php
------ ---------------------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Admin_Page_Job::$_links (array) does not accept default value of type null.
:219 Parameter #1 $mode (null) of method CRM_Admin_Page_Job::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ---------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/JobLog.php
------ ------------------------------------------------------------------------------------------------------------------------------------
:132 Parameter #1 $mode (null) of method CRM_Admin_Page_JobLog::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/LabelFormats.php
------ ------------------------------------------------------------------------------------------------------------------------------------------
:47 Static property CRM_Admin_Page_LabelFormats::$_links (array) does not accept default value of type null.
:121 Parameter #1 $mode (null) of method CRM_Admin_Page_LabelFormats::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/LocationType.php
------ ------------------------------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Admin_Page_LocationType::$_links (array) does not accept default value of type null.
:106 Parameter #1 $mode (null) of method CRM_Admin_Page_LocationType::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/MailSettings.php
------ ------------------------------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Admin_Page_MailSettings::$_links (array) does not accept default value of type null.
:149 Parameter #1 $mode (null) of method CRM_Admin_Page_MailSettings::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/Mapping.php
------ -------------------------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Admin_Page_Mapping::$_links (array) does not accept default value of type null.
:108 Parameter #1 $mode (null) of method CRM_Admin_Page_Mapping::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ -------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/MessageTemplates.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Admin_Page_MessageTemplates::$_links (array) does not accept default value of type null.
:148 If condition is always true.
:219 Parameter #1 $mode (null) of method CRM_Admin_Page_MessageTemplates::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ----------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/Navigation.php
------ ----------------------------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Admin_Page_Navigation::$_links (array) does not accept default value of type null.
:78 Parameter #1 $mode (null) of method CRM_Admin_Page_Navigation::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ----------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/Options.php
------ -------------------------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Admin_Page_Options::$_links (array) does not accept default value of type null.
:37 Static property CRM_Admin_Page_Options::$_gName (string) does not accept default value of type null.
:44 Static property CRM_Admin_Page_Options::$_gLabel (string) does not accept default value of type null.
:51 Static property CRM_Admin_Page_Options::$_gId (int) does not accept default value of type null.
:68 Static property CRM_Admin_Page_Options::$_isLocked (bool) does not accept int|string|null.
:74 Static property CRM_Admin_Page_Options::$_isLocked (bool) does not accept int|string|null.
:267 Parameter #1 $mode (null) of method CRM_Admin_Page_Options::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ -------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/ParticipantStatusType.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
:126 Parameter #1 $mode (null) of method CRM_Admin_Page_ParticipantStatusType::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/PaymentProcessor.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Admin_Page_PaymentProcessor::$_links (array) does not accept default value of type null.
:171 Parameter #1 $mode (null) of method CRM_Admin_Page_PaymentProcessor::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ----------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/PaymentProcessorType.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Admin_Page_PaymentProcessorType::$_links (array) does not accept default value of type null.
:104 Parameter #1 $mode (null) of method CRM_Admin_Page_PaymentProcessorType::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/PdfFormats.php
------ ----------------------------------------------------------------------------------------------------------------------------------------
:47 Static property CRM_Admin_Page_PdfFormats::$_links (array) does not accept default value of type null.
:115 Parameter #1 $mode (null) of method CRM_Admin_Page_PdfFormats::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ----------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/PreferencesDate.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Admin_Page_PreferencesDate::$_links (array) does not accept default value of type null.
:103 Parameter #1 $mode (null) of method CRM_Admin_Page_PreferencesDate::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ---------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/RelationshipType.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Admin_Page_RelationshipType::$_links (array) does not accept default value of type null.
:112 Parameter #1 $mode (null) of method CRM_Admin_Page_RelationshipType::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ----------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Admin/Page/ScheduleReminders.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Admin_Page_ScheduleReminders::$_links (array) does not accept default value of type null.
:109 Parameter #1 $mode (null) of method CRM_Admin_Page_ScheduleReminders::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Api4/Page/AJAX.php
------ ---------------------------------------------------------------------
:96 Class DB_Error not found.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:97 Call to method getCode() on an unknown class DB_Error.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:98 Call to method getDebugInfo() on an unknown class DB_Error.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
------ ---------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line CRM/Badge/BAO/Badge.php
------ --------------------------------------------------------------------------------------
:46 Access to an undefined property CRM_Badge_BAO_Badge::$pdf.
:55 Property CRM_Badge_BAO_Badge::$border (int) does not accept string.
:63 Strict comparison using === between 1 and 'UnitTests' will always evaluate to false.
:64 Variable $formattedRow might not be defined.
:171 Access to an undefined property CRM_Badge_BAO_Badge::$lMarginLogo.
:172 Access to an undefined property CRM_Badge_BAO_Badge::$tMarginName.
:174 Access to an undefined property CRM_Badge_BAO_Badge::$pdf.
:175 Access to an undefined property CRM_Badge_BAO_Badge::$pdf.
:241 Variable $imageAlign might not be defined.
:359 Access to an undefined property CRM_Badge_BAO_Badge::$pdf.
:363 Access to an undefined property CRM_Badge_BAO_Badge::$pdf.
:366 Access to an undefined property CRM_Badge_BAO_Badge::$imgRes.
:370 Access to an undefined property CRM_Badge_BAO_Badge::$pdf.
:373 Access to an undefined property CRM_Badge_BAO_Badge::$pdf.
:431 Access to an undefined property CRM_Core_Form::$_single.
:444 Access to an undefined property CRM_Core_Form::$_componentClause.
:447 Access to an undefined property CRM_Core_Form::$_componentClause.
------ --------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------
Line CRM/Badge/Form/Layout.php
------ ---------------------------------------------------------------------------
:142 Property CRM_Admin_Form::$_id (int) in isset() is not nullable.
:209 Access to an undefined property CRM_Badge_Form_Layout::$_single.
:210 Access to an undefined property CRM_Badge_Form_Layout::$_participantIds.
:211 Access to an undefined property CRM_Badge_Form_Layout::$_componentClause.
------ ---------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Badge/Page/Layout.php
------ ------------------------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Badge_Page_Layout::$_links (array) does not accept default value of type null.
:104 Parameter #1 $mode (null) of method CRM_Badge_Page_Layout::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Batch/BAO/Batch.php
------ ----------------------------------------------------------------------------------------------------------
:27 Static property CRM_Batch_BAO_Batch::$_batch (object) does not accept default value of type null.
:34 Static property CRM_Batch_BAO_Batch::$_exportFormat (string) does not accept default value of type null.
:95 Variable $profileName might not be defined.
:106 Binary operation "+" between string|null and 1 results in an error.
:309 If condition is always true.
:346 Method CRM_Batch_BAO_Batch::getBatchCount() should return string|null but returns array|int.
:419 If condition is always false.
:616 Static method CRM_Batch_BAO_Batch::create() invoked with 2 parameters, 1 required.
------ ----------------------------------------------------------------------------------------------------------
------- -------------------------------------------------------------------------------------------------------
Line CRM/Batch/Form/Entry.php
------- -------------------------------------------------------------------------------------------------------
:117 Property CRM_Batch_Form_Entry::$currentRowContributionID (int) in isset() is not nullable.
:276 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:334 Variable $rowNumber in empty() always exists and is not falsy.
:429 Method CRM_Batch_Form_Entry::formRule() should return array but returns true.
:471 Method CRM_Batch_Form_Entry::formRule() should return array but returns true.
:490 Method CRM_Batch_Form_Entry::setDefaultValues() should return array but empty return statement found.
:517 Variable $defaults might not be defined.
:576 Access to an undefined property CRM_Batch_Form_Entry::$_priceSet.
:651 Offset int|string|null does not exist on array{}.
:665 Offset int|string|null on array{} in empty() does not exist.
:665 Result of && is always false.
:772 Access to an undefined property CRM_Batch_Form_Entry::$_priceSet.
:784 Property CRM_Batch_Form_Entry::$currentRowExistingMembership (array) does not accept null.
:955 Access to an undefined property CRM_Core_Form::$_contributorDisplayName.
:955 Access to an undefined property CRM_Core_Form::$_contributorEmail.
:957 Access to an undefined property CRM_Core_Form::$_receiptContactId.
:1012 Method CRM_Batch_Form_Entry::testProcessMembership() should return bool but returns float.
:1096 Ternary operator condition is always false.
:1102 If condition is always false.
:1189 Property CRM_Batch_Form_Entry::$currentRowExistingMembership (array) in isset() is not nullable.
------- -------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------
Line CRM/Batch/Page/Batch.php
------ -----------------------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Batch_Page_Batch::$_links (array) does not accept default value of type null.
:43 Method CRM_Batch_Page_Batch::links() should return array but return statement is missing.
:74 Parameter #1 $mode (null) of method CRM_Batch_Page_Batch::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ -----------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------
Line CRM/Bridge/OG/CiviCRM.php
------ ----------------------------------------------------------------------------
:97 Call to an undefined method CRM_Utils_System_Base::og_membership_create().
:100 Call to an undefined method CRM_Utils_System_Base::og_membership_delete().
------ ----------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------
Line CRM/Bridge/OG/Drupal.php
------ ---------------------------------------------------------------------------------------
:123 Property CRM_Core_DAO_OptionValue::$is_active (bool|string|null) does not accept int.
:129 Property CRM_Core_DAO_OptionValue::$value (string) does not accept int.
------ ---------------------------------------------------------------------------------------
------ ----------------------------------------------------------
Line CRM/Bridge/OG/Utils.php
------ ----------------------------------------------------------
:91 Function user_load invoked with 1 parameter, 2 required.
------ ----------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Campaign/BAO/Campaign.php
------ ------------------------------------------------------------------------------------------------------
:34 Method CRM_Campaign_BAO_Campaign::create() should return CRM_Campaign_DAO_Campaign but returns null.
------ ------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line CRM/Campaign/BAO/Petition.php
------ -------------------------------------------------------------------------------
:215 Variable $activity might not be defined.
:254 Variable $petition_id in isset() always exists and is not nullable.
:255 Variable $activity_id in isset() always exists and is not nullable.
:531 Property CRM_Contact_DAO_Group::$is_active (bool|string) does not accept int.
------ -------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------
Line CRM/Campaign/BAO/Query.php
------ --------------------------------------------------------------------------------------------------------------
:29 Static property CRM_Campaign_BAO_Query::$_campaignFields (array) does not accept default value of type null.
:40 Static property CRM_Campaign_BAO_Query::$_campaignFields (array) in isset() is not nullable.
:463 Variable $statusIds might not be defined.
------ --------------------------------------------------------------------------------------------------------------
------ ---------------------------------------
Line CRM/Campaign/BAO/Survey.php
------ ---------------------------------------
:251 Variable $where might not be defined.
------ ---------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Campaign/Form/Campaign.php
------ ------------------------------------------------------------------------------------
:313 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
------ ------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Campaign/Form/Gotv.php
------ ---------------------------------------------------------------------
:38 Access to an undefined property CRM_Campaign_Form_Gotv::$_search.
:82 Access to an undefined property CRM_Campaign_Form_Gotv::$_search.
:143 Access to an undefined property CRM_Campaign_Form_Gotv::$_surveyId.
------ ---------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Campaign/Form/Petition.php
------ ------------------------------------------------------------------------------------
:114 Access to an undefined property CRM_Campaign_Form_Petition::$_values.
:266 Access to an undefined property CRM_Core_Form::$_surveyId.
:349 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
------ ------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------
Line CRM/Campaign/Form/Petition/Signature.php
------ ----------------------------------------------------------------------------------------------------------------------
:38 Property CRM_Campaign_Form_Petition_Signature::$_loggedIn (int) does not accept default value of type false.
:125 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$forceEmailConfirmed.
:177 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$bao.
:195 Offset 'is_active' does not exist on array{}.
:205 Access to an undefined property object::$_loggedIn.
:233 Offset 'title' does not exist on array{}.
:254 Offset (int|string) on array{} in isset() does not exist.
:270 Offset (int|string) on array{} in isset() does not exist.
:282 Method CRM_Campaign_Form_Petition_Signature::setDefaultValues() should return array but return statement is missing.
:287 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$petition.
:328 Variable $errors in empty() always exists and is always falsy.
:366 Property CRM_Campaign_Form_Petition_Signature::$_surveyId (int) in isset() is not nullable.
:370 Property CRM_Campaign_Form_Petition_Signature::$_contactId (int) in isset() is not nullable.
:390 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$petition.
:392 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$petition.
:412 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$petition.
:449 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$petition.
:494 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$bao.
:504 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$bao.
:510 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$forceEmailConfirmed.
:511 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$forceEmailConfirmed.
:519 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$bao.
:540 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$bao.
:564 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$petition.
:571 If condition is always false.
:611 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$bao.
:623 Access to an undefined property CRM_Campaign_Form_Petition_Signature::$bao.
------ ----------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line CRM/Campaign/Form/Search.php
------ -----------------------------------------------------------------------------------------------
:42 Property CRM_Campaign_Form_Search::$_limit (bool) does not accept default value of type null.
:61 Access to an undefined property CRM_Campaign_Form_Search::$_printButtonName.
:61 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:62 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:249 Call to an undefined method CRM_Core_StateMachine::getTaskFormName().
------ -----------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Campaign/Form/Search/Campaign.php
------ ------------------------------------------------------------------------------------
:43 Access to an undefined property CRM_Campaign_Form_Search_Campaign::$_search.
:64 Access to an undefined property CRM_Campaign_Form_Search_Campaign::$_search.
:106 Access to an undefined property CRM_Campaign_Form_Search_Campaign::$_searchParams.
------ ------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Campaign/Form/Search/Petition.php
------ ------------------------------------------------------------------------------------
:34 Access to an undefined property CRM_Campaign_Form_Search_Petition::$_search.
:54 Access to an undefined property CRM_Campaign_Form_Search_Petition::$_search.
:68 Access to an undefined property CRM_Campaign_Form_Search_Petition::$_searchParams.
------ ------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line CRM/Campaign/Form/Search/Survey.php
------ ----------------------------------------------------------------------------------
:34 Access to an undefined property CRM_Campaign_Form_Search_Survey::$_search.
:55 Access to an undefined property CRM_Campaign_Form_Search_Survey::$_search.
:79 Access to an undefined property CRM_Campaign_Form_Search_Survey::$_searchParams.
------ ----------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line CRM/Campaign/Form/Survey.php
------ -----------------------------------------------------------------------------------
:153 Method CRM_Core_Controller::getButtonName() invoked with 1 parameter, 0 required.
:156 Method CRM_Core_Controller::getButtonName() invoked with 1 parameter, 0 required.
------ -----------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------
Line CRM/Campaign/Form/Survey/Results.php
------ ----------------------------------------------------------------------------------------
:360 Property CRM_Core_DAO_OptionGroup::$is_active (bool|string) does not accept int.
:374 Property CRM_Core_DAO_OptionValue::$is_active (bool|string|null) does not accept int.
:379 Property CRM_Core_DAO_OptionValue::$is_default (bool|string|null) does not accept int.
:398 Access to an undefined property CRM_Campaign_Form_Survey_Results::$_params.
:461 Access to an undefined property CRM_Campaign_Form_Survey_Results::$_createNew.
:462 Access to an undefined property CRM_Campaign_Form_Survey_Results::$_id.
------ ----------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Campaign/Form/Survey/TabHeader.php
------ --------------------------------------------------------------------------------------------
:54 Method CRM_Campaign_Form_Survey_TabHeader::process() should return array but returns null.
------ --------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------
Line CRM/Campaign/Form/Task/Interview.php
------ -----------------------------------------------------------------------------------------
:34 Property CRM_Campaign_Form_Task_Interview::$_userContext is unused.
πŸ’‘ See: https://phpstan.org/developing-extensions/always-read-written-properties
:36 Property CRM_Campaign_Form_Task_Interview::$_groupTree is unused.
πŸ’‘ See: https://phpstan.org/developing-extensions/always-read-written-properties
:59 Access to an undefined property CRM_Campaign_Form_Task_Interview::$_reserveToInterview.
:67 Access to an undefined property CRM_Campaign_Form_Task_Interview::$_surveyId.
:77 Access to an undefined property CRM_Campaign_Form_Task_Interview::$_surveyId.
:81 Access to an undefined property CRM_Campaign_Form_Task_Interview::$_surveyId.
:83 Access to an undefined property CRM_Campaign_Form_Task_Interview::$_surveyDetails.
:92 Access to an undefined property CRM_Campaign_Form_Task_Interview::$_surveyDetails.
:286 Access to an undefined property CRM_Campaign_Form_Task_Interview::$_surveyId.
:300 Call to an undefined method object::add().
:386 Access to an undefined property CRM_Campaign_Form_Task_Interview::$_surveyDetails.
:435 Access to an undefined property CRM_Campaign_Form_Task_Interview::$_surveyId.
:556 Access to an undefined property CRM_Campaign_Form_Task_Interview::$_surveyId.
:559 Property CRM_Campaign_DAO_Survey::$is_active (bool|string) does not accept int.
:560 Property CRM_Campaign_DAO_Survey::$is_default (bool|string) does not accept int.
:587 Access to an undefined property CRM_Campaign_Form_Task_Interview::$_surveyId.
------ -----------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------
Line CRM/Campaign/Form/Task/Release.php
------ ---------------------------------------------------------------------------------------
:50 Access to an undefined property CRM_Campaign_Form_Task_Release::$_interviewToRelease.
:136 If condition is always true.
------ ---------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line CRM/Campaign/Page/AJAX.php
------ --------------------------------------------------------------------------------------
:291 Comparison operation ">" between CRM_Core_DAO|string|null and 0 results in an error.
:292 Undefined variable: $offset
:299 Undefined variable: $rowCount
:299 Undefined variable: $sort
:304 Undefined variable: $sortOrder
:348 Undefined variable: $sEcho
:408 Variable $activityParams might not be defined.
:437 Variable $activityParams might not be defined.
:438 Variable $activityParams might not be defined.
:440 Variable $activityParams might not be defined.
:600 Comparison operation ">" between array|int and 0 results in an error.
:601 Undefined variable: $offset
:616 Undefined variable: $sEcho
:705 Comparison operation ">" between array|int and 0 results in an error.
:706 Undefined variable: $offset
:721 Undefined variable: $sEcho
:805 Comparison operation ">" between array|int and 0 results in an error.
:806 Undefined variable: $offset
:821 Undefined variable: $sEcho
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------
Line CRM/Campaign/Page/DashBoard.php
------ --------------------------------------------------------------------------------------------------------
:41 Static property CRM_Campaign_Page_DashBoard::$_campaignActionLinks (array) in isset() is not nullable.
:303 Static method CRM_Campaign_Page_DashBoard::surveyActionLinks() invoked with 1 parameter, 0 required.
:328 Static method CRM_Campaign_Page_DashBoard::surveyActionLinks() invoked with 1 parameter, 0 required.
------ --------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Campaign/Page/Petition/Confirm.php
------ ----------------------------------------------------------------------------------------------------------
:59 Access to an undefined property CRM_Campaign_Page_Petition_Confirm::$petition.
:115 Method CRM_Campaign_Page_Petition_Confirm::confirm() should return bool but return statement is missing.
------ ----------------------------------------------------------------------------------------------------------
------ -------------------------------------------
Line CRM/Campaign/Page/Petition/ThankYou.php
------ -------------------------------------------
:30 Offset 'title' does not exist on array{}.
------ -------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Campaign/Page/SurveyType.php
------ -------------------------------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Campaign_Page_SurveyType::$_links (array) does not accept default value of type null.
:51 Property CRM_Campaign_Page_SurveyType::$_gid (array) does not accept default value of type null.
:57 Property CRM_Campaign_Page_SurveyType::$_gName (array) does not accept string.
:59 Property CRM_Campaign_Page_SurveyType::$_gid (array) does not accept int|string|null.
:61 Property CRM_Campaign_Page_SurveyType::$_GName (array) does not accept string.
:142 Binary operation "." between 'option_group_id = ' and array results in an error.
:166 Method CRM_Campaign_Page_SurveyType::editName() should return string but returns array.
:177 Parameter #1 $mode (null) of method CRM_Campaign_Page_SurveyType::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ -------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line CRM/Campaign/Page/Vote.php
------ ----------------------------------------------------------------------------------
:22 Property CRM_Campaign_Page_Vote::$_surveyId is never written, only read.
πŸ’‘ See: https://phpstan.org/developing-extensions/always-read-written-properties
:23 Property CRM_Campaign_Page_Vote::$_interviewerId is never written, only read.
πŸ’‘ See: https://phpstan.org/developing-extensions/always-read-written-properties
:57 Access to an undefined property CRM_Campaign_Page_Vote::$_tabs.
:98 Access to an undefined property CRM_Campaign_Page_Vote::$_tabs.
------ ----------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line CRM/Campaign/PseudoConstant.php
------ -------------------------------------------------------------------------------------------------
:120 Static property CRM_Campaign_PseudoConstant::$engagementLevel (int) in isset() is not nullable.
:121 Static property CRM_Campaign_PseudoConstant::$engagementLevel (int) does not accept array.
:124 Method CRM_Campaign_PseudoConstant::engagementLevel() should return array but returns int.
------ -------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------
Line CRM/Campaign/Selector/Search.php
------ --------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Campaign_Selector_Search::$_links (array) does not accept default value of type null.
:72 Property CRM_Campaign_Selector_Search::$_limit (bool) does not accept default value of type null.
:79 Property CRM_Campaign_Selector_Search::$_context (string) does not accept default value of type null.
:101 Property CRM_Campaign_Selector_Search::$_surveyClause (string) does not accept default value of type null.
:129 Parameter $action of method CRM_Campaign_Selector_Search::__construct() has invalid type const.
:139 Property CRM_Campaign_Selector_Search::$_limit (bool) does not accept int|null.
:142 Access to an undefined property CRM_Campaign_Selector_Search::$_campaignClause.
:143 Access to an undefined property CRM_Campaign_Selector_Search::$_campaignFromClause.
:144 Access to an undefined property CRM_Campaign_Selector_Search::$_campaignWhereClause.
:192 Method CRM_Campaign_Selector_Search::getTotalCount() should return int but returns CRM_Core_DAO|string|null.
:195 Access to an undefined property CRM_Campaign_Selector_Search::$_campaignWhereClause.
:197 Access to an undefined property CRM_Campaign_Selector_Search::$_campaignFromClause.
:222 Access to an undefined property CRM_Campaign_Selector_Search::$_campaignWhereClause.
:224 Access to an undefined property CRM_Campaign_Selector_Search::$_campaignFromClause.
:246 Method CRM_Campaign_Selector_Search::getRows() should return int but returns array<int, array<int|string, mixed>>.
:263 Access to an undefined property CRM_Campaign_Selector_Search::$_campaignWhereClause.
:265 Access to an undefined property CRM_Campaign_Selector_Search::$_campaignFromClause.
------ --------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Campaign/StateMachine/Search.php
------ -----------------------------------------------------------------------------------------------------
:32 Parameter $action of method CRM_Campaign_StateMachine_Search::__construct() has invalid type const.
:52 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ -----------------------------------------------------------------------------------------------------
------ ------------------------------------------------
Line CRM/Case/Audit/Audit.php
------ ------------------------------------------------
:183 Variable $caseActivities might not be defined.
:205 Variable $aval might not be defined.
:206 Variable $bval might not be defined.
:209 Variable $aval might not be defined.
:209 Variable $bval might not be defined.
------ ------------------------------------------------
------ -----------------------------------------------------------------------
Line CRM/Case/Audit/AuditConfig.php
------ -----------------------------------------------------------------------
:117 Variable $completionStatus in empty() always exists and is not falsy.
:126 Variable $sortElement in empty() always exists and is not falsy.
------ -----------------------------------------------------------------------
------- -----------------------------------------------------------------------------------------------------------
Line CRM/Case/BAO/Case.php
------- -----------------------------------------------------------------------------------------------------------
:29 Static property CRM_Case_BAO_Case::$_exportableFields (array) does not accept default value of type null.
:59 Method CRM_Case_BAO_Case::add() should return CRM_Case_DAO_Case but returns CRM_Core_DAO.
:88 Variable $query might not be defined.
:258 Property CRM_Case_DAO_Case::$is_deleted (bool|string) does not accept int.
:420 Variable $caseType in isset() always exists and is always null.
:425 Variable $caseType in isset() always exists and is always null.
:622 Method CRM_Case_BAO_Case::getCases() should return array but returns string|null.
:1195 Method CRM_Case_BAO_Case::formatContactLink() should return string but returns null.
:1277 Variable $caseInfo might not be defined.
:1382 Variable $activitySubject might not be defined.
:1414 Variable $activitySubject might not be defined.
:1471 Method CRM_Case_BAO_Case::getCaseActivityCount() should return array but returns false.
:1525 Negated boolean expression is always true.
:1567 Property CRM_Case_DAO_Case::$is_deleted (bool|string) does not accept int.
:1664 Method CRM_Case_BAO_Case::getCaseActivityDates() should return array but returns null.
:1708 Variable $relationshipId in empty() always exists and is not falsy.
:1754 Variable $assigneContactName might not be defined.
:1754 Variable $caseRelationship might not be defined.
:1761 Variable $assigneContactIds might not be defined.
:1796 Method CRM_Case_BAO_Case::getCaseManagerContact() should return string but returns null.
:1833 Variable $managerRoleQuery might not be defined.
:2061 Method CRM_Case_BAO_Case::mergeCases() should return int|null but returns array.
:2081 Method CRM_Case_BAO_Case::mergeCases() should return int|null but empty return statement found.
:2161 Negated boolean expression is always false.
:2191 Negated boolean expression is always true.
:2195 Unreachable statement - code above always terminates.
:2359 Variable $copiedActivityIds in empty() always exists and is always falsy.
:2402 Method CRM_Case_BAO_Case::mergeCases() should return int|null but returns array<int, mixed>.
:2858 Negated boolean expression is always false.
:3163 Variable $caseRoles might not be defined.
------- -----------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------
Line CRM/Case/BAO/CaseType.php
------ ---------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Case_BAO_CaseType::$_exportableFields (array) does not accept default value of type null.
:68 Method CRM_Case_BAO_CaseType::add() should return CRM_Case_BAO_CaseType but returns CRM_Core_DAO.
------ ---------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------
Line CRM/Case/BAO/Query.php
------ -------------------------------------------------------------------
:226 Access to an undefined property object::$_where.
:613 Binary operation "&" between string and 2048 results in an error.
------ -------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------
Line CRM/Case/Form/Activity.php
------ ---------------------------------------------------------------------------------------------------------
:128 Variable $clients might not be defined.
:188 Method CRM_Case_Form_Activity::setDefaultValues() should return array but return statement is missing.
:191 Property CRM_Activity_Form_Activity::$_activityId (int) in isset() is not nullable.
:277 Access to an undefined property CRM_Case_Form_Activity::$_encounterMedium.
:320 Variable $relCon might not be defined.
:320 Variable $rgc might not be defined.
:380 Method CRM_Case_Form_Activity::postProcess() should return array|null but empty return statement found.
:387 If condition is always true.
:391 Method CRM_Case_Form_Activity::postProcess() should return array|null but empty return statement found.
:453 Property CRM_Activity_Form_Activity::$_activityId (int) in isset() is not nullable.
:534 Variable $vvalue might not be defined.
:587 Method CRM_Case_Form_Activity::postProcess() should return array|null but return statement is missing.
:587 Variable $vvalue might not be defined.
:625 Variable $activity might not be defined.
:718 Method CRM_Case_Form_Activity::getCaseTypeDefinition() is unused.
------ ---------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Case/Form/Activity/ChangeCaseStartDate.php
------ -----------------------------------------------------------------------------------------------------
:32 Access to an undefined property CRM_Core_Form::$_caseId.
:50 Access to an undefined property CRM_Core_Form::$_caseId.
:61 Access to an undefined property CRM_Core_Form::$openCaseActivityId.
:74 Access to an undefined property CRM_Core_Form::$_caseId.
:94 Method CRM_Case_Form_Activity_ChangeCaseStartDate::formRule() should return array but returns true.
:105 Access to an undefined property CRM_Core_Form::$_context.
:106 Access to an undefined property CRM_Core_Form::$_id.
:119 Access to an undefined property CRM_Core_Form::$_caseType.
:120 Access to an undefined property CRM_Core_Form::$_caseId.
:126 Access to an undefined property CRM_Core_Form::$_currentlyViewedContactId.
:127 Access to an undefined property CRM_Core_Form::$_currentUserId.
:152 Access to an undefined property CRM_Core_Form::$_currentlyViewedContactId.
:153 Access to an undefined property CRM_Core_Form::$_currentUserId.
:167 Access to an undefined property CRM_Core_Form::$openCaseActivityId.
------ -----------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------
Line CRM/Case/Form/Activity/ChangeCaseStatus.php
------ --------------------------------------------------------------------------------------------------
:35 Access to an undefined property CRM_Core_Form::$_caseId.
:53 Access to an undefined property CRM_Core_Form::$_defaultCaseStatus.
:67 Access to an undefined property CRM_Core_Form::$_caseStatus.
:71 Access to an undefined property CRM_Core_Form::$_caseId.
:86 Access to an undefined property CRM_Core_Form::$_caseId.
:87 Access to an undefined property CRM_Core_Form::$_defaultCaseStatus.
:87 Access to an undefined property CRM_Core_Form::$_oldCaseStatus.
:90 Access to an undefined property CRM_Core_Form::$_defaultCaseStatus.
:120 Method CRM_Case_Form_Activity_ChangeCaseStatus::formRule() should return array but returns true.
:133 Access to an undefined property CRM_Core_Form::$_caseId.
:138 Access to an undefined property CRM_Core_Form::$_caseId.
:194 Access to an undefined property CRM_Core_Form::$_oldCaseStatus.
------ --------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------
Line CRM/Case/Form/Activity/ChangeCaseType.php
------ ------------------------------------------------------------------------------------------------
:49 Access to an undefined property CRM_Core_Form::$_caseTypeId.
:61 Access to an undefined property CRM_Core_Form::$_caseId.
:62 Access to an undefined property CRM_Core_Form::$_caseType.
:63 Access to an undefined property CRM_Core_Form::$_caseTypeId.
:91 Method CRM_Case_Form_Activity_ChangeCaseType::formRule() should return array but returns true.
:102 Access to an undefined property CRM_Core_Form::$_context.
:103 Access to an undefined property CRM_Core_Form::$_id.
:120 Access to an undefined property CRM_Core_Form::$_caseId.
:132 Access to an undefined property CRM_Core_Form::$_currentlyViewedContactId.
:133 Access to an undefined property CRM_Core_Form::$_currentUserId.
:135 Negated boolean expression is always false.
:135 Variable $caseType might not be defined.
:159 Access to an undefined property CRM_Core_Form::$_currentlyViewedContactId.
:160 Access to an undefined property CRM_Core_Form::$_currentUserId.
:168 Variable $caseType might not be defined.
------ ------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------
Line CRM/Case/Form/Activity/LinkCases.php
------ ----------------------------------------------------------------------------
:32 Access to an undefined property CRM_Core_Form::$_caseId.
:36 Access to an undefined property CRM_Core_Form::$_caseId.
:38 Access to an undefined property CRM_Core_Form::$_currentlyViewedContactId.
:39 Access to an undefined property CRM_Core_Form::$_currentlyViewedContactId.
:69 Access to an undefined property CRM_Core_Form::$_caseId.
:110 Access to an undefined property CRM_Core_Form::$_caseId.
------ ----------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------
Line CRM/Case/Form/Activity/OpenCase.php
------ ---------------------------------------------------------------------------------------
:37 Access to an undefined property CRM_Case_Form_Case::$_allowMultiClient.
:88 Access to an undefined property CRM_Case_Form_Case::$_caseStatusId.
:145 Access to an undefined property CRM_Case_Form_Case::$_allowMultiClient.
:162 Access to an undefined property CRM_Case_Form_Case::$_caseStatusId.
:214 Property CRM_Case_Form_Case::$_currentlyViewedContactId (int) does not accept string.
:328 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:336 Access to an undefined property CRM_Case_Form_Case::$_contactID.
------ ---------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------
Line CRM/Case/Form/ActivityToCase.php
------ --------------------------------------------------------------------------------
:29 Access to an undefined property CRM_Case_Form_ActivityToCase::$_activityId.
:34 Access to an undefined property CRM_Case_Form_ActivityToCase::$_currentCaseId.
:59 Access to an undefined property CRM_Case_Form_ActivityToCase::$_activityId.
:68 Access to an undefined property CRM_Case_Form_ActivityToCase::$_activityId.
:76 Access to an undefined property CRM_Case_Form_ActivityToCase::$_currentCaseId.
:100 Access to an undefined property CRM_Case_Form_ActivityToCase::$_currentCaseId.
------ --------------------------------------------------------------------------------
------ --------------------------------------------------------------------------
Line CRM/Case/Form/ActivityView.php
------ --------------------------------------------------------------------------
:104 Variable $parentID on left side of ?? always exists and is not nullable.
------ --------------------------------------------------------------------------
------ -----------------------------------
Line CRM/Case/Form/AddToCaseAsRole.php
------ -----------------------------------
:86 Right side of || is always true.
------ -----------------------------------
------ -----------------------------------------------------------------------------------------------------------
Line CRM/Case/Form/Case.php
------ -----------------------------------------------------------------------------------------------------------
:34 Property CRM_Case_Form_Case::$_caseId (int) does not accept default value of type null.
:40 Property CRM_Case_Form_Case::$_currentlyViewedContactId (int) does not accept default value of type null.
:46 Property CRM_Case_Form_Case::$_activityTypeFile (int) does not accept default value of type null.
:52 Property CRM_Case_Form_Case::$_currentUserId (int) does not accept default value of type null.
:58 Property CRM_Case_Form_Case::$_activityTypeId (int) does not accept default value of type null.
:64 Property CRM_Case_Form_Case::$_activityId (int) does not accept default value of type null.
:76 Property CRM_Case_Form_Case::$_caseTypeId (int) does not accept default value of type null.
:178 Variable $contact might not be defined.
:203 Method CRM_Case_Form_Case::setDefaultValues() should return array but returns true.
:292 Method CRM_Case_Form_Case::addRules() should return bool but return statement is missing.
:308 Method CRM_Case_Form_Case::formRule() should return array but returns true.
:400 Variable $className might not be defined.
------ -----------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Case/Form/CaseView.php
------ ------------------------------------------------------------------------------------
:404 Else branch is unreachable because ternary operator condition is always true.
:521 Access to an undefined property CRM_Core_Form::$_caseID.
:521 Access to an undefined property CRM_Core_Form::$_contactID.
:527 Access to an undefined property CRM_Core_Form::$_caseID.
:532 Access to an undefined property CRM_Core_Form::$_caseID.
:545 Access to an undefined property CRM_Core_Form::$_caseID.
:548 Access to an undefined property CRM_Core_Form::$_caseID.
:551 Access to an undefined property CRM_Core_Form::$_caseID.
:552 Access to an undefined property CRM_Core_Form::$_caseID.
:555 Access to an undefined property CRM_Core_Form::$_caseID.
:591 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
------ ------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------
Line CRM/Case/Form/CustomData.php
------ --------------------------------------------------------------------------
:114 Access to an undefined property CRM_Case_Form_CustomData::$_contactID.
:123 Access to an undefined property CRM_Case_Form_CustomData::$_customTitle.
:125 Access to an undefined property CRM_Case_Form_CustomData::$_contactID.
------ --------------------------------------------------------------------------
------ --------------------------------
Line CRM/Case/Form/EditClient.php
------ --------------------------------
:108 Cannot access offset 0 on int.
------ --------------------------------
------ -------------------------------------------------------------------------------------------------------
Line CRM/Case/Form/Report.php
------ -------------------------------------------------------------------------------------------------------
:27 Property CRM_Case_Form_Report::$_caseID (int) does not accept default value of type null.
:33 Property CRM_Case_Form_Report::$_clientID (int) does not accept default value of type null.
:39 Property CRM_Case_Form_Report::$_activitySetName (string) does not accept default value of type null.
:80 Call to method setValue() on an unknown class HTML_QuickForm_group.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
------ -------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line CRM/Case/Form/Search.php
------ -------------------------------------------------------------------------------------------
:42 Property CRM_Case_Form_Search::$_limit (bool) does not accept default value of type null.
:81 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:220 Call to an undefined method CRM_Core_StateMachine::getTaskFormName().
------ -------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line CRM/Case/Form/Task.php
------ -------------------------------------------------------------------------------
:103 Property CRM_Core_Form_Task::$_contactIds (array) in isset() is not nullable.
:106 Unreachable statement - code above always terminates.
------ -------------------------------------------------------------------------------
------ --------------------------------------------
Line CRM/Case/Form/Task/Batch.php
------ --------------------------------------------
:109 Variable $caseTypeId might not be defined.
:124 Variable $caseTypeId might not be defined.
------ --------------------------------------------
------ --------------------------------------------------------------------------------------------------
Line CRM/Case/Form/Task/PDF.php
------ --------------------------------------------------------------------------------------------------
:30 Property CRM_Case_Form_Task_PDF::$_templates (array) does not accept default value of type null.
:41 Access to an undefined property CRM_Case_Form_Task_PDF::$skipDeceased.
:41 Access to an undefined property CRM_Case_Form_Task_PDF::$skipOnHold.
------ --------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------
Line CRM/Case/Page/Tab.php
------ ------------------------------------------------------------------------------------------------
:28 Static property CRM_Case_Page_Tab::$_links (array) does not accept default value of type null.
:29 Property CRM_Case_Page_Tab::$_permission (string) does not accept default value of type null.
:85 Access to an undefined property CRM_Case_Page_Tab::$_action.
:91 Access to an undefined property CRM_Case_Page_Tab::$_id.
:95 Access to an undefined property CRM_Case_Page_Tab::$_id.
:106 Access to an undefined property CRM_Case_Page_Tab::$_id.
:149 Access to an undefined property CRM_Case_Page_Tab::$_action.
------ ------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line CRM/Case/Selector/Search.php
------ ------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Case_Selector_Search::$_links (array) does not accept default value of type null.
:75 Property CRM_Case_Selector_Search::$_limit (bool) does not accept default value of type null.
:82 Property CRM_Case_Selector_Search::$_context (string) does not accept default value of type null.
:104 Property CRM_Case_Selector_Search::$_additionalClause (string) does not accept default value of type null.
:132 Parameter $action of method CRM_Case_Selector_Search::__construct() has invalid type const.
:142 Property CRM_Case_Selector_Search::$_limit (bool) does not accept int|null.
:251 Method CRM_Case_Selector_Search::getTotalCount() should return int but returns CRM_Core_DAO|string|null.
:368 Method CRM_Case_Selector_Search::getRows() should return int but returns array<array<int|string, mixed>>.
:391 Static property CRM_Case_Selector_Search::$_columnHeaders (array) in isset() is not nullable.
:523 Variable $permissions might not be defined.
:607 Variable $permissions might not be defined.
:618 Static property CRM_Case_Selector_Search::$_actionLinks (array) in isset() is not nullable.
------ ------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line CRM/Case/StateMachine/Search.php
------ -------------------------------------------------------------------------------------------------
:32 Parameter $action of method CRM_Case_StateMachine_Search::__construct() has invalid type const.
:54 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ -------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------
Line CRM/Case/XMLProcessor/Process.php
------ -----------------------------------------------------------------------------------------------------------
:45 Property CRM_Case_XMLProcessor_Process::$_isMultiClient (bool) does not accept string.
:268 Left side of && is always true.
:572 Unreachable statement - code above always terminates.
:576 Unreachable statement - code above always terminates.
:580 Unreachable statement - code above always terminates.
:786 Method CRM_Case_XMLProcessor_Process::getAllowMultipleCaseClients() should return string but returns int.
:796 Method CRM_Case_XMLProcessor_Process::getNaturalActivityTypeSort() should return string but returns int.
------ -----------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------
Line CRM/Case/XMLProcessor/Report.php
------ --------------------------------------------------------------------------------------------------------------------
:57 Access to an undefined property CRM_Case_XMLProcessor_Report::$_redactionRegexRules.
:73 Access to an undefined property CRM_Case_XMLProcessor_Report::$_redactionRegexRules.
:168 Variable $map might not be defined.
:185 Variable $map might not be defined.
:203 Property CRM_Case_XMLProcessor_Report::$_isRedact (bool) does not accept int.
:316 Access to an undefined property object::$id.
:426 Access to an undefined property object::$id.
:706 Access to an undefined property CRM_Case_XMLProcessor_Report::$_redactionRegexRules.
:748 Access to an undefined property CRM_Core_Form::$_isRedact.
:752 Access to an undefined property CRM_Core_Form::$_isRedact.
:757 Call to an undefined method CRM_Core_Form::caseInfo().
:767 Call to an undefined method CRM_Core_Form::retrieve().
:774 Call to an undefined method CRM_Core_Form::getActivityTypes().
:781 Method CRM_Case_XMLProcessor_Report::populateCaseReportTemplate() should return CRM_Core_Smarty but returns false.
:786 Call to an undefined method CRM_Core_Form::getActivitySetLabel().
:794 Call to an undefined method CRM_Core_Form::getActivities().
:807 Class CRM_Case_XMLProcessor_Report constructor invoked with 1 parameter, 0 required.
:905 Offset 'phone' on array{name: mixed} in empty() does not exist.
:905 Result of && is always false.
:912 Offset 'phone' does not exist on array{name: mixed}.
:914 Offset 'email' on array{name: mixed, phone: mixed} in empty() does not exist.
:914 Result of && is always false.
:921 Offset 'email' does not exist on array{name: mixed, phone: mixed}.
------ --------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line CRM/Case/XMLRepository.php
------ -----------------------------------------------------------------------------------
:47 Unsafe usage of new static().
πŸ’‘ See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static
:153 Negated boolean expression is always true.
:153 Result of || is always true.
------ -----------------------------------------------------------------------------------
------- -----------------------------------------------------------------------------------------------------------------
Line CRM/Contact/BAO/Contact.php
------- -----------------------------------------------------------------------------------------------------------------
:84 Static property CRM_Contact_BAO_Contact::$_exportableFields (array) does not accept default value of type null.
:972 Ternary operator condition is always false.
:984 Variable $restore in empty() always exists and is always falsy.
:1207 Method CRM_Contact_BAO_Contact::getContactSubType() should return string but returns array|null.
:1776 Argument of an invalid type CRM_Core_BAO_Location supplied for foreach, only iterables are supported.
:1969 If condition is always true.
:2152 Variable $defaultLocationId might not be defined.
:2183 Variable $primaryLocationType might not be defined.
:2187 Variable $defaultLocationId might not be defined.
:2653 Method CRM_Contact_BAO_Contact::getCountComponent() should return int|false but returns string|null.
:3261 Method CRM_Contact_BAO_Contact::getTimestamps() should return array but returns null.
------- -----------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/BAO/Contact/Location.php
------ -------------------------------------------------------------------------------------------------------------------------------
:190 Method CRM_Contact_BAO_Contact_Location::getMapInfo() should return string|null but returns array<int, array<string, mixed>>.
------ -------------------------------------------------------------------------------------------------------------------------------
------- -----------------------------------------------------------------------------------------------------------------
Line CRM/Contact/BAO/Contact/Utils.php
------- -----------------------------------------------------------------------------------------------------------------
:236 Binary operation "*" between string|null and 60 results in an error.
:236 Binary operation "+" between string|null and (float|int) results in an error.
:457 Access to an undefined property CRM_Core_Form::$_contactId.
:600 Variable $hasPermissions in empty() always exists and is not falsy.
:625 Variable $rgid might not be defined.
:695 Variable $activityContacts might not be defined.
:714 Variable $activityContacts might not be defined.
:826 Argument of an invalid type CRM_Core_BAO_Address supplied for foreach, only iterables are supported.
:1069 Method CRM_Contact_BAO_Contact_Utils::defaultGreeting() should return int|null but return statement is missing.
------- -----------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/BAO/ContactType.php
------ ---------------------------------------------------------------------------------------------------------------------
:297 Access to an undefined property object::$child_name.
:297 Access to an undefined property object::$child_name.
:297 Access to an undefined property object::$parent_name.
:298 Access to an undefined property object::$child_label.
:299 Access to an undefined property object::$parent_name.
:561 Variable $contact might not be defined.
:564 Variable $contactName might not be defined.
:567 Variable $contactName might not be defined.
:574 Variable $contact might not be defined.
:575 Variable $contactName might not be defined.
:576 Variable $contactName might not be defined.
:579 Variable $active might not be defined.
:817 Variable $subtypesToPreserveClause might not be defined.
:835 Method CRM_Contact_BAO_ContactType::deleteCustomRowsOfSubtype() should return bool but return statement is missing.
------ ---------------------------------------------------------------------------------------------------------------------
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/BAO/Group.php
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
:160 Variable $status in isset() always exists and is not nullable.
:221 Property CRM_Contact_DAO_Group::$is_active (bool|string) does not accept int.
:376 Comparison operation "<=" between array|int and 1 results in an error.
:698 Method CRM_Contact_BAO_Group::createHiddenSmartGroup() should return array but returns null.
:779 Variable $allGroups might not be defined.
:952 Offset 'group_type' on array{action?: string, class: array<int, 'crm-group-child'|'crm-smart-group'|'disabled'>, count: array|int|string,
created_by?: non-falsy-string, is_parent: false, org_info: string|null, visibility: mixed}|array{class: array<int,
'crm-group-child'|'crm-smart-group'|'disabled'>, count: '0', visibility: mixed} in isset() does not exist.
:979 Call to function array_key_exists() with 'children' and array{action?: string, class: array<int, 'crm-group-child'|'crm-smart-group'|'disabled'>,
count: array|int|string, created_by?: non-falsy-string, is_parent: false, org_info?: string|null, visibility: mixed} will always evaluate to
false.
:1211 Variable $types in empty() always exists and is not falsy.
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------
Line CRM/Contact/BAO/GroupContact.php
------ ---------------------------------------------------------------------------------------------------------
:91 Method CRM_Contact_BAO_GroupContact::getValues() should return array but returns null.
:105 Method CRM_Contact_BAO_GroupContact::getValues() should return array but returns null.
:394 Method CRM_Contact_BAO_GroupContact::getContactGroup() should return array|int but returns string|null.
:403 Result of && is always false.
:403 Undefined variable: $group
:403 Variable $group in empty() is never defined.
------ ---------------------------------------------------------------------------------------------------------
------ ----------------------------------------
Line CRM/Contact/BAO/GroupNestingCache.php
------ ----------------------------------------
:246 Variable $values might not be defined.
------ ----------------------------------------
------ -------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/BAO/GroupOrganization.php
------ -------------------------------------------------------------------------------------------------------------------
:33 Method CRM_Contact_BAO_GroupOrganization::add() should return CRM_Contact_DAO_GroupOrganization but returns null.
------ -------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Contact/BAO/Individual.php
------ -----------------------------------------------------------------------------------------------------
:41 Method CRM_Contact_BAO_Individual::format() should return CRM_Contact_BAO_Contact but returns null.
:231 Variable $email might not be defined.
:234 Variable $uniqId might not be defined.
------ -----------------------------------------------------------------------------------------------------
------- ---------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/BAO/Query.php
------- ---------------------------------------------------------------------------------------------------------------------------------------
:36 PHPDoc tag @var for constant CRM_Contact_BAO_Query::NO_RETURN_PROPERTIES with type int is incompatible with value 'CRM_Contact_BAO…'.
:447 Constructor of class CRM_Contact_BAO_Query has an unused parameter $searchDescendentGroups.
:480 Property CRM_Contact_BAO_Query::$_displayRelationshipType (string) does not accept null.
:547 Property CRM_Contact_BAO_Query::$_customQuery (object) does not accept null.
:550 Static property CRM_Contact_BAO_Query::$_activityRole (array) does not accept null.
:551 Static property CRM_Contact_BAO_Query::$_considerCompActivities (array) does not accept null.
:552 Static property CRM_Contact_BAO_Query::$_withContactActivitiesOnly (array) does not accept null.
:793 Variable $tableName in isset() always exists and is not nullable.
:983 Access to an undefined property object::$_cfIDs.
:984 Access to an undefined property object::$_cfIDs.
:989 Access to an undefined property object::$_cfIDs.
:991 Access to an undefined property object::$_cfIDs.
:997 Access to an undefined property object::$_cfIDs.
:1002 Access to an undefined property object::$_cfIDs.
:1003 Access to an undefined property object::$_cfIDs.
:1008 Access to an undefined property object::$_cfIDs.
:1010 Access to an undefined property object::$_cfIDs.
:1016 Access to an undefined property object::$_cfIDs.
:1192 Variable $tableName in isset() always exists and is not nullable.
:1194 Variable $aName might not be defined.
:1270 Variable $lCond in empty() always exists and is not falsy.
:1288 Variable $aName might not be defined.
:1290 Variable $addressJoin might not be defined.
:1295 Variable $aName might not be defined.
:1298 Variable $addressJoin might not be defined.
:1305 Variable $aName might not be defined.
:1307 Variable $addressJoin might not be defined.
:1314 Variable $aName might not be defined.
:1316 Variable $addressJoin might not be defined.
:1322 Variable $aName might not be defined.
:1325 Variable $addressJoin might not be defined.
:1418 Property CRM_Contact_BAO_Query::$_distinctComponentClause (string) in isset() is not nullable.
:1486 Property CRM_Contact_BAO_Query::$_distinctComponentClause (string) in isset() is not nullable.
:1486 Result of && is always false.
:1523 Variable $havingValue might not be defined.
:2015 Call to an undefined method CRM_Contact_BAO_Query::task().
:2091 Access to an undefined property object::$_where.
:2091 Access to an undefined property object::$_where.
:2103 Access to an undefined property object::$_operator.
:2109 Access to an undefined property object::$_operator.
:2116 Access to an undefined property object::$_useDistinct.
:2192 Variable $aName might not be defined.
:2192 Variable $aName might not be defined.
:2222 Variable $aName might not be defined.
:2222 Variable $aName might not be defined.
:2363 Variable $tableName in isset() always exists and is not nullable.
:2620 Variable $tempTable might not be defined.
:2622 Variable $tempTable might not be defined.
:2819 Variable $locationID might not be defined.
:2899 Variable $contactType might not be defined.
:3054 Variable $regularGroupIDs in empty() always exists and is not falsy.
:3151 Method CRM_Contact_BAO_Query::addGroupContactCache() should return string but returns null.
:3180 Method CRM_Contact_BAO_Query::addGroupContactCache() should return string but returns null.
:3788 Method CRM_Contact_BAO_Query::locationType() should return string but return statement is missing.
:3844 Method CRM_Contact_BAO_Query::country() should return array|null but return statement is missing.
:3918 Method CRM_Contact_BAO_Query::county() should return string but return statement is missing.
:3953 Method CRM_Contact_BAO_Query::stateProvince() should return string but return statement is missing.
:4169 Static property CRM_Contact_BAO_Query::$_relType (array) does not accept string.
:4176 Static property CRM_Contact_BAO_Query::$_relType (array) does not accept string.
:4419 Method CRM_Contact_BAO_Query::getRelationshipActivePeriodClauses() should return string but return statement is missing.
:4448 Static property CRM_Contact_BAO_Query::$_defaultReturnProperties (array) in isset() is not nullable.
:4695 Method CRM_Contact_BAO_Query::getCustomFieldName() should return string but return statement is missing.
:4971 Method CRM_Contact_BAO_Query::getSearchSQL() invoked with 11 parameters, 0-10 required.
:5142 If condition is always false.
:5197 Static property CRM_Contact_BAO_Query::$_defaultHierReturnProperties (array) in isset() is not nullable.
:5351 Variable $firstDate might not be defined.
:5353 Variable $firstDate might not be defined.
:5365 Variable $firstDate might not be defined.
:5365 Variable $firstOP might not be defined.
:5368 Variable $firstPhrase might not be defined.
:5371 Variable $firstDate might not be defined.
:5371 Variable $firstOP might not be defined.
:5372 Variable $firstPhrase might not be defined.
:5569 Variable $secondDate might not be defined.
:5978 Variable $values in empty() always exists and is not falsy.
:5987 Result of && is always false.
:5993 Variable $returnValues in empty() always exists and is not falsy.
:6133 Cannot call method orderBy() on array.
:6140 Access to an undefined property CRM_Contact_BAO_Query::$_elemnt.
:6375 Result of || is always true.
:6376 Property CRM_Contact_BAO_Query::$_distinctComponentClause (string) in isset() is not nullable.
:6412 Method CRM_Contact_BAO_Query::prepareOrderBy() should return string but returns null.
:6493 Method CRM_Contact_BAO_Query::prepareOrderBy() should return string but return statement is missing.
:6589 Property CRM_Contact_BAO_Query::$_distinctComponentClause (string) in isset() is not nullable.
:6825 Property CRM_Contact_BAO_Query::$_groupByComponentClause (string) in isset() is not nullable.
------- ---------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/BAO/Query/Hook.php
------ ------------------------------------------------------------------------------------------------------------------------------------------
:28 Property CRM_Contact_BAO_Query_Hook::$_queryObjects (array<CRM_Contact_BAO_Query_Interface>) does not accept default value of type null.
:145 Call to an undefined method CRM_Contact_BAO_Query_Interface::getPanesMapper().
------ ------------------------------------------------------------------------------------------------------------------------------------------
------- ------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/BAO/Relationship.php
------- ------------------------------------------------------------------------------------------------------------------------------------------------
:921 Method CRM_Contact_BAO_Relationship::getValues() should return array but returns null.
:1076 Binary operation ".=" between non-falsy-string and array|void results in an error.
:1213 Variable $tempMask might not be defined.
:1379 Parameter $action of method CRM_Contact_BAO_Relationship::relatedMemberships() has invalid type const.
:1439 Variable $contact might not be defined.
:1448 Variable $contact might not be defined.
:1516 Variable $relDirections might not be defined.
:1573 Result of && is always false.
:1575 Offset 'memberships' on array{relatedContacts: mixed, relationshipTypeId: string, relationshipTypeDirection: non-falsy-string} in empty() does
not exist.
:1808 Method CRM_Contact_BAO_Relationship::membershipTypeToRelationshipTypes() should return array|void but returns null.
:1813 Method CRM_Contact_BAO_Relationship::membershipTypeToRelationshipTypes() should return array|void but returns null.
:1830 Variable $clauses in empty() is never defined.
------- ------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------
Line CRM/Contact/BAO/RelationshipCache.php
------ ------------------------------------------
:117 Variable $triggers might not be defined.
------ ------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Contact/BAO/SavedSearch.php
------ ------------------------------------------------------------------------------------------
:163 Static call to instance method stdClass::formatSavedSearchFields().
:223 Method CRM_Contact_BAO_SavedSearch::whereClause() should return string but returns null.
:304 Call to an undefined static method CRM_Contact_DAO_SavedSearch::assignTestValues().
------ ------------------------------------------------------------------------------------------
------- -----------------------------------------------------------------------------------------
Line CRM/Contact/Form/Contact.php
------- -----------------------------------------------------------------------------------------
:540 Access to an undefined property CRM_Contact_Form_Contact::$_addBlockName.
:649 Variable $contactId on left side of ?? always exists and is not nullable.
:720 Access to an undefined property CRM_Contact_Form_Contact::$_addBlockName.
:853 Access to an undefined property object::$_oldSubtypes.
:1370 Method CRM_Contact_Form_Contact::ordinalNumber() should return string but returns null.
------- -----------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Contact/Form/CustomData.php
------ ------------------------------------------------------------------------------------
:86 Access to an undefined property CRM_Contact_Form_CustomData::$_cdType.
:100 Variable $subType might not be defined.
:157 Access to an undefined property CRM_Contact_Form_CustomData::$_cdType.
:189 Access to an undefined property CRM_Contact_Form_CustomData::$_tableID.
:215 Access to an undefined property CRM_Contact_Form_CustomData::$_cdType.
:218 Access to an undefined property CRM_Contact_Form_CustomData::$_type.
:220 Access to an undefined property CRM_Contact_Form_CustomData::$_entityId.
:244 Variable $customDefaultValue might not be defined.
:249 Access to an undefined property CRM_Contact_Form_CustomData::$_contactType.
:249 Access to an undefined property CRM_Contact_Form_CustomData::$_tableID.
:250 Access to an undefined property CRM_Contact_Form_CustomData::$_contactSubType.
:252 Access to an undefined property CRM_Contact_Form_CustomData::$_tableID.
:274 Access to an undefined property CRM_Contact_Form_CustomData::$_tableID.
:278 Access to an undefined property CRM_Contact_Form_CustomData::$_tableID.
:281 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:283 Access to an undefined property CRM_Contact_Form_CustomData::$_contactType.
:283 Access to an undefined property CRM_Contact_Form_CustomData::$_tableID.
:287 Access to an undefined property CRM_Contact_Form_CustomData::$_tableID.
:289 Access to an undefined property CRM_Contact_Form_CustomData::$_tableID.
:293 Access to an undefined property CRM_Contact_Form_CustomData::$_tableID.
------ ------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Contact/Form/DedupeFind.php
------ ---------------------------------------------------------------------
:85 Access to an undefined property CRM_Contact_Form_DedupeFind::$rgid.
------ ---------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Domain.php
------ ---------------------------------------------------------------------------------------------------
:42 Property CRM_Contact_Form_Domain::$_fromEmailId (int) does not accept default value of type null.
:68 Static method CRM_Utils_System::appendBreadCrumb() invoked with 2 parameters, 1 required.
:91 Property CRM_Contact_Form_Domain::$_id (int) in isset() is not nullable.
------ ---------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------
Line CRM/Contact/Form/Edit/Address.php
------ --------------------------------------------------------------------------
:276 Access to an undefined property CRM_Core_Form::$_parseStreetAddress.
:330 Access to an undefined property CRM_Core_Form::$_contactId.
:376 Access to an undefined property CRM_Core_Form::$_addressRequireOmission.
:392 Result of && is always true.
:392 Variable $groupTree in isset() always exists and is not nullable.
------ --------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Edit/CommunicationPreferences.php
------ ------------------------------------------------------------------------------------------------
:75 Access to an undefined property CRM_Core_Form::$_contactType.
:79 Access to an undefined property CRM_Core_Form::$_contactType.
:90 Access to an undefined property CRM_Core_Form::$_contactId.
:136 Access to an undefined property CRM_Contact_Form_Edit_CommunicationPreferences::$_contactType.
:187 Access to an undefined property CRM_Core_Form::$_contactType.
------ ------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------
Line CRM/Contact/Form/Edit/CustomData.php
------ --------------------------------------------------------------------
:29 Access to an undefined property CRM_Core_Form::$_type.
:30 Access to an undefined property CRM_Core_Form::$_subType.
:35 Access to an undefined property CRM_Core_Form::$_addBlockName.
:60 Access to an undefined property CRM_Core_Form::$_customValueCount.
------ --------------------------------------------------------------------
------ ---------------------------------------------
Line CRM/Contact/Form/Edit/Email.php
------ ---------------------------------------------
:60 If condition is always true.
:75 Negated boolean expression is always false.
:75 Result of && is always false.
------ ---------------------------------------------
------ -------------------------------------------------------------
Line CRM/Contact/Form/Edit/Household.php
------ -------------------------------------------------------------
:53 Access to an undefined property CRM_Core_Form::$_contactId.
------ -------------------------------------------------------------
------ -------------------------------------------------------------
Line CRM/Contact/Form/Edit/Individual.php
------ -------------------------------------------------------------
:86 Access to an undefined property CRM_Core_Form::$_contactId.
------ -------------------------------------------------------------
------ -------------------------------------------------------------
Line CRM/Contact/Form/Edit/Organization.php
------ -------------------------------------------------------------
:59 Access to an undefined property CRM_Core_Form::$_contactId.
------ -------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line CRM/Contact/Form/Edit/TagsAndGroups.php
------ ----------------------------------------------------------------------------------
:62 Access to an undefined property CRM_Core_Form::$_tagGroup.
:112 Access to an undefined property CRM_Core_Form::$_tagGroup.
:133 Variable $groupElementType on left side of ?? always exists and is not nullable.
:203 Access to an undefined property CRM_Core_Form::$_gid.
:206 Access to an undefined property CRM_Core_Form::$_tid.
:218 Access to an undefined property CRM_Core_Form::$_contactId.
------ ----------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------
Line CRM/Contact/Form/GroupContact.php
------ ---------------------------------------------------------------------------
:65 Access to an undefined property CRM_Contact_Form_GroupContact::$_context.
:94 Else branch is unreachable because previous condition is always true.
:128 Access to an undefined property CRM_Contact_Form_GroupContact::$_context.
:138 Access to an undefined property CRM_Contact_Form_GroupContact::$_context.
------ ---------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Inline/Address.php
------ ---------------------------------------------------------------------------------------------------------------------------------------
:27 Property CRM_Contact_Form_Inline_Address::$_locBlockNo is never written, only read.
πŸ’‘ See: https://phpstan.org/developing-extensions/always-read-written-properties
:45 PHPDoc type string of property CRM_Contact_Form_Inline_Address::$_action is not covariant with PHPDoc type int of overridden property
CRM_Core_Form::$_action.
πŸ’‘ You can fix 3rd party PHPDoc types with stub files:
https://phpstan.org/user-guide/stub-files
------ ---------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------
Line CRM/Contact/Form/Inline/IM.php
------ -------------------------------------------
:100 Variable $primaryID might not be defined.
------ -------------------------------------------
------ -------------------------------------------
Line CRM/Contact/Form/Inline/OpenID.php
------ -------------------------------------------
:100 Variable $primaryID might not be defined.
------ -------------------------------------------
------ --------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Inline/Website.php
------ --------------------------------------------------------------------------------------------------------
:73 Static method CRM_Contact_Form_Edit_Website::buildQuickForm() invoked with 3 parameters, 1-2 required.
------ --------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Location.php
------ --------------------------------------------------------------------------------------------------------
:25 Access to an undefined property CRM_Core_Form::$_addBlockName.
:38 Access to an undefined property CRM_Contact_Form_Domain|CRM_Event_Form_ManageEvent_Location::$_blocks.
:45 Access to an undefined property CRM_Core_Form::$_blocks.
:67 Access to an undefined property CRM_Core_Form::$_blocks.
------ --------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Merge.php
------ ------------------------------------------------------------------------------------------
:27 Property CRM_Contact_Form_Merge::$_cid (int) does not accept default value of type null.
:33 Property CRM_Contact_Form_Merge::$_oid (int) does not accept default value of type null.
:262 Access to an undefined property CRM_Contact_Form_Merge::$next.
:267 Access to an undefined property CRM_Contact_Form_Merge::$prev.
:299 Access to an undefined property CRM_Contact_Form_Merge::$_rgid.
:310 Access to an undefined property CRM_Contact_Form_Merge::$_mainDetails.
:311 Access to an undefined property CRM_Contact_Form_Merge::$_otherDetails.
:330 Access to an undefined property CRM_Contact_Form_Merge::$_gid.
:330 Access to an undefined property CRM_Contact_Form_Merge::$_rgid.
:338 Access to an undefined property CRM_Contact_Form_Merge::$_mergeId.
:338 Access to an undefined property CRM_Contact_Form_Merge::$next.
:339 Access to an undefined property CRM_Contact_Form_Merge::$_gid.
:339 Access to an undefined property CRM_Contact_Form_Merge::$_rgid.
------ ------------------------------------------------------------------------------------------
------ --------------------------------------------------
Line CRM/Contact/Form/Relationship.php
------ --------------------------------------------------
:134 Offset 'contact_id_b' does not exist on array{}.
:166 Access to an undefined property object::$_rtype.
------ --------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Search.php
------ -------------------------------------------------------------------------------------------------------------
:29 Static property CRM_Contact_Form_Search::$_validContext (array) does not accept default value of type null.
:36 Static property CRM_Contact_Form_Search::$_modeValues (array) does not accept default value of type null.
:377 Property CRM_Contact_Form_Search::$_ssID (int) on left side of ?? is not nullable.
:393 Property CRM_Contact_Form_Search::$_ssID (int) in isset() is not nullable.
:403 Variable $savedSearchValues on left side of ?? always exists and is not nullable.
:599 Call to an undefined method object::set().
:623 Call to an undefined method object::returnProperties().
:772 Property CRM_Contact_Form_Search::$_ufGroupID (int) in isset() is not nullable.
:776 Property CRM_Contact_Form_Search::$_componentMode (string) in isset() is not nullable.
:780 Property CRM_Contact_Form_Search::$_operator (string) in isset() is not nullable.
:801 Call to an undefined method CRM_Core_StateMachine::getTaskFormName().
------ -------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Contact/Form/Search/Advanced.php
------ ------------------------------------------------------------------------------------
:44 Access to an undefined property CRM_Contact_Form_Search_Advanced::$_searchPane.
:46 Access to an undefined property CRM_Contact_Form_Search_Advanced::$_searchOptions.
:165 Access to an undefined property CRM_Contact_Form_Search_Advanced::$_searchPane.
:251 Property CRM_Contact_Form_Search::$_ssID (int) in isset() is not nullable.
:255 Property CRM_Contact_Form_Search::$_groupID (int) in isset() is not nullable.
:302 Property CRM_Contact_Form_Search::$_sortByCharacter (string) does not accept null.
:306 Property CRM_Contact_Form_Search::$_returnProperties (array) does not accept null.
------ ------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Contact/Form/Search/Basic.php
------ ------------------------------------------------------------------------------------
:147 Property CRM_Contact_Form_Search::$_groupID (int) in isset() is not nullable.
:150 Property CRM_Contact_Form_Search::$_ssID (int) in isset() is not nullable.
:172 Property CRM_Contact_Form_Search::$_sortByCharacter (string) does not accept null.
:176 Property CRM_Contact_Form_Search::$_returnProperties (array) does not accept null.
------ ------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Search/Builder.php
------ ------------------------------------------------------------------------------------------------------------------------------------------
:68 Access to an undefined property CRM_Contact_Form_Search_Builder::$_loadedMappingId.
:140 Method CRM_Contact_Form_Search_Builder::formRule() should return array but returns true.
:213 Right side of && is always true.
:243 Variable $inVal might not be defined.
:290 Method CRM_Contact_Form_Search_Builder::formRule() should return array but returns true.
:315 Return type (array) of method CRM_Contact_Form_Search_Builder::returnProperties() should be compatible with return type (null) of method
CRM_Contact_Form_Search::returnProperties()
:342 Cannot access offset int<1, max> on int.
:342 Cannot access offset int<1, max> on int.
:390 Property CRM_Contact_Form_Search::$_sortByCharacter (string) does not accept null.
:630 Variable $mapperFields might not be defined.
:632 Variable $mapperFields might not be defined.
:655 Variable $mapperFields might not be defined.
:687 Variable $mappingId in isset() always exists and is not nullable.
:706 Access to an undefined property CRM_Core_Form::$_blockCount.
:707 Access to an undefined property CRM_Core_Form::$_columnCount.
:721 Variable $mappingId in isset() always exists and is not nullable.
:722 Variable $mapperFields might not be defined.
:758 Call to an undefined method HTML_QuickForm_element::setOptions().
:758 Variable $sel2 might not be defined.
:758 Variable $sel4 might not be defined.
:869 Undefined variable: $phoneType
:878 Undefined variable: $imProvider
:878 Undefined variable: $phoneType
------ ------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Search/Criteria.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
:30 Access to an undefined property CRM_Contact_Form_Search_Advanced::$_searchOptions.
:40 Access to an undefined property CRM_Contact_Form_Search_Advanced::$_searchOptions.
:61 Access to an undefined property CRM_Contact_Form_Search_Advanced::$_searchOptions.
:444 Offset
'address_name'|'city'|'country'|'county'|'postal_code'|'state_province'|'street_address'|'street_name'|'street_number'|'street_unit'|'supplemental
…'|'supplemental…'|'supplemental…' does not exist on 0|0.0|''|'0'|array{}|false.
:456 Call to an undefined method HTML_QuickForm_element::setMultiple().
:509 Call to an undefined method CRM_Core_Form::addSearchFieldMetadata().
:510 Call to an undefined method CRM_Core_Form::addFormFieldsFromMetadata().
:545 Access to an undefined property CRM_Core_Form_Search::$_group.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task.php
------ --------------------------------------------------------------------------------------------------------
:49 Property CRM_Contact_Form_Task::$_componentClause (string) does not accept default value of type null.
:56 Property CRM_Contact_Form_Task::$_componentTable (string) does not accept default value of type null.
:87 Access to an undefined property CRM_Core_Form_Task::$_contactTypes.
:180 Variable $insertString in empty() always exists and is always falsy.
:212 Access to an undefined property object::$_componentClause.
:213 Call to an undefined method object::assign().
:215 Access to an undefined property object::$_componentIds.
:244 Call to an undefined method CRM_Core_Controller::selectorName().
------ --------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/AddToParentClass.php
------ ----------------------------------------------------------------------------------------
:60 Call to method getElements() on an unknown class HTML_QuickForm_group.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:216 Comparison operation "<=" between CRM_Core_DAO|string|null and 50 results in an error.
------ ----------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/AddToTag.php
------ ---------------------------------------------------------------------------------
:98 Variable $tagIDs in empty() always exists and is not falsy.
:119 Property CRM_Contact_Form_Task_AddToTag::$_name (string) does not accept array.
------ ---------------------------------------------------------------------------------
------ --------------------------------------------
Line CRM/Contact/Form/Task/AlterPreferences.php
------ --------------------------------------------
:113 Variable $contact_id might not be defined.
------ --------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/Batch.php
------ ----------------------------------------------------------------------------------------------
:75 Access to an undefined property CRM_Contact_Form_Task_Batch::$_fields.
:152 Method CRM_Contact_Form_Task_Batch::setDefaultValues() should return array but returns null.
:254 Access to an undefined property CRM_Core_Form::$_fields.
------ ----------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/Delete.php
------ --------------------------------------------------------------------------------------------------------------------
:37 Property CRM_Contact_Form_Task_Delete::$_sharedAddressMessage (string) does not accept default value of type null.
:134 Access to an undefined property CRM_Contact_Form_Task_Delete::$_restore.
:175 Access to an undefined property CRM_Contact_Form_Task_Delete::$_skipUndelete.
:185 Access to an undefined property CRM_Contact_Form_Task_Delete::$_restore.
:205 Access to an undefined property CRM_Contact_Form_Task_Delete::$_skipUndelete.
:215 Access to an undefined property CRM_Contact_Form_Task_Delete::$_skipUndelete.
:217 Variable $name might not be defined.
:224 Variable $name might not be defined.
:238 Offset 'count' does not exist on string.
:238 Property CRM_Contact_Form_Task_Delete::$_sharedAddressMessage (string) in isset() is not nullable.
:239 Offset 'contactList' does not exist on string.
:245 Offset 'contactList' does not exist on string.
------ --------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------
Line CRM/Contact/Form/Task/EmailCommon.php
------ --------------------------------------------------------------
:34 Access to an undefined property CRM_Core_Form::$_emails.
:39 Access to an undefined property CRM_Core_Form::$_contactIds.
:51 Access to an undefined property CRM_Core_Form::$_fromEmails.
------ --------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/EmailTrait.php (in context of class CRM_Activity_Form_Task_Email)
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:161 Call to function is_null() with array will always evaluate to false.
:283 Offset 'followup_activity…'|'followup_activity…'|'followup_assignee…' on array{followup_assignee_contact_id: array{type: 'entityRef', label:
string, attributes: array{multiple: true, create: true, api: array{params: array{is_deceased: 0}}}}, followup_activity_type_id: array{type:
'select', label: string, attributes: non-empty-array, extra: array{class: 'crm-select2'}}, followup_activity_subject: array{type: 'text', label:
string, attributes: array}} in empty() always exists and is not falsy.
:284 Offset 'attributes' on array{type: 'entityRef'|'text', label: string, attributes: array}|array{type: 'select', label: string, attributes:
non-empty-array, extra: array{class: 'crm-select2'}} on left side of ?? always exists and is not nullable.
:285 Offset 'required' on array{type: 'entityRef'|'text', label: string, attributes: array}|array{type: 'select', label: string, attributes:
non-empty-array, extra: array{class: 'crm-select2'}} in empty() does not exist.
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/EmailTrait.php (in context of class CRM_Case_Form_Task_Email)
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:161 Call to function is_null() with array will always evaluate to false.
:283 Offset 'followup_activity…'|'followup_activity…'|'followup_assignee…' on array{followup_assignee_contact_id: array{type: 'entityRef', label:
string, attributes: array{multiple: true, create: true, api: array{params: array{is_deceased: 0}}}}, followup_activity_type_id: array{type:
'select', label: string, attributes: non-empty-array, extra: array{class: 'crm-select2'}}, followup_activity_subject: array{type: 'text', label:
string, attributes: array}} in empty() always exists and is not falsy.
:284 Offset 'attributes' on array{type: 'entityRef'|'text', label: string, attributes: array}|array{type: 'select', label: string, attributes:
non-empty-array, extra: array{class: 'crm-select2'}} on left side of ?? always exists and is not nullable.
:285 Offset 'required' on array{type: 'entityRef'|'text', label: string, attributes: array}|array{type: 'select', label: string, attributes:
non-empty-array, extra: array{class: 'crm-select2'}} in empty() does not exist.
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/EmailTrait.php (in context of class CRM_Contact_Form_Task_Email)
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:161 Call to function is_null() with array will always evaluate to false.
:283 Offset 'followup_activity…'|'followup_activity…'|'followup_assignee…' on array{followup_assignee_contact_id: array{type: 'entityRef', label:
string, attributes: array{multiple: true, create: true, api: array{params: array{is_deceased: 0}}}}, followup_activity_type_id: array{type:
'select', label: string, attributes: non-empty-array, extra: array{class: 'crm-select2'}}, followup_activity_subject: array{type: 'text', label:
string, attributes: array}} in empty() always exists and is not falsy.
:284 Offset 'attributes' on array{type: 'entityRef'|'text', label: string, attributes: array}|array{type: 'select', label: string, attributes:
non-empty-array, extra: array{class: 'crm-select2'}} on left side of ?? always exists and is not nullable.
:285 Offset 'required' on array{type: 'entityRef'|'text', label: string, attributes: array}|array{type: 'select', label: string, attributes:
non-empty-array, extra: array{class: 'crm-select2'}} in empty() does not exist.
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/EmailTrait.php (in context of class CRM_Contribute_Form_Task_Email)
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:161 Call to function is_null() with array will always evaluate to false.
:283 Offset 'followup_activity…'|'followup_activity…'|'followup_assignee…' on array{followup_assignee_contact_id: array{type: 'entityRef', label:
string, attributes: array{multiple: true, create: true, api: array{params: array{is_deceased: 0}}}}, followup_activity_type_id: array{type:
'select', label: string, attributes: non-empty-array, extra: array{class: 'crm-select2'}}, followup_activity_subject: array{type: 'text', label:
string, attributes: array}} in empty() always exists and is not falsy.
:284 Offset 'attributes' on array{type: 'entityRef'|'text', label: string, attributes: array}|array{type: 'select', label: string, attributes:
non-empty-array, extra: array{class: 'crm-select2'}} on left side of ?? always exists and is not nullable.
:285 Offset 'required' on array{type: 'entityRef'|'text', label: string, attributes: array}|array{type: 'select', label: string, attributes:
non-empty-array, extra: array{class: 'crm-select2'}} in empty() does not exist.
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/EmailTrait.php (in context of class CRM_Event_Form_Task_Email)
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:161 Call to function is_null() with array will always evaluate to false.
:283 Offset 'followup_activity…'|'followup_activity…'|'followup_assignee…' on array{followup_assignee_contact_id: array{type: 'entityRef', label:
string, attributes: array{multiple: true, create: true, api: array{params: array{is_deceased: 0}}}}, followup_activity_type_id: array{type:
'select', label: string, attributes: non-empty-array, extra: array{class: 'crm-select2'}}, followup_activity_subject: array{type: 'text', label:
string, attributes: array}} in empty() always exists and is not falsy.
:284 Offset 'attributes' on array{type: 'entityRef'|'text', label: string, attributes: array}|array{type: 'select', label: string, attributes:
non-empty-array, extra: array{class: 'crm-select2'}} on left side of ?? always exists and is not nullable.
:285 Offset 'required' on array{type: 'entityRef'|'text', label: string, attributes: array}|array{type: 'select', label: string, attributes:
non-empty-array, extra: array{class: 'crm-select2'}} in empty() does not exist.
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/EmailTrait.php (in context of class CRM_Member_Form_Task_Email)
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:161 Call to function is_null() with array will always evaluate to false.
:283 Offset 'followup_activity…'|'followup_activity…'|'followup_assignee…' on array{followup_assignee_contact_id: array{type: 'entityRef', label:
string, attributes: array{multiple: true, create: true, api: array{params: array{is_deceased: 0}}}}, followup_activity_type_id: array{type:
'select', label: string, attributes: non-empty-array, extra: array{class: 'crm-select2'}}, followup_activity_subject: array{type: 'text', label:
string, attributes: array}} in empty() always exists and is not falsy.
:284 Offset 'attributes' on array{type: 'entityRef'|'text', label: string, attributes: array}|array{type: 'select', label: string, attributes:
non-empty-array, extra: array{class: 'crm-select2'}} on left side of ?? always exists and is not nullable.
:285 Offset 'required' on array{type: 'entityRef'|'text', label: string, attributes: array}|array{type: 'select', label: string, attributes:
non-empty-array, extra: array{class: 'crm-select2'}} in empty() does not exist.
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/Label.php
------ --------------------------------------------------------------------------------------
:358 Strict comparison using === between 1 and 'UnitTests' will always evaluate to false.
------ --------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/LabelCommon.php
------ -------------------------------------------------------------------------------------------
:34 Strict comparison using === between 1 and 'UnitTests' will always evaluate to false.
:114 Cannot access offset 'do_not_mail' on bool.
:156 Method CRM_Contact_Form_Task_LabelCommon::getRows() should return array but returns null.
------ -------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/PDF.php
------ -----------------------------------------------------------------------------------------------------
:30 Property CRM_Contact_Form_Task_PDF::$_templates (array) does not accept default value of type null.
:43 Access to an undefined property CRM_Contact_Form_Task_PDF::$skipDeceased.
:43 Access to an undefined property CRM_Contact_Form_Task_PDF::$skipOnHold.
:49 Access to an undefined property object::$_caseIds.
------ -----------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------
Line CRM/Contact/Form/Task/PDFLetterCommon.php
------ --------------------------------------------------------------
:49 Access to an undefined property CRM_Core_Form::$_fromEmails.
:68 Access to an undefined property CRM_Core_Form::$_contactIds.
------ --------------------------------------------------------------
------ ---------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/PDFTrait.php (in context of class CRM_Activity_Form_Task_PDF)
------ ---------------------------------------------------------------------------------------
:161 Method CRM_Activity_Form_Task_PDF::getButtons() invoked with 1 parameter, 0 required.
:173 Access to an undefined property CRM_Activity_Form_Task_PDF::$_fromEmails.
------ ---------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/PDFTrait.php (in context of class CRM_Case_Form_Task_PDF)
------ -----------------------------------------------------------------------------------
:161 Method CRM_Case_Form_Task_PDF::getButtons() invoked with 1 parameter, 0 required.
:173 Access to an undefined property CRM_Case_Form_Task_PDF::$_fromEmails.
:268 Variable $zip might not be defined.
------ -----------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/PDFTrait.php (in context of class CRM_Contact_Form_Task_PDF)
------ --------------------------------------------------------------------------------------
:161 Method CRM_Contact_Form_Task_PDF::getButtons() invoked with 1 parameter, 0 required.
:173 Access to an undefined property CRM_Contact_Form_Task_PDF::$_fromEmails.
:268 Variable $zip might not be defined.
------ --------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/PDFTrait.php (in context of class CRM_Contribute_Form_Task_PDFLetter)
------ -----------------------------------------------------------------------------------------------
:161 Method CRM_Contribute_Form_Task_PDFLetter::getButtons() invoked with 1 parameter, 0 required.
:173 Access to an undefined property CRM_Contribute_Form_Task_PDFLetter::$_fromEmails.
------ -----------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/PDFTrait.php (in context of class CRM_Event_Form_Task_PDF)
------ ------------------------------------------------------------------------------------
:161 Method CRM_Event_Form_Task_PDF::getButtons() invoked with 1 parameter, 0 required.
:173 Access to an undefined property CRM_Event_Form_Task_PDF::$_fromEmails.
:268 Variable $zip might not be defined.
------ ------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/PDFTrait.php (in context of class CRM_Member_Form_Task_PDFLetter)
------ -------------------------------------------------------------------------------------------
:161 Method CRM_Member_Form_Task_PDFLetter::getButtons() invoked with 1 parameter, 0 required.
:173 Access to an undefined property CRM_Member_Form_Task_PDFLetter::$_fromEmails.
------ -------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/PickProfile.php
------ --------------------------------------------------------------------------------------------
:129 Method CRM_Contact_Form_Task_PickProfile::formRule() should return array but returns true.
------ --------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------
Line CRM/Contact/Form/Task/Print.php
------ ------------------------------------------------------------------
:66 Call to an undefined method CRM_Core_Controller::selectorName().
------ ------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/RemoveFromTag.php
------ --------------------------------------------------------------------------------------
:107 Property CRM_Contact_Form_Task_RemoveFromTag::$_name (string) does not accept array.
------ --------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/SMS.php
------ -----------------------------------------------------------------------------------------------------
:36 Property CRM_Contact_Form_Task_SMS::$_templates (array) does not accept default value of type null.
------ -----------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Contact/Form/Task/SMSCommon.php
------ ---------------------------------------------------------------------
:36 Access to an undefined property CRM_Core_Form::$_single.
:54 Access to an undefined property CRM_Core_Form::$_activityHolderIds.
:87 Access to an undefined property CRM_Core_Form::$_contactIds.
:103 Access to an undefined property CRM_Core_Form::$_contactIds.
:108 Access to an undefined property CRM_Core_Form::$_toContactPhone.
:136 Access to an undefined property CRM_Core_Form::$_contactIds.
:158 Access to an undefined property CRM_Core_Form::$_contactIds.
:159 Access to an undefined property CRM_Core_Form::$_contactDetails.
:166 Access to an undefined property CRM_Core_Form::$_allContactDetails.
:244 Access to an undefined property CRM_Core_Form::$_contactIds.
:346 Access to an undefined property CRM_Core_Form::$_contactIds.
:347 Access to an undefined property CRM_Core_Form::$_toContactPhone.
:365 Access to an undefined property CRM_Core_Form::$_contactDetails.
:366 Access to an undefined property CRM_Core_Form::$_allContactDetails.
:401 Access to an undefined property CRM_Core_Form::$_allContactDetails.
:402 Access to an undefined property CRM_Core_Form::$_allContactDetails.
------ ---------------------------------------------------------------------
------ -----------------------------------------------------------------------------
Line CRM/Contact/Form/Task/SaveSearch.php
------ -----------------------------------------------------------------------------
:36 Property CRM_Contact_Form_Task_SaveSearch::$_id (int) does not accept null.
:116 Call to an undefined method object::addDefaultButtons().
:242 Offset 'parents' on array{} in empty() does not exist.
------ -----------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line CRM/Contact/Form/Task/Useradd.php
------ ----------------------------------------------------------------------------------
:57 Cannot access offset 1 on int<min, -1>|int<1, max>.
:113 Strict comparison using === between int and false will always evaluate to false.
:135 Call to an undefined method CRM_Utils_System_Base::checkUserNameEmailExists().
:137 Variable $errors in empty() always exists and is always falsy.
------ ----------------------------------------------------------------------------------
------ -------------------------------------------------------------------
Line CRM/Contact/Import/Form/MapField.php
------ -------------------------------------------------------------------
:169 Variable $relatedContactType might not be defined.
:186 Variable $relatedContactType might not be defined.
:186 Variable $relatedContactType might not be defined.
:187 Variable $relatedContactType might not be defined.
:190 Variable $relatedContactType might not be defined.
:190 Variable $relatedContactType might not be defined.
:194 Variable $relatedContactType might not be defined.
:195 Variable $relatedContactType might not be defined.
:198 Variable $relatedContactType might not be defined.
:198 Variable $relatedContactType might not be defined.
:199 Variable $relatedContactType might not be defined.
:200 Variable $relatedContactType might not be defined.
:201 Variable $relatedContactType might not be defined.
:204 Variable $relatedContactType might not be defined.
:209 Variable $relatedContactType might not be defined.
:214 Variable $relatedContactType might not be defined.
:279 Variable $key might not be defined.
:295 Call to an undefined method HTML_QuickForm_element::setOptions().
:295 Variable $sel3 might not be defined.
------ -------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Import/Form/Preview.php
------ ------------------------------------------------------------------------------------------------------------------------------------
:212 Negated boolean expression is always false.
:216 Method CRM_Contact_Import_Form_Preview::getParser() should return CRM_Contact_Import_Parser_Contact but returns CRM_Import_Parser.
------ ------------------------------------------------------------------------------------------------------------------------------------
------- -------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Import/Parser/Contact.php
------- -------------------------------------------------------------------------------------------------------------
:372 Method CRM_Contact_Import_Parser_Contact::formatLocationBlock() invoked with 2 parameters, 1 required.
:440 Variable $extends might not be defined.
:776 Variable $defaultLocationId might not be defined.
:807 Variable $primaryLocationType might not be defined.
:811 Variable $defaultLocationId might not be defined.
:1074 Method CRM_Contact_Import_Parser_Contact::formatContactParameters() should return bool but returns array.
:1187 Variable $primary might not be defined.
:1427 PHPDoc tag @param for parameter $relationshipTypeID with type int|null is not subtype of native type int.
:1490 Expression on left side of ?? is not nullable.
:1723 Method CRM_Contact_Import_Parser_Contact::checkStatesForCountry() should return int|null but returns false.
------- -------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line CRM/Contact/Page/AJAX.php
------ -----------------------------------------------------------------------------------------------
:258 Variable $result might not be defined.
:284 Static method CRM_Contact_BAO_GroupNestingCache::json() invoked with 1 parameter, 0 required.
:332 Call to an undefined method CRM_Utils_System_Base::checkUserNameEmailExists().
:334 Offset 'cms_name' on array{} in isset() does not exist.
:334 Offset 'name' on array{} in isset() does not exist.
:334 Result of || is always false.
:450 Variable $sqlParams might not be defined.
:480 Variable $contactType might not be defined.
:610 If condition is always true.
:626 Variable $orderColumnNumber might not be defined.
:631 Variable $dir might not be defined.
:635 Variable $dir might not be defined.
:639 Variable $dir might not be defined.
:643 Variable $dir might not be defined.
:647 Variable $dir might not be defined.
:651 Variable $dir might not be defined.
:655 Variable $dir might not be defined.
:659 Variable $dir might not be defined.
:929 Variable $cId might not be defined.
------ -----------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Page/CustomSearch.php
------ ------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Contact_Page_CustomSearch::$_links (array) does not accept default value of type null.
------ ------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------
Line CRM/Contact/Page/DashBoard.php
------ ------------------------------------------------------------------------
:34 Call to function is_array() with string will always evaluate to false.
------ ------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Page/DedupeFind.php
------ ------------------------------------------------------------------------------------------------------------------------------------------
:38 Method CRM_Contact_Page_DedupeFind::isSelected() should return bool|null but returns int|null.
:54 Method CRM_Contact_Page_DedupeFind::links() should return array but return statement is missing.
:188 Access to an undefined property object::$_cid.
:223 Right side of || is always false.
:257 Parameter #1 $mode (null) of method CRM_Contact_Page_DedupeFind::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Page/DedupeRules.php
------ -------------------------------------------------------------------------------------------------------------------------------------------
:24 Static property CRM_Contact_Page_DedupeRules::$_links (array) does not accept default value of type null.
:149 Offset 'used' does not exist on array{action: string, used_display?: mixed}.
:183 Parameter #1 $mode (null) of method CRM_Contact_Page_DedupeRules::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ -------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line CRM/Contact/Page/Inline/IM.php
------ --------------------------------------------------------------------------------------
:38 Argument of an invalid type true supplied for foreach, only iterables are supported.
:40 Offset 'provider_id' does not exist on array{location_type: mixed}.
------ --------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------
Line CRM/Contact/Page/SavedSearch.php
------ -----------------------------------------------------------------------------------------------------------
:28 Static property CRM_Contact_Page_SavedSearch::$_links (array) does not accept default value of type null.
------ -----------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Contact/Page/View.php
------ ------------------------------------------------------------------------------------------------------
:229 Static method CRM_Contact_BAO_Contact::getDisplayAndImage() invoked with 3 parameters, 1-2 required.
:241 Property CRM_Core_Page::$_permission (string) does not accept null.
:244 Access to an undefined property CRM_Core_Page::$_contactId.
:253 Property CRM_Core_Page::$_permission (string) does not accept int.
:258 Property CRM_Core_Page::$_permission (string) does not accept int.
:262 Property CRM_Core_Page::$_permission (string) does not accept int.
:266 Property CRM_Core_Page::$_permission (string) does not accept int.
------ ------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line CRM/Contact/Page/View/CustomData.php
------ ----------------------------------------------------------------------------------------------
:78 Access to an undefined property CRM_Contact_Page_View_CustomData::$_contactId.
:81 Access to an undefined property CRM_Contact_Page_View_CustomData::$_action.
:88 Access to an undefined property CRM_Contact_Page_View_CustomData::$_multiRecordDisplay.
:90 Access to an undefined property CRM_Contact_Page_View_CustomData::$_contactId.
:93 Access to an undefined property CRM_Contact_Page_View_CustomData::$_multiRecordDisplay.
:95 Access to an undefined property CRM_Contact_Page_View_CustomData::$_contactId.
:103 Access to an undefined property CRM_Contact_Page_View_CustomData::$_contactId.
:109 Access to an undefined property CRM_Profile_Page_MultipleRecordFieldsListing::$_headersOnly.
:114 Access to an undefined property CRM_Contact_Page_View_CustomData::$_contactId.
:115 Access to an undefined property CRM_Contact_Page_View_CustomData::$_contactId.
:117 Access to an undefined property CRM_Contact_Page_View_CustomData::$_multiRecordDisplay.
:120 Access to an undefined property CRM_Contact_Page_View_CustomData::$_contactId.
:121 Access to an undefined property CRM_Contact_Page_View_CustomData::$_cgcount.
:124 Access to an undefined property CRM_Contact_Page_View_CustomData::$_recId.
:129 Access to an undefined property CRM_Contact_Page_View_CustomData::$_contactId.
:133 Access to an undefined property CRM_Contact_Page_View_CustomData::$_contactId.
:140 Access to an undefined property CRM_Contact_Page_View_CustomData::$_action.
:144 Access to an undefined property CRM_Contact_Page_View_CustomData::$_contactId.
:146 Access to an undefined property CRM_Contact_Page_View_CustomData::$_contactId.
:147 Access to an undefined property CRM_Contact_Page_View_CustomData::$_contactId.
------ ----------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Contact/Page/View/GroupContact.php
------ ------------------------------------------------------------------------------------------------------
:24 Access to an undefined property CRM_Contact_Page_View_GroupContact::$_contactId.
:26 Access to an undefined property CRM_Contact_Page_View_GroupContact::$_contactId.
:27 Access to an undefined property CRM_Contact_Page_View_GroupContact::$_contactId.
:28 Access to an undefined property CRM_Contact_Page_View_GroupContact::$_contactId.
:61 Access to an undefined property CRM_Contact_Page_View_GroupContact::$_action.
:71 Access to an undefined property CRM_Contact_Page_View_GroupContact::$_contactId.
:77 Access to an undefined property CRM_Contact_Page_View_GroupContact::$_contactId.
:105 Access to an undefined property CRM_Contact_Page_View_GroupContact::$_contactId.
:108 Access to an undefined property CRM_Contact_Page_View_GroupContact::$_action.
:112 Access to an undefined property CRM_Contact_Page_View_GroupContact::$_contactId.
:118 Method CRM_Contact_Page_View_GroupContact::edit() invoked with 2 parameters, 0-1 required.
:158 Comparison operation "==" between array|int and 1 results in an error.
:158 Variable $groupStatus might not be defined.
:173 Method CRM_Contact_Page_View_GroupContact::del() should return bool but return statement is missing.
:173 Variable $groupStatus might not be defined.
------ ------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------
Line CRM/Contact/Page/View/Log.php
------ ------------------------------------------------------------------------------------------------
:31 Access to an undefined property CRM_Contact_Page_View_Log::$_contactId.
:31 Access to an undefined property CRM_Contact_Page_View_Log::$_contactId.
:38 Access to an undefined property CRM_Contact_Page_View_Log::$_contactId.
:55 Access to an undefined property CRM_Contact_Page_View_Log::$_contactId.
:56 Method CRM_Contact_Page_View_Log::browse() should return null but return statement is missing.
------ ------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------
Line CRM/Contact/Page/View/Note.php
------ --------------------------------------------------------------------------
:35 Access to an undefined property CRM_Contact_Page_View_Note::$_id.
:41 Access to an undefined property CRM_Contact_Page_View_Note::$_id.
:45 Access to an undefined property CRM_Contact_Page_View_Note::$_id.
:56 Access to an undefined property CRM_Contact_Page_View_Note::$_contactId.
:83 Access to an undefined property CRM_Contact_Page_View_Note::$_contactId.
:96 Access to an undefined property object::$id.
:126 Access to an undefined property CRM_Contact_Page_View_Note::$_contactId.
:133 Access to an undefined property CRM_Contact_Page_View_Note::$_action.
:139 Access to an undefined property CRM_Contact_Page_View_Note::$_contactId.
:150 Access to an undefined property CRM_Contact_Page_View_Note::$_contactId.
:151 Access to an undefined property CRM_Contact_Page_View_Note::$_id.
:186 Access to an undefined property CRM_Contact_Page_View_Note::$_action.
:189 Access to an undefined property CRM_Contact_Page_View_Note::$_action.
:199 Access to an undefined property CRM_Contact_Page_View_Note::$_action.
:206 Access to an undefined property CRM_Contact_Page_View_Note::$_action.
:222 Access to an undefined property CRM_Contact_Page_View_Note::$_id.
------ --------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------
Line CRM/Contact/Page/View/Relationship.php
------ ---------------------------------------------------------------------------------------------------------
:26 Property CRM_Contact_Page_View_Relationship::$_caseId (int) does not accept default value of type null.
------ ---------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Page/View/Summary.php
------ ----------------------------------------------------------------------------------------------------------------------------------
:79 Binary operation "&" between string and 2 results in an error.
:363 Access to an undefined property object::$_contactId.
:388 Access to an undefined property object::$_contactId.
:391 Access to an undefined property object::$_contactId.
:490 Offset "\000*\000matchedCount"|"\000Civi\\Api4\\Generic…"|'action'|'debug'|'entity'|'rowCount'|'version' does not exist on
array{location_type_id: 'location_type', provider_id: 'provider', phone_type_id: 'phone_type', website_type_id: 'website_type'}.
------ ----------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------
Line CRM/Contact/Page/View/Tag.php
------ -------------------------------------------------------------------------
:23 Access to an undefined property CRM_Contact_Page_View_Tag::$_action.
:31 Access to an undefined property CRM_Contact_Page_View_Tag::$_contactId.
------ -------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Page/View/UserDashBoard.php
------ ------------------------------------------------------------------------------------------------------------------
:37 Static property CRM_Contact_Page_View_UserDashBoard::$_links (array) does not accept default value of type null.
:253 Variable $userID in empty() is never defined.
:256 Method CRM_Contact_Page_View_UserDashBoard::getUserChecksum() should return string but returns false.
------ ------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Page/View/UserDashBoard/GroupContact.php
------ ---------------------------------------------------------------------------------------------------------------------
:110 Method CRM_Contact_Page_View_UserDashBoard_GroupContact::edit() should return null but return statement is missing.
------ ---------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------
Line CRM/Contact/Page/View/Vcard.php
------ --------------------------------------------------------------------------------------------------------
:44 Class Contact_Vcard_Build does not have a constructor and must be instantiated without any parameters.
------ --------------------------------------------------------------------------------------------------------
------- -------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contact/Selector.php
------- -------------------------------------------------------------------------------------------------------------------------------------------
:32 Static property CRM_Contact_Selector::$_links (array) does not accept default value of type null.
:155 Constructor of class CRM_Contact_Selector has an unused parameter $customSearchClass.
:160 Parameter $action of method CRM_Contact_Selector::__construct() has invalid type const.
:175 Property CRM_Contact_Selector::$_returnProperties (array) does not accept null.
:176 Property CRM_Contact_Selector::$_contextMenu (array) does not accept null.
:177 Access to an undefined property CRM_Contact_Selector::$_context.
:192 Static property CRM_Contact_Selector::$_columnHeaders (array) does not accept null.
:194 Access to an undefined property CRM_Contact_Selector::$_customFields.
:526 Parameter #1 $action (int) of method CRM_Contact_Selector::getTotalCount() should be compatible with parameter $action (string) of method
CRM_Core_Selector_API::getTotalCount()
:653 Access to an undefined property CRM_Contact_Selector::$_context.
:756 Variable $gc might not be defined.
:764 Variable $gc might not be defined.
:838 Access to an undefined property CRM_Contact_Selector::$_context.
:859 Method CRM_Contact_Selector::getRows() should return int but returns array<int|string, mixed>.
:929 Access to an undefined property CRM_Contact_Selector::$_context.
:1000 Access to an undefined property CRM_Contact_Selector::$_context.
:1141 Static property CRM_Contact_Selector::$_columnHeaders (array) in isset() is not nullable.
:1207 Method CRM_Contact_Selector::alphabetQuery() should return CRM_Contact_DAO_Contact but returns CRM_Core_DAO.
:1244 Method CRM_Contact_Selector::contactIDQuery() should return CRM_Contact_DAO_Contact but returns CRM_Core_DAO|string|null.
------- -------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------
Line CRM/Contact/StateMachine/Search.php
------ ----------------------------------------------------------------------------------------------------
:32 Parameter $action of method CRM_Contact_StateMachine_Search::__construct() has invalid type const.
:67 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
:103 Call to function is_array() with string will always evaluate to false.
------ ----------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Contact/Tokens.php
------ --------------------------------------------------------------------------------------------
:247 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:251 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:251 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:252 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:256 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:256 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:256 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:258 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:258 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:260 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:261 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:261 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:263 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:270 Call to method format() on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:271 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:271 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:287 PHPDoc tag @throws with type CRM_Core_Exception|TokenException is not subtype of Throwable
:294 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:294 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:299 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:299 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:301 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:302 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:302 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:302 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:307 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:310 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:312 Call to method format() on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:316 Call to method format() on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
:319 Access to property $context on an unknown class Civi\Token\Event\TokenRow.
πŸ’‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
------ --------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line CRM/Contribute/ActionMapping/ByPage.php
------ -----------------------------------------------------------------------------------
:35 Unsafe usage of new static().
πŸ’‘ See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static
------ -----------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line CRM/Contribute/ActionMapping/ByType.php
------ -----------------------------------------------------------------------------------
:35 Unsafe usage of new static().
πŸ’‘ See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static
------ -----------------------------------------------------------------------------------
------- ---------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/BAO/Contribution.php
------- ---------------------------------------------------------------------------------------------------------------------------------------------
:32 Static property CRM_Contribute_BAO_Contribution::$_importableFields (array) does not accept default value of type null.
:39 Static property CRM_Contribute_BAO_Contribution::$_exportableFields (array) does not accept default value of type null.
:67 Property CRM_Contribute_BAO_Contribution::$_component (string) does not accept default value of type null.
:93 Method CRM_Contribute_BAO_Contribution::add() should return CRM_Contribute_BAO_Contribution but returns null.
:146 Right side of && is always true.
:176 Right side of && is always true.
:238 Method CRM_Contribute_BAO_Contribution::add() should return CRM_Contribute_BAO_Contribution but returns CRM_Core_DAO.
:575 Binary operation "." between non-falsy-string and array results in an error.
:700 Negated boolean expression is always true.
:768 Negated boolean expression is always true.
:922 Method CRM_Contribute_BAO_Contribution::getToFinancialAccount() should return int but returns string|null.
:945 Variable $membershipIDs in empty() always exists and is not falsy.
:1242 Method CRM_Contribute_BAO_Contribution::deleteRecords() should return array<static(CRM_Contribute_BAO_Contribution)> but returns array<int,
CRM_Contribute_BAO_Contribution>.
:1340 Method CRM_Contribute_BAO_Contribution::addPremium() should return CRM_Contribute_DAO_ContributionProduct but returns CRM_Core_DAO.
:1376 Variable $fields might not be defined.
:1575 Method CRM_Contribute_BAO_Contribution::checkDuplicateIds() should return array but returns null.
:1616 Variable $componentSelect might not be defined.
:1624 Variable $additionalClause might not be defined.
:1662 Method CRM_Contribute_BAO_Contribution::createAddress() should return int but returns null.
:1723 Method CRM_Contribute_BAO_Contribution::checkOnlinePendingContribution() should return int but returns null.
:1743 Variable $idName might not be defined.
:1748 Variable $componentTable might not be defined.
:1749 Variable $idName might not be defined.
:1749 Variable $paymentTable might not be defined.
:1759 Variable $source might not be defined.
:1841 Offset 'payment_processor_id' on array{component: mixed} in isset() does not exist.
:1847 Undefined variable: $CRM16923AnUnreliableMethodHasBeenUserToDeterminePaymentProcessorFromContributionPage
:2112 Method CRM_Contribute_BAO_Contribution::contributionCount() should return string|null but returns int.
:2273 Variable $relationshipTypeId might not be defined.
:2402 Undefined variable: $CRM16923AnUnreliableMethodHasBeenUserToDeterminePaymentProcessorFromEvent
:2450 Property CRM_Contribute_DAO_Contribution::$contact_id (int|string) in isset() is not nullable.
:2480 Undefined variable: $CRM16923AnUnreliableMethodHasBeenUserToDeterminePaymentProcessorFromContributionPage
:2524 Method CRM_Contribute_BAO_Contribution::composeMessageArray() should return array but return statement is missing.
:2604 Result of && is always false.
:2604 Strict comparison using === between array and 'Pending' will always evaluate to false.
:2613 Variable $paymentObject might not be defined.
:2618 Variable $entity might not be defined.
:2618 Variable $entityID might not be defined.
:2846 Static method CRM_Utils_Array::value() invoked with 4 parameters, 2-3 required.
:2847 Property CRM_Contribute_DAO_Contribution::$total_amount (float|string) in isset() is not nullable.
:3021 Cannot call method supports() on array|int<min, -1>|int<1, max>|object.
:3046 Method CRM_Contribute_BAO_Contribution::isSubscriptionCancelled() should return string but returns true.
:3048 Method CRM_Contribute_BAO_Contribution::isSubscriptionCancelled() should return string but returns false.
:3087 If condition is always true.
:3363 Method CRM_Contribute_BAO_Contribution::recordFinancialAccounts() should return CRM_Core_BAO_FinancialTrxn|null but returns
CRM_Financial_DAO_FinancialTrxn|false.
:3600 Binary operation "-" between string|null and float results in an error.
:3690 Binary operation "&" between string and 1 results in an error.
:3718 Binary operation "&" between string and 1 results in an error.
:3721 Binary operation "&" between string and 2 results in an error.
:3749 Comparison operation "==" between array|int and 1 results in an error.
:3838 Variable $contributionResult in empty() is never defined.
:4415 Call to an undefined static method CRM_Contribute_DAO_Contribution::assignTestValues().
:4444 Variable $flag might not be defined.
:4621 Static method CRM_Utils_Token::replaceContributionTokens() invoked with 6 parameters, 2-5 required.
:4622 Static method CRM_Utils_Token::replaceContributionTokens() invoked with 6 parameters, 2-5 required.
:4623 Static method CRM_Utils_Token::replaceContributionTokens() invoked with 6 parameters, 2-5 required.
------- ---------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Contribute/BAO/Contribution/Utils.php
------ ------------------------------------------------------------------------------------------------------
:96 Access to an undefined property object::$ctAmt.
:204 Method CRM_Contribute_BAO_Contribution_Utils::formatAmount() should return float but returns string.
------ ------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------
Line CRM/Contribute/BAO/ContributionPage.php
------ ------------------------------------------------------------
:328 Access to an undefined property CRM_Core_Smarty::$_values.
:456 Variable $message might not be defined.
:578 Cannot call method subscriptionURL() on array|int|object.
:581 Cannot call method subscriptionURL() on array|int|object.
:584 Cannot call method subscriptionURL() on array|int|object.
------ ------------------------------------------------------------
------- --------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/BAO/ContributionRecur.php
------- --------------------------------------------------------------------------------------------------------------------
:351 If condition is always false.
:489 Variable $overrides on left side of ?? is never defined.
:824 Variable $pledgeId might not be defined.
:1064 Call to an undefined static method CRM_Contribute_BAO_ContributionRecur::reformatLineItemsForRepeatContribution().
------- --------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------
Line CRM/Contribute/BAO/ContributionSoft.php
------ --------------------------------------------
:432 Ternary operator condition is always true.
:618 Variable $email might not be defined.
:626 Variable $donorName might not be defined.
------ --------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line CRM/Contribute/BAO/FinancialProcessor.php
------ -----------------------------------------------------------------------------------------------