Skip to content

Instantly share code, notes, and snippets.

@braders
Last active January 27, 2023 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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
------ -----------------------------------------------------------------------------------------------
:268 Result of && is always false.
:268 Result of || is always false.
:268 Result of || is always false.
:268 Strict comparison using === between array and 'Partially paid' will always evaluate to false.
:269 Result of && is always false.
:269 Strict comparison using === between array and 'Pending refund' will always evaluate to false.
:272 Result of && is always false.
:272 Result of && is always false.
:272 Strict comparison using === between array and 'Pending' will always evaluate to false.
:282 Result of && is always false.
:282 Result of || is always false.
:282 Strict comparison using === between array and 'Pending' will always evaluate to false.
:283 Strict comparison using === between array and 'In Progress' will always evaluate to false.
:299 Result of && is always false.
:299 Result of || is always false.
:299 Strict comparison using === between array and 'Pending' will always evaluate to false.
:300 Strict comparison using === between array and 'In Progress' will always evaluate to false.
:383 Variable $previousContributionStatus in empty() always exists and is not falsy.
------ -----------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/BAO/Premium.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:36 Method CRM_Contribute_BAO_Premium::retrieve() should return CRM_Contribute_DAO_Product|null but returns static(CRM_Contribute_BAO_Premium)|null.
:80 Property CRM_Contribute_DAO_Premium::$premiums_active (bool|string) does not accept int.
:104 Property CRM_Contribute_DAO_Product::$is_active (bool|string) does not accept int.
:114 Offset mixed does not exist on array{}.
:118 Offset mixed does not exist on array{}.
:130 If condition is always false.
:150 Property CRM_Contribute_DAO_Product::$is_active (bool|string) does not accept int.
:154 Offset mixed does not exist on array{}.
:218 Property CRM_Contribute_DAO_Product::$is_active (bool|string) does not accept int.
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/BAO/Product.php
------ -------------------------------------------------------------------------------------------------------------------------
:23 Static property CRM_Contribute_BAO_Product::$_defaultContributionType (int) does not accept default value of type null.
:43 Method CRM_Contribute_BAO_Product::retrieve() should return CRM_Contribute_BAO_Product but returns null.
------ -------------------------------------------------------------------------------------------------------------------------
------- ----------------------------------------------------------------------------------------
Line CRM/Contribute/BAO/Query.php
------- ----------------------------------------------------------------------------------------
:109 Access to an undefined property object::$_mode.
:110 Access to an undefined property object::$_useDistinct.
:1078 Method CRM_Contribute_BAO_Query::buildDateWhere() should return bool but returns null.
------- ----------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/BAO/Widget.php
------ --------------------------------------------------------------------------------------------------------------------------
:43 Method CRM_Contribute_BAO_Widget::getContributionPageData() should return object but returns array<string, string|true>.
:51 Method CRM_Contribute_BAO_Widget::getContributionPageData() should return object but returns array<string, string|true>.
:85 Cannot access property $money_raised on array<string, bool|string|null>.
:192 Method CRM_Contribute_BAO_Widget::getContributionPageData() should return object but returns array<string, mixed>.
------ --------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------
Line CRM/Contribute/Form.php
------ -----------------------------------------------------------------
:31 Property CRM_Admin_Form::$_id (int) in isset() is not nullable.
:38 Offset 'name' on array{} in empty() does not exist.
:38 Result of && is always false.
:49 Offset 'contact_id' on array{} in empty() does not exist.
:49 Offset 'created_id' on array{} in empty() does not exist.
:49 Result of || is always false.
------ -----------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/AbstractEditPayment.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
:94 Property CRM_Contribute_Form_AbstractEditPayment::$_premiumID (int) does not accept default value of type null.
:99 Property CRM_Contribute_Form_AbstractEditPayment::$_productDAO (CRM_Contribute_DAO_ContributionProduct) does not accept default value of type
null.
:149 Property CRM_Contribute_Form_AbstractEditPayment::$_honorID (int) does not accept default value of type null.
:278 Access to an undefined property object::$entity.
:318 Property CRM_Contribute_Form_AbstractEditPayment::$_online (bool) does not accept int|string|null.
:448 Offset 'pledgePayment' does not exist on array{}.
:449 Offset 'pledgePayment' on array{} on left side of ?? does not exist.
:449 Property CRM_Contribute_Form_AbstractEditPayment::$_pledgeID (int) does not accept null.
:450 Offset 'pledgePayment' on array{} on left side of ?? does not exist.
:451 Access to an undefined property CRM_Contribute_Form_AbstractEditPayment::$_id.
:451 Offset 'pledgePayment' on array{} on left side of ?? does not exist.
:468 Property CRM_Contribute_Form_AbstractEditPayment::$_contactID (int) in isset() is not nullable.
:576 Access to an undefined property CRM_Contribute_Form_AbstractEditPayment::$_params.
:580 Access to an undefined property CRM_Contribute_Form_AbstractEditPayment::$_params.
:592 Property CRM_Contribute_Form_AbstractEditPayment::$_contactID (int) does not accept string.
:639 Access to an undefined property CRM_Contribute_Form_AbstractEditPayment::$_contributorEmail.
:639 Access to an undefined property CRM_Contribute_Form_AbstractEditPayment::$_params.
:648 Access to an undefined property CRM_Contribute_Form_AbstractEditPayment::$_contributorContactID.
:665 Access to an undefined property CRM_Contribute_Form_AbstractEditPayment::$_contributorContactID.
:667 Access to an undefined property CRM_Contribute_Form_AbstractEditPayment::$_contributorContactID.
:668 Access to an undefined property CRM_Contribute_Form_AbstractEditPayment::$_contributorContactID.
:754 Access to an undefined property CRM_Contribute_Form_AbstractEditPayment::$_id.
:757 Access to an undefined property CRM_Contribute_Form_AbstractEditPayment::$_id.
:768 Access to an undefined property CRM_Contribute_Form_AbstractEditPayment::$userDisplayName.
:768 Access to an undefined property CRM_Contribute_Form_AbstractEditPayment::$userEmail.
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Contribute/Form/AdditionalInfo.php
------ ------------------------------------------------------------------------------------
:36 Property CRM_Contribute_DAO_Product::$is_active (bool|string) does not accept int.
:59 Result of || is always true.
:59 Undefined variable: $defaults
:59 Variable $defaults in isset() is never defined.
:64 Call to an undefined method HTML_QuickForm_element::setOptions().
:91 Access to an undefined property CRM_Core_Form::$_online.
:112 Access to an undefined property CRM_Core_Form::$_id.
:125 Access to an undefined property CRM_Core_Form::$_id.
:140 Access to an undefined property CRM_Core_Form::$_id.
:140 Access to an undefined property CRM_Core_Form::$_values.
:226 Variable $ContributionProduct might not be defined.
:227 Variable $ContributionProduct might not be defined.
:371 Access to an undefined property CRM_Core_Form::$_bltID.
:396 Access to an undefined property CRM_Core_Form::$_mode.
:403 Access to an undefined property CRM_Core_Form::$_groupTree.
:450 Access to an undefined property CRM_Core_Form::$_mode.
------ ------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/AdditionalPayment.php
------ ---------------------------------------------------------------------------------------------------------------
:28 Property CRM_Contribute_Form_AdditionalPayment::$_id (int) does not accept default value of type null.
:42 Property CRM_Contribute_Form_AdditionalPayment::$_contactId (int) does not accept default value of type null.
:58 Property CRM_Contribute_Form_AdditionalPayment::$_action (int) does not accept default value of type null.
:88 Static method CRM_Contribute_BAO_Contribution::getPaymentInfo() invoked with 4 parameters, 1-3 required.
:100 Call to an undefined method object::isARefund().
:143 Method CRM_Contribute_Form_AdditionalPayment::setDefaultValues() should return array but returns null.
:304 Access to an undefined property CRM_Contribute_Form_AdditionalPayment::$_params.
:306 Access to an undefined property CRM_Contribute_Form_AdditionalPayment::$_contributorContactID.
:361 Access to an undefined property $this(CRM_Contribute_Form_AdditionalPayment)::$userDisplayName.
:362 Access to an undefined property $this(CRM_Contribute_Form_AdditionalPayment)::$userEmail.
:367 Access to an undefined property CRM_Contribute_Form_AdditionalPayment::$_params.
:367 Access to an undefined property CRM_Contribute_Form_AdditionalPayment::$_params.
:378 Offset 'invoice_id' on array{amount: mixed, amount_level: 0, currencyID: mixed} in empty() does not exist.
:402 Access to an undefined property object::$_contributorEmail.
:460 Static method CRM_Contribute_BAO_Contribution::getPaymentInfo() invoked with 4 parameters, 1-3 required.
:463 Access to an undefined property CRM_Contribute_Form_AdditionalPayment::$_amtPaid.
:464 Access to an undefined property CRM_Contribute_Form_AdditionalPayment::$_amtTotal.
------ ---------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/CancelSubscription.php
------ ---------------------------------------------------------------------------------------------
:90 Negated boolean expression is always false.
:116 Access to an undefined property CRM_Contribute_Form_CancelSubscription::$_donorDisplayName.
:272 Access to an undefined property CRM_Contribute_Form_CancelSubscription::$_donorDisplayName.
------ ---------------------------------------------------------------------------------------------
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/Contribution.php
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
:31 Property CRM_Contribute_Form_Contribution::$_premiumID (int) does not accept default value of type null.
:36 Property CRM_Contribute_Form_Contribution::$_productDAO (CRM_Contribute_DAO_ContributionProduct) does not accept default value of type null.
:247 Call to an undefined method object::assignPaymentInfoBlock().
:248 Call to an undefined method object::assign().
:282 Offset 'is_template' on array{} in isset() does not exist.
:294 Access to an undefined property object::$_compContext.
:295 Call to an undefined method object::assign().
:313 Elseif condition is always false.
:426 Call to an undefined method object::assign().
:444 Result of && is always false.
:445 Strict comparison using === between 'Template' and array will always evaluate to false.
:513 Binary operation "." between 'edit contributions…' and array results in an error.
:587 Property CRM_Contribute_DAO_Product::$is_active (bool|string) does not accept int.
:597 Access to an undefined property object::$_ppID.
:599 Access to an undefined property object::$_paymentProcessors.
:697 Access to an undefined property object::$_action.
:1054 Access to an undefined property CRM_Contribute_Form_Contribution::$_contributorEmail.
:1055 Access to an undefined property CRM_Contribute_Form_Contribution::$_contributorContactID.
:1104 Access to an undefined property object::$userEmail.
:1337 Access to an undefined property CRM_Contribute_Form_Contribution::$_contributionID.
:1344 Variable $contribution might not be defined.
:1347 Variable $contribution might not be defined.
:1350 Right side of && is always true.
:1350 Variable $contribution might not be defined.
:1357 Elseif condition is always true.
:1357 Variable $contribution might not be defined.
:1367 Left side of && is always true.
:1551 Offset mixed does not exist on array{}.
:1850 Method CRM_Contribute_Form_Contribution::submit() should return CRM_Contribute_BAO_Contribution but returns bool|CRM_Contribute_DAO_Contribution.
:1927 Method CRM_Contribute_Form_Contribution::calculateNonDeductibleAmount() should return array but returns int<min, -1>|int<1, max>.
:1951 Method CRM_Contribute_Form_Contribution::calculateNonDeductibleAmount() should return array but returns float|string|null.
:1956 Method CRM_Contribute_Form_Contribution::calculateNonDeductibleAmount() should return array but returns string.
:1964 Unreachable statement - code above always terminates.
:1979 Method CRM_Contribute_Form_Contribution::getFinancialTypeID() should return int but return statement is missing.
:1991 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:2002 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:2007 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
------- -------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/Contribution/Confirm.php
------- -------------------------------------------------------------------------------------------------------------------------------------
:227 Method CRM_Contribute_Form_Contribution_Confirm::getNonDeductibleAmount() should return array but returns int<min, -1>|int<1, max>.
:251 Method CRM_Contribute_Form_Contribution_Confirm::getNonDeductibleAmount() should return array but returns float|string|null.
:256 Method CRM_Contribute_Form_Contribution_Confirm::getNonDeductibleAmount() should return array but returns string.
:273 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
:339 Variable $locType might not be defined.
:365 Negated boolean expression is always true.
:365 Result of || is always true.
:368 Variable $locType might not be defined.
:496 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
:561 Access to an undefined property object::$_membershipBlock.
:568 Call to an undefined method object::buildCustom().
:677 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_currentMemberships.
:716 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_membershipTypeValues.
:793 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_defaultMemTypeId.
:797 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_defaultMemTypeId.
:851 Method CRM_Contribute_Form_Contribution_Confirm::setDefaultValues() should return array but return statement is missing.
:866 Variable $result might not be defined.
:947 Binary operation "+=" between string and int|string|null results in an error.
:951 Binary operation "+=" between string and int|string|null results in an error.
:955 Binary operation "+=" between string and int|string|null results in an error.
:1113 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
:1139 Variable $contribution might not be defined.
:1142 Variable $contribution might not be defined.
:1145 If condition is always true.
:1145 Variable $contribution might not be defined.
:1153 Left side of && is always true.
:1177 If condition is always true.
:1216 Access to an undefined property CRM_Core_Form::$_values.
:1241 Cannot access property $id on string.
:1259 Access to an undefined property CRM_Core_Form::$_params.
:1393 Access to an undefined property CRM_Core_Form::$_pcpId.
:1550 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
:1556 Cannot access property $id on array.
:1557 Cannot access property $total_amount on array.
:1592 Variable $priceSetID might not be defined.
:1592 Variable $priceSetID might not be defined.
:1593 Variable $priceSetID might not be defined.
:1611 Property CRM_Contribute_Form_ContributionBase::$_params (array) in isset() is not nullable.
:1626 Property CRM_Contribute_Form_ContributionBase::$_contributeMode (string) in isset() is not nullable.
:1626 Result of || is always true.
:1804 Variable $message might not be defined.
:1859 Variable $paymentParams in empty() is never defined.
:2068 Property CRM_Contribute_Form_ContributionBase::$_useForMember (bool) does not accept int.
:2072 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
:2077 Property CRM_Contribute_Form_ContributionBase::$_useForMember (bool) does not accept int.
:2365 Method CRM_Contribute_Form_Contribution_Confirm::processFormSubmission() should return array but return statement is missing.
:2366 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
:2377 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
:2554 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
:2649 Access to an undefined property CRM_Core_Form::$_amount.
:2792 Access to an undefined property CRM_Contribute_Form_Contribution_Confirm::$_lineItem.
:2850 Variable $contribution might not be defined.
:3021 Left side of || is always false.
:3087 Variable $modifiedID on left side of ?? always exists and is not nullable.
------- -------------------------------------------------------------------------------------------------------------------------------------
------- ----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/Contribution/Main.php
------- ----------------------------------------------------------------------------------------------------------------------------------------------
:209 Access to an undefined property CRM_Contribute_Form_Contribution_Main::$_honoreeProfileId.
:280 Access to an undefined property object::$_defaults.
:287 Access to an undefined property object::$_defaults.
:298 Access to an undefined property object::$_defaults.
:346 Access to an undefined property object::$_bltID.
:346 Call to an undefined method object::addElement().
:347 Call to an undefined method object::add().
:382 Call to an undefined method object::add().
:384 Call to an undefined method object::set().
:443 Variable $profileID might not be defined.
:481 Access to an undefined property object|object::$_paymentProcessors.
:501 Access to an undefined property object|object::$submitOnce.
:507 Call to an undefined method object|object::addButtons().
:510 Call to an undefined method object|object::addFormRule().
:530 Access to an undefined property CRM_Contribute_Form_Contribution_Main::$_currentMemberships.
:611 Call to function is_null() with bool will always evaluate to false.
:662 Left side of && is always true.
:678 Result of || is always true.
:702 Access to an undefined property CRM_Core_Form::$_values.
:703 Access to an undefined property CRM_Core_Form::$_values.
:768 Variable $unit might not be defined.
:834 Access to an undefined property CRM_Contribute_Form_Contribution_Main::$_quickConfig.
:907 Access to an undefined property CRM_Contribute_Form_Contribution_Main::$_quickConfig.
:938 Variable $membershipOrgDetails might not be defined.
:938 Variable $unallowedOrgs might not be defined.
:1016 Access to an undefined property CRM_Contribute_Form_Contribution_Main::$_expressButtonName.
:1016 Access to an undefined property CRM_Contribute_Form_Contribution_Main::$_expressButtonName.
:1017 Access to an undefined property CRM_Contribute_Form_Contribution_Main::$_expressButtonName.
:1083 Variable $fielse in empty() is never defined.
:1190 Left side of && is always true.
:1257 Access to an undefined property CRM_Contribute_Form_Contribution_Main::$_lineItem.
:1280 Offset mixed does not exist on array{}.
:1283 Offset mixed does not exist on array{}.
:1289 Offset 'tax_amount' on array{unit_price: (float|int<min, -1>|int<1, max>), line_total: (float|int<min, -1>|int<1, max>)} in isset() does not
exist.
:1348 Left side of && is always true.
:1431 Access to an undefined property CRM_Contribute_Form_Contribution_Main::$_pendingAmount.
:1450 Access to an undefined property CRM_Contribute_Form_Contribution_Main::$_lineItem.
:1453 Access to an undefined property CRM_Contribute_Form_Contribution_Main::$_lineItem.
------- ----------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/Contribution/ThankYou.php
------ ----------------------------------------------------------------------------------------------------
:42 Access to an undefined property CRM_Contribute_Form_Contribution_ThankYou::$_lineItem.
:133 Call to an undefined method object::assign().
:138 Call to an undefined method object::buildCustom().
:149 Call to an undefined method object::assign().
:157 Call to an undefined method object::assign().
:200 Access to an undefined property object::$_membershipBlock.
:207 Call to an undefined method object::buildCustom().
:274 Variable $subUrl might not be defined.
:279 Variable $subUrl might not be defined.
:309 Method CRM_Contribute_Form_Contribution_ThankYou::buildMembershipBlock() is unused.
:312 Access to an undefined property CRM_Contribute_Form_Contribution_ThankYou::$_currentMemberships.
:351 Access to an undefined property CRM_Contribute_Form_Contribution_ThankYou::$_membershipTypeValues.
:418 Access to an undefined property CRM_Contribute_Form_Contribution_ThankYou::$_defaultMemTypeId.
:422 Access to an undefined property CRM_Contribute_Form_Contribution_ThankYou::$_defaultMemTypeId.
------ ----------------------------------------------------------------------------------------------------
------- ----------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/ContributionBase.php
------- ----------------------------------------------------------------------------------------------------------------------
:67 Property CRM_Contribute_Form_ContributionBase::$_membershipBlock (array) does not accept default value of type null.
:317 Binary operation "." between 'add contributions…' and array results in an error.
:317 Offset 'financial_type_id' does not exist on array{}.
:321 Offset 'is_active' on array{} in empty() does not exist.
:325 Unreachable statement - code above always terminates.
:425 Call to an undefined method object::assign().
:472 Access to an undefined property object::$_isBillingAddressRequiredForPayLater.
:473 Call to an undefined method object::assign().
:498 Access to an undefined property CRM_Core_Form::$_id.
:498 Access to an undefined property CRM_Core_Form::$_values.
:505 Access to an undefined property CRM_Core_Form::$_priceSetId.
:507 Access to an undefined property CRM_Core_Form::$_priceSet.
:508 Access to an undefined property CRM_Core_Form::$_values.
:677 Variable $profileContactType in empty() always exists and is always falsy.
:685 Result of && is always false.
:685 Variable $profileContactType in empty() always exists and is always falsy.
:856 Call to an undefined method object::assign().
:865 Call to an undefined method object::addRadio().
:865 Variable $honorTypes might not be defined.
:874 Call to an undefined method object::assign().
:897 Access to an undefined property object::$_id.
:937 Call to an undefined method object::assign().
:940 Call to an undefined method object::add().
:946 Call to an undefined method object::addRadio().
:947 Call to an undefined method object::setDefaults().
:951 Call to an undefined method object::assign().
:955 Call to an undefined method object::assign().
:958 Call to an undefined method object::addElement().
:972 Call to an undefined method object::assign().
:975 Call to an undefined method object::assign().
:977 Call to an undefined method object::assign().
:1246 Property CRM_Contribute_Form_ContributionBase::$_membershipBlock (array) in isset() is not nullable.
------- ----------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/ContributionCharts.php
------ -------------------------------------------------------------------------------------------------------------------
:24 Property CRM_Contribute_Form_ContributionCharts::$_year (int) does not accept default value of type null.
:31 Property CRM_Contribute_Form_ContributionCharts::$_chartType (string) does not accept default value of type null.
:121 Access to an undefined property CRM_Contribute_Form_ContributionCharts::$_years.
:174 Elseif condition is always true.
:177 Binary operation "+" between string and 1 results in an error.
:185 If condition is always true.
:216 Variable $chartData on left side of ?? always exists and is not nullable.
------ -------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/ContributionPage.php
------ ---------------------------------------------------------------------------------------------------------------
:63 Property CRM_Contribute_Form_ContributionPage::$_priceSetID (int) does not accept default value of type null.
:114 Variable $title might not be defined.
:117 Variable $title might not be defined.
:120 Variable $title might not be defined.
:138 Binary operation "." between 'edit contributions…' and array results in an error.
:159 Access to an undefined property CRM_Contribute_Form_ContributionPage::$_cancelURL.
:229 Property CRM_Member_DAO_MembershipBlock::$is_active (bool|string) does not accept int.
:256 Property CRM_Contribute_Form_ContributionPage::$_id (int) in isset() is not nullable.
:265 Property CRM_Contribute_Form_ContributionPage::$_id (int) in isset() is not nullable.
:418 Method CRM_Core_Controller::getButtonName() invoked with 1 parameter, 0 required.
:423 Method CRM_Core_Controller::getButtonName() invoked with 1 parameter, 0 required.
------ ---------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------
Line CRM/Contribute/Form/ContributionPage/Amount.php
------ ----------------------------------------------------------------------------------------
:246 Left side of && is always true.
:309 Property CRM_Member_DAO_MembershipBlock::$is_active (bool|string) does not accept int.
:402 Negated boolean expression is always true.
------ ----------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/ContributionPage/Premium.php
------ ------------------------------------------------------------------------------------------
:36 Property CRM_Contribute_Form_ContributionPage::$_id (int) in isset() is not nullable.
:78 Property CRM_Contribute_DAO_Premium::$premiums_active (bool|string) does not accept int.
------ ------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line CRM/Contribute/Form/ContributionPage/Settings.php
------ -----------------------------------------------------------------------------------
:209 Call to an undefined method object::addRule().
:210 Call to an undefined method object::addRule().
:397 Method CRM_Core_Controller::getButtonName() invoked with 1 parameter, 0 required.
------ -----------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/ContributionPage/Widget.php
------ ---------------------------------------------------------------------------------------------------
:51 Access to an undefined property CRM_Contribute_Form_ContributionPage_Widget::$_fields.
:72 Access to an undefined property CRM_Contribute_Form_ContributionPage_Widget::$_colorFields.
:140 Access to an undefined property CRM_Contribute_Form_ContributionPage_Widget::$_fields.
:143 Access to an undefined property CRM_Contribute_Form_ContributionPage_Widget::$_colorFields.
:170 Access to an undefined property CRM_Contribute_Form_ContributionPage_Widget::$_fields.
:178 Access to an undefined property CRM_Contribute_Form_ContributionPage_Widget::$_colorFields.
:190 Access to an undefined property CRM_Contribute_Form_ContributionPage_Widget::$_refreshButtonName.
:224 Access to an undefined property CRM_Contribute_Form_ContributionPage_Widget::$_colorFields.
:252 Access to an undefined property CRM_Contribute_Form_ContributionPage_Widget::$_refreshButtonName.
------ ---------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/ContributionRecur.php
------ --------------------------------------------------------------------------------------------------------------------------------------
:30 Property CRM_Contribute_Form_ContributionRecur::$_coid (int) does not accept default value of type null.
:37 Property CRM_Contribute_Form_ContributionRecur::$_crid (int) does not accept default value of type null.
:47 Property CRM_Contribute_Form_ContributionRecur::$contributionRecurID (int) does not accept default value of type null.
:54 Property CRM_Contribute_Form_ContributionRecur::$_mid (int) does not accept default value of type null.
:61 Property CRM_Contribute_Form_ContributionRecur::$_paymentProcessorObj (CRM_Core_Payment) does not accept default value of type null.
:92 Property CRM_Contribute_Form_ContributionRecur::$subscriptionDetails (CRM_Core_DAO) does not accept default value of type array.
:158 Cannot call method getPaymentProcessor() on array|int|object.
:167 Access to an undefined property CRM_Contribute_Form_ContributionRecur::$_subscriptionDetails.
:170 Access to an undefined property CRM_Contribute_Form_ContributionRecur::$_subscriptionDetails.
:176 Access to an undefined property CRM_Contribute_Form_ContributionRecur::$_subscriptionDetails.
------ --------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------
Line CRM/Contribute/Form/ContributionView.php
------ -------------------------------------------
:157 Variable $productID might not be defined.
------ -------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/Search.php
------ -------------------------------------------------------------------------------------------------
:42 Property CRM_Contribute_Form_Search::$_limit (bool) does not accept default value of type null.
:73 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:332 Call to an undefined method CRM_Core_StateMachine::getTaskFormName().
------ -------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/SoftCredit.php
------ ----------------------------------------------------------------------------------------------------------------------
:34 Access to an undefined property CRM_Core_Form::$_id.
:48 Variable $honorTypes might not be defined.
:55 Access to an undefined property CRM_Core_Form::$_softCreditItemCount.
:59 Access to an undefined property CRM_Core_Form::$_id.
:59 Access to an undefined property CRM_Core_Form::$_softCreditInfo.
:69 Access to an undefined property CRM_Core_Form::$_softCreditInfo.
:102 Method CRM_Contribute_Form_SoftCredit::buildQuickForm() should return CRM_Core_Form but return statement is missing.
:196 Access to an undefined property CRM_Contribute_Form_SoftCredit::$_action.
------ ----------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/Task/Batch.php
------ -----------------------------------------------------------------------------------------------------------------
:78 Access to an undefined property CRM_Contribute_Form_Task_Batch::$_fields.
:118 Access to an undefined property CRM_Contribute_Form_Task_Batch::$_componentCampaigns.
:178 Method CRM_Contribute_Form_Task_Batch::setDefaultValues() should return array but empty return statement found.
------ -----------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------
Line CRM/Contribute/Form/Task/Delete.php
------ -----------------------------------------------------------------------
:52 Binary operation "." between 'delete…' and array results in an error.
:59 Binary operation "." between 'delete…' and array results in an error.
------ -----------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/Task/Invoice.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
:141 Access to an undefined property CRM_Contribute_Form_Task_Invoice::$_fromEmails.
:367 Variable $title might not be defined.
:447 Ternary operator condition is always true.
:515 Offset 'cc_confirm' on array{}|array{cc_receipt?: string, subject?: mixed}|array{title: mixed, confirm_from_name: mixed, confirm_from_email:
mixed, cc_receipt?: string, subject?: mixed}|array{title: mixed, receipt_from_name: mixed, receipt_from_email: mixed, cc_receipt: mixed,
bcc_receipt?: mixed, subject?: mixed} on left side of ?? does not exist.
:516 Offset 'bcc_confirm' on array{}|array{cc_receipt?: string, subject?: mixed}|array{title: mixed, confirm_from_name: mixed, confirm_from_email:
mixed, cc_receipt?: string, subject?: mixed}|array{title: mixed, receipt_from_name: mixed, receipt_from_email: mixed, cc_receipt: mixed,
bcc_receipt?: mixed, subject?: mixed} on left side of ?? does not exist.
:528 Variable $html might not be defined.
:531 Variable $pdfFileName might not be defined.
:533 Variable $html might not be defined.
:533 Variable $pdfFileName might not be defined.
:534 Variable $subject might not be defined.
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------
Line CRM/Contribute/Form/Task/PDF.php
------ -----------------------------------------------------------------------------
:98 Access to an undefined property CRM_Contribute_Form_Task_PDF::$_fromEmails.
------ -----------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/Task/PDFLetter.php
------ --------------------------------------------------------------------------------------------------------------
:32 Property CRM_Contribute_Form_Task_PDFLetter::$_templates (array) does not accept default value of type null.
:42 Access to an undefined property CRM_Contribute_Form_Task_PDFLetter::$skipDeceased.
:42 Access to an undefined property CRM_Contribute_Form_Task_PDFLetter::$skipOnHold.
:84 Access to an undefined property CRM_Contribute_Form_Task_PDFLetter::$_fromEmails.
------ --------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/Task/PickProfile.php
------ -----------------------------------------------------------------------------------------------
:107 Method CRM_Contribute_Form_Task_PickProfile::formRule() should return array but returns true.
------ -----------------------------------------------------------------------------------------------
------ --------------------------------------------------------
Line CRM/Contribute/Form/Task/Status.php
------ --------------------------------------------------------
:202 Access to an undefined property CRM_Core_Form::$_rows.
------ --------------------------------------------------------
------ ------------------------------------------------------------------------------
Line CRM/Contribute/Form/UpdateBilling.php
------ ------------------------------------------------------------------------------
:56 Negated boolean expression is always false.
:111 Offset non-falsy-string on array{} in empty() does not exist.
:111 Result of && is always false.
:112 Offset 'email-Primary' on array{} in empty() does not exist.
:118 Offset non-falsy-string on array{} in empty() does not exist.
:126 Offset non-falsy-string on array{} in empty() does not exist.
:173 Access to an undefined property CRM_Core_Form::$_fields.
:176 Access to an undefined property CRM_Core_Form::$_paymentProcessor.
:189 Access to an undefined property CRM_Contribute_Form_UpdateBilling::$_fields.
:346 Variable $msgTitle might not be defined.
:346 Variable $msgType might not be defined.
------ ------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Form/UpdateSubscription.php
------ ---------------------------------------------------------------------------------------------------------------------------------------
:30 Property CRM_Contribute_Form_UpdateSubscription::$_paymentProcessor (array) does not accept default value of type null.
:32 Property CRM_Contribute_Form_UpdateSubscription::$_paymentProcessorObj (CRM_Core_Payment) does not accept default value of type null.
:82 Variable $values might not be defined.
:172 Access to an undefined property CRM_Contribute_Form_UpdateSubscription::$_donorEmail.
:216 Access to an undefined property CRM_Contribute_Form_UpdateSubscription::$_donorEmail.
:230 Call to an undefined method CRM_Core_Payment::changeSubscriptionAmount().
:321 Variable $status might not be defined.
:322 Variable $msgTitle might not be defined.
:322 Variable $msgType might not be defined.
:325 Variable $status might not be defined.
------ ---------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Import/Form/DataSource.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:59 Negated boolean expression is always false.
:64 Method CRM_Contribute_Import_Form_DataSource::getParser() should return CRM_Contribute_Import_Parser_Contribution but returns CRM_Import_Parser.
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Import/Form/MapField.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------
:95 Call to an undefined method HTML_QuickForm_element::setOptions().
:191 Negated boolean expression is always false.
:196 Method CRM_Contribute_Import_Form_MapField::getParser() should return CRM_Contribute_Import_Parser_Contribution but returns CRM_Import_Parser.
:246 PHPDoc tag @return with type string|false is not subtype of native type string|null.
------ ------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Import/Form/Preview.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
:27 Negated boolean expression is always false.
:32 Method CRM_Contribute_Import_Form_Preview::getParser() should return CRM_Contribute_Import_Parser_Contribution but returns CRM_Import_Parser.
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------
Line CRM/Contribute/Import/Parser/Contribution.php
------ -----------------------------------------------
:614 If condition is always true.
------ -----------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Page/ContributionPage.php
------ ----------------------------------------------------------------------------------------------------------------------
:44 Property CRM_Contribute_Page_ContributionPage::$_pager (CRM_Utils_Pager) does not accept default value of type null.
:58 Static property CRM_Contribute_Page_ContributionPage::$_actionLinks (array) in isset() is not nullable.
:593 Variable $type might not be defined.
------ ----------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------
Line CRM/Contribute/Page/ContributionRecur.php
------ ---------------------------------------------------
:54 Variable $contributionRecur might not be defined.
------ ---------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Page/ContributionRecurPayments.php
------ ----------------------------------------------------------------------------------------------------------------------
:13 Property CRM_Contribute_Page_ContributionRecurPayments::$id (int) does not accept default value of type null.
:20 Property CRM_Contribute_Page_ContributionRecurPayments::$contactId (int) does not accept default value of type null.
:40 Method CRM_Contribute_Page_ContributionRecurPayments::loadRelatedContributions() is unused.
------ ----------------------------------------------------------------------------------------------------------------------
------ -------------------------------------
Line CRM/Contribute/Page/DashBoard.php
------ -------------------------------------
:46 Undefined variable: $yearDate
:58 Variable $now might not be defined.
:63 Variable $now might not be defined.
------ -------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Page/ManagePremiums.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Contribute_Page_ManagePremiums::$_links (array) does not accept default value of type null.
:139 Access to an undefined property object::$id.
:173 Parameter #1 $mode (null) of method CRM_Contribute_Page_ManagePremiums::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ -------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Page/PaymentInfo.php
------ ----------------------------------------------------------------------------------------------------------
:33 Access to an undefined property CRM_Contribute_Page_PaymentInfo::$_context.
:34 Access to an undefined property CRM_Contribute_Page_PaymentInfo::$_component.
:34 Access to an undefined property CRM_Contribute_Page_PaymentInfo::$_id.
:34 Static method CRM_Contribute_BAO_Contribution::getPaymentInfo() invoked with 4 parameters, 1-3 required.
:35 Access to an undefined property CRM_Contribute_Page_PaymentInfo::$_context.
:51 Access to an undefined property CRM_Contribute_Page_PaymentInfo::$_action.
------ ----------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Page/Premium.php
------ ------------------------------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Contribute_Page_Premium::$_links (array) does not accept default value of type null.
:136 Property CRM_Contribute_DAO_Product::$is_active (bool|string) does not accept int.
:204 Parameter #1 $mode (null) of method CRM_Contribute_Page_Premium::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Contribute/Page/Tab.php
------ -----------------------------------------------------------------------------------------------------
:24 Property CRM_Contribute_Page_Tab::$_permission (string) does not accept default value of type null.
:30 Property CRM_Contribute_Page_Tab::$_contactId (int) does not accept default value of type null.
:36 Property CRM_Contribute_Page_Tab::$_crid (int) does not accept default value of type null.
:209 Access to an undefined property CRM_Contribute_Page_Tab::$_action.
:267 Access to an undefined property CRM_Contribute_Page_Tab::$_action.
:377 Access to an undefined property CRM_Contribute_Page_Tab::$_action.
:380 Access to an undefined property CRM_Contribute_Page_Tab::$_id.
:459 Access to an undefined property CRM_Contribute_Page_Tab::$_action.
:462 Access to an undefined property CRM_Contribute_Page_Tab::$_action.
------ -----------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Contribute/Page/UserDashboard.php
------ --------------------------------------------------------------------------------------------
:83 Property CRM_Contribute_DAO_ContributionRecur::$is_test (bool|string) does not accept int.
------ --------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/PseudoConstant.php
------ ----------------------------------------------------------------------------------------------------------------------------
:41 Static property CRM_Contribute_PseudoConstant::$contributionPageActive (array) does not accept default value of type null.
:47 Static property CRM_Contribute_PseudoConstant::$contributionPageAll (array) does not accept default value of type null.
:243 Property CRM_Contribute_DAO_Product::$is_active (bool|string) does not accept int.
:363 Method CRM_Contribute_PseudoConstant::getRelationalFinancialAccount() should return int but returns null.
------ ----------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/Selector/Search.php
------ ----------------------------------------------------------------------------------------------------------------------
:27 Static property CRM_Contribute_Selector_Search::$_links (array) does not accept default value of type null.
:80 Property CRM_Contribute_Selector_Search::$_limit (bool) does not accept default value of type null.
:87 Property CRM_Contribute_Selector_Search::$_context (string) does not accept default value of type null.
:94 Property CRM_Contribute_Selector_Search::$_compContext (string) does not accept default value of type null.
:116 Property CRM_Contribute_Selector_Search::$_contributionClause (string) does not accept default value of type null.
:147 Parameter $action of method CRM_Contribute_Selector_Search::__construct() has invalid type const.
:159 Property CRM_Contribute_Selector_Search::$_limit (bool) does not accept int|null.
:161 Property CRM_Contribute_Selector_Search::$_compContext (string) does not accept null.
:268 Method CRM_Contribute_Selector_Search::getTotalCount() should return int but returns CRM_Core_DAO|string|null.
:296 Cannot call method orderBy() on string.
:353 Variable $componentAction might not be defined.
:365 Binary operation "." between 'view contributions…' and array results in an error.
:369 Binary operation "." between 'edit contributions…' and array results in an error.
:372 Binary operation "." between 'delete…' and array results in an error.
:379 Binary operation "." between 'edit contributions…' and array results in an error.
:382 Binary operation "." between 'delete…' and array results in an error.
:473 Method CRM_Contribute_Selector_Search::getRows() should return int but returns array<int, array<int|string, mixed>>.
------ ----------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/StateMachine/Contribution.php
------ -------------------------------------------------------------------------------------------------------------
:32 Parameter $action of method CRM_Contribute_StateMachine_Contribution::__construct() has invalid type const.
:41 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ -------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/StateMachine/ContributionPage.php
------ -----------------------------------------------------------------------------------------------------------------
:31 Parameter $action of method CRM_Contribute_StateMachine_ContributionPage::__construct() has invalid type const.
:53 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ -----------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------
Line CRM/Contribute/StateMachine/Search.php
------ -------------------------------------------------------------------------------------------------------
:32 Parameter $action of method CRM_Contribute_StateMachine_Search::__construct() has invalid type const.
:52 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ -------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/WorkflowMessage/ContributionTrait.php (in context of class CRM_Contribute_WorkflowMessage_ContributionInvoiceReceipt)
------ --------------------------------------------------------------------------------------------------------------------------------------------
:67 Method CRM_Contribute_WorkflowMessage_ContributionInvoiceReceipt::getOrder() never returns null so it can be removed from the return type.
:68 Negated boolean expression is always false.
:68 Result of && is always false.
:92 Property CRM_Contribute_WorkflowMessage_ContributionInvoiceReceipt::$isShowLineItems (bool) in isset() is not nullable.
:96 Unreachable statement - code above always terminates.
:112 Property CRM_Contribute_WorkflowMessage_ContributionInvoiceReceipt::$lineItems (array) in isset() is not nullable.
:115 Unreachable statement - code above always terminates.
:131 Property CRM_Contribute_WorkflowMessage_ContributionInvoiceReceipt::$taxRateBreakdown (array) in isset() is not nullable.
:134 Unreachable statement - code above always terminates.
------ --------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/WorkflowMessage/ContributionTrait.php (in context of class CRM_Contribute_WorkflowMessage_ContributionOfflineReceipt)
------ --------------------------------------------------------------------------------------------------------------------------------------------
:67 Method CRM_Contribute_WorkflowMessage_ContributionOfflineReceipt::getOrder() never returns null so it can be removed from the return type.
:68 Negated boolean expression is always false.
:68 Result of && is always false.
:92 Property CRM_Contribute_WorkflowMessage_ContributionOfflineReceipt::$isShowLineItems (bool) in isset() is not nullable.
:96 Unreachable statement - code above always terminates.
:112 Property CRM_Contribute_WorkflowMessage_ContributionOfflineReceipt::$lineItems (array) in isset() is not nullable.
:115 Unreachable statement - code above always terminates.
:131 Property CRM_Contribute_WorkflowMessage_ContributionOfflineReceipt::$taxRateBreakdown (array) in isset() is not nullable.
:134 Unreachable statement - code above always terminates.
------ --------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Contribute/WorkflowMessage/ContributionTrait.php (in context of class CRM_Contribute_WorkflowMessage_ContributionOnlineReceipt)
------ -------------------------------------------------------------------------------------------------------------------------------------------
:67 Method CRM_Contribute_WorkflowMessage_ContributionOnlineReceipt::getOrder() never returns null so it can be removed from the return type.
:68 Negated boolean expression is always false.
:68 Result of && is always false.
:92 Property CRM_Contribute_WorkflowMessage_ContributionOnlineReceipt::$isShowLineItems (bool) in isset() is not nullable.
:96 Unreachable statement - code above always terminates.
:112 Property CRM_Contribute_WorkflowMessage_ContributionOnlineReceipt::$lineItems (array) in isset() is not nullable.
:115 Unreachable statement - code above always terminates.
:131 Property CRM_Contribute_WorkflowMessage_ContributionOnlineReceipt::$taxRateBreakdown (array) in isset() is not nullable.
:134 Unreachable statement - code above always terminates.
------ -------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------
Line CRM/Contribute/WorkflowMessage/RecurringEdit/BarbPending.php
------ --------------------------------------------------------------------------------------------------
:15 Call to an undefined method CRM_Contribute_WorkflowMessage_RecurringEdit::setReceiptFromEmail().
------ --------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Core/Action.php
------ ------------------------------------------------------------------------------------
:156 Static property CRM_Core_Action::$_description (array) in isset() is not nullable.
:203 Method CRM_Core_Action::formLink() should return string but returns null.
:376 Variable $str on left side of ?? always exists and is not nullable.
:392 Method CRM_Core_Action::mask() should return int but returns null.
------ ------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line CRM/Core/BAO/ActionSchedule.php
------ --------------------------------------------------------------------------------------
:41 Call to method getMappings() on an unknown class Civi\Core\Event.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:243 Property CRM_Core_DAO_ActionSchedule::$mapping_id (string|null) does not accept int.
:244 Property CRM_Core_DAO_ActionSchedule::$is_active (bool|string) does not accept int.
:328 Property CRM_Core_DAO_ActionSchedule::$is_active (bool|string) does not accept int.
------ --------------------------------------------------------------------------------------
------- ------------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/Address.php
------- ------------------------------------------------------------------------------------------------------------
:384 Method CRM_Core_BAO_Address::getValues() should return array but returns null.
:433 Access to an undefined property object::$state.
:434 Access to an undefined property object::$state_name.
:440 Access to an undefined property object::$country.
:520 Method CRM_Core_BAO_Address::allAddress() should return array but returns null.
:857 Method CRM_Core_BAO_Address::checkContactSharedAddress() should return int but returns string|null.
:1059 Variable $processedNames might not be defined.
:1067 Variable $processedNames might not be defined.
:1109 Result of static method CRM_Contact_BAO_Contact_Utils::createCurrentEmployerRelationship() (void) is used.
:1313 Call to static method format() on an unknown class CRM_Utils_Geocode.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------- ------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------
Line CRM/Core/BAO/Block.php
------ ------------------------------------------------------------------------------
:46 Method CRM_Core_BAO_Block::getValues() should return array but returns null.
:179 Result of && is always false.
:179 Variable $entityElements in empty() always exists and is always falsy.
:254 Negated boolean expression is always true.
:310 Cannot access offset 'id' on int.
------ ------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------
Line CRM/Core/BAO/CMSUser.php
------ ---------------------------------------------------------------------------------------
:70 Parameter $action of method CRM_Core_BAO_CMSUser::buildForm() has invalid type const.
:90 Negated boolean expression is always true.
:94 Variable $isCMSUser might not be defined.
:204 Call to an undefined method CRM_Utils_System_Base::checkUserNameEmailExists().
:204 Variable $params might not be defined.
:206 Variable $errors in empty() always exists and is always falsy.
------ ---------------------------------------------------------------------------------------
------ --------------------------------------------
Line CRM/Core/BAO/Cache.php
------ --------------------------------------------
:246 Ternary operator condition is always true.
------ --------------------------------------------
------ ----------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/ConfigSetting.php
------ ----------------------------------------------------------------------------------------------------
:85 Right side of && is always false.
:106 Method CRM_Core_BAO_ConfigSetting::retrieve() should return array but returns false.
:116 Method CRM_Core_BAO_ConfigSetting::retrieve() should return array but return statement is missing.
:289 Function db_query invoked with 1 parameter, 3 required.
------ ----------------------------------------------------------------------------------------------------
------- -----------------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/CustomField.php
------- -----------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Core_BAO_CustomField::$_importFields (array) does not accept default value of type null.
:694 Method CRM_Core_BAO_CustomField::getKeyID() should return int|null but returns string.
:697 Method CRM_Core_BAO_CustomField::getKeyID() should return int|null but returns array<int, mixed>.
:703 Method CRM_Core_BAO_CustomField::getKeyID() should return int|null but returns array<int, null>|null.
:887 Variable $options might not be defined.
:896 Variable $options might not be defined.
:898 Variable $options might not be defined.
:915 Variable $options might not be defined.
:925 Call to method setAttribute() on an unknown class HTML_QuickForm_group.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:943 Negated boolean expression is always true.
:1036 Call to method setAttribute() on an unknown class HTML_QuickForm_group.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:1188 Unreachable statement - code above always terminates.
:1277 Variable $disp might not be defined.
:1284 Variable $disp might not be defined.
:1390 Method CRM_Core_BAO_CustomField::getFileURL() should return array but return statement is missing.
:1600 Static method CRM_Utils_Date::processDate() invoked with 5 parameters, 1-4 required.
:1630 Method CRM_Core_BAO_CustomField::formatCustomField() should return array|null but empty return statement found.
:1651 Method CRM_Core_BAO_CustomField::formatCustomField() should return array|null but empty return statement found.
:1658 Variable $fName might not be defined.
:1662 Variable $fName might not be defined.
:1682 Variable $mimeType might not be defined.
:1820 Method CRM_Core_BAO_CustomField::getAlterFieldSQL() should return bool but returns string.
:1941 Unreachable statement - code above always terminates.
:1993 Property CRM_Core_DAO_OptionValue::$value (string) does not accept int.
:1997 Property CRM_Core_DAO_OptionValue::$value (string) does not accept float.
:2454 Cannot access offset 0 on int<min, -1>|int<1, max>.
:2458 Cannot access offset 1 on int<min, -1>|int<1, max>.
------- -----------------------------------------------------------------------------------------------------------------
------- ---------------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/CustomGroup.php
------- ---------------------------------------------------------------------------------------------------------------
:170 Property CRM_Core_DAO_CustomGroup::$is_reserved (bool|string) does not accept int.
:611 Variable $multipleFieldGroups might not be defined.
:711 Method CRM_Core_BAO_CustomGroup::customGroupDataExistsForEntity() should return bool but returns string|null.
:918 Variable $customValue might not be defined.
:921 Variable $customValue might not be defined.
:924 Variable $customValue might not be defined.
:1232 Argument of an invalid type string supplied for foreach, only iterables are supported.
:2242 Negated boolean expression is always false.
:2267 Property CRM_Core_DAO_CustomGroup::$is_multiple (bool|string) does not accept int.
:2268 Property CRM_Core_DAO_CustomGroup::$is_active (bool|string) does not accept int.
------- ---------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/CustomOption.php
------ -------------------------------------------------------------------------------------------------------------------------
:34 Method CRM_Core_BAO_CustomOption::retrieve() should return CRM_Core_DAO_OptionValue|null but returns CRM_Core_DAO|null.
------ -------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------
Line CRM/Core/BAO/CustomQuery.php
------ ----------------------------------
:248 Elseif condition is always true.
------ ----------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/CustomValue.php
------ ------------------------------------------------------------------------------------------------------------
:51 Method CRM_Core_BAO_CustomValue::typecheck() should return bool but returns string|null.
:54 Method CRM_Core_BAO_CustomValue::typecheck() should return bool but returns string|null.
:152 Method CRM_Core_BAO_CustomValue::fixCustomFieldValue() should return null but return statement is missing.
------ ------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------
Line CRM/Core/BAO/CustomValueTable.php
------ -----------------------------------------------------------------------------------------
:189 Strict comparison using === between mixed and '' will always evaluate to false.
:283 Variable $entityID might not be defined.
:297 Variable $maxLength in isset() always exists and is not nullable.
:452 Unreachable statement - code above always terminates.
:575 Cannot access offset 0 on int<min, -1>|int<1, max>.
:585 Cannot access offset 1 on int<min, -1>|int<1, max>.
:586 Cannot access offset 1 on int<min, -1>|int<1, max>.
:720 Method CRM_Core_BAO_CustomValueTable::getValues() should return array but returns null.
------ -----------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/Dashboard.php
------ -------------------------------------------------------------------------------------------------------------------------------------------
:117 Offset 'blog'|'getting-started' on array{entity: string, action: string, debug: array, version: int, rowCount: int, \*\matchedCount: int,
\Civi\Api4\Generic\Result\indexedBy: mixed} in empty() does not exist.
:117 Offset 'blog'|'getting-started' on array{entity: string, action: string, debug: array, version: int, rowCount: int, \*\matchedCount: int,
\Civi\Api4\Generic\Result\indexedBy: mixed} in empty() does not exist.
:117 Result of && is always false.
------ -------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------
Line CRM/Core/BAO/Discount.php
------ ------------------------------------------------------------------------------
:103 Unreachable statement - code above always terminates.
:122 Method CRM_Core_BAO_Discount::findSet() should return int but returns false.
------ ------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line CRM/Core/BAO/Domain.php
------ ----------------------------------------------------------------------------------------------
:27 Property CRM_Core_BAO_Domain::$_location (array) does not accept default value of type null.
:140 Property CRM_Core_BAO_Domain::$_location (array) does not accept null.
------ ----------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Core/BAO/Email.php
------ ------------------------------------------------------------------------------------
:60 Negated boolean expression is always false.
:60 Result of && is always false.
:138 Method CRM_Core_BAO_Email::allEmails() should return array but returns null.
:195 Method CRM_Core_BAO_Email::allEntityEmails() should return array but returns null.
------ ------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------
Line CRM/Core/BAO/EntityTag.php
------ ---------------------------------------------------------------------------------------------
:61 Method CRM_Core_BAO_EntityTag::add() should return CRM_Core_BAO_EntityTag but returns null.
------ ---------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line CRM/Core/BAO/File.php
------ -------------------------------------------------------------------------------
:150 Access to an undefined property object::$uri.
:824 Binary operation "*" between string|null and 60 results in an error.
:824 Binary operation "+" between string|null and (float|int) results in an error.
------ -------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/FinancialTrxn.php
------ ------------------------------------------------------------------------------------------------------
:221 Method CRM_Core_BAO_FinancialTrxn::getFinancialTrxnLineTotal() should return array but returns null.
:369 Method CRM_Core_BAO_FinancialTrxn::getPartialPaymentWithType() should return array but returns null.
:597 Variable $cardType in isset() always exists and is not nullable.
:600 Variable $panTruncation in isset() always exists and is not nullable.
------ ------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------
Line CRM/Core/BAO/IM.php
------ ------------------------------------------------------------------------------
:61 Method CRM_Core_BAO_IM::getValues() should return bool but returns array.
:77 Method CRM_Core_BAO_IM::allIMs() should return array but returns null.
:128 Method CRM_Core_BAO_IM::allEntityIMs() should return array but returns null.
------ ------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Core/BAO/Job.php
------ --------------------------------------------------------------------------------------------
:34 Method CRM_Core_BAO_Job::create() should return CRM_Core_DAO_Job but returns CRM_Core_DAO.
------ --------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/LabelFormat.php
------ ------------------------------------------------------------------------------------------------------
:44 Static property CRM_Core_BAO_LabelFormat::$_gid (int) does not accept default value of type null.
:248 Cannot access offset string on int.
:248 Cannot access offset string on int.
:249 Cannot access offset string on int.
:292 Property CRM_Core_DAO_OptionValue::$is_active (bool|string|null) does not accept int.
:320 Negated boolean expression is always false.
:347 If condition is always true.
:397 Method CRM_Core_BAO_LabelFormat::getValue() has invalid return type value.
:401 Method CRM_Core_BAO_LabelFormat::getValue() should return value but returns int.
:409 Method CRM_Core_BAO_LabelFormat::getValue() should return value but returns float.
:413 Method CRM_Core_BAO_LabelFormat::getValue() should return value but returns null.
:454 Method CRM_Core_BAO_LabelFormat::retrieve() should return CRM_Core_DAO_OptionValue but returns null.
:510 Property CRM_Core_DAO_OptionValue::$is_active (bool|string|null) does not accept int.
------ ------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Core/BAO/Location.php
------ ------------------------------------------------------------------------------------
:96 Method CRM_Core_BAO_Location::createLocBlock() should return int but returns null.
:122 Variable $locBlockId might not be defined.
------ ------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Core/BAO/Log.php
------ ------------------------------------------------------------------------------------------
:152 Method CRM_Core_BAO_Log::getContactLogCount() should return int but returns string|null.
------ ------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/MailSettings.php
------ -----------------------------------------------------------------------------------------------------------
:57 Property CRM_Core_DAO_MailSettings::$is_default (bool|string) does not accept int.
:134 Method CRM_Core_BAO_MailSettings::add() should return CRM_Core_DAO_MailSettings but returns null.
:153 Method CRM_Core_BAO_MailSettings::add() should return CRM_Core_DAO_MailSettings but returns CRM_Core_DAO.
------ -----------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/Mapping.php
------ --------------------------------------------------------------------------------------------------------------
:559 Method CRM_Core_BAO_Mapping::getCustomGroupName() should return string|null but return statement is missing.
:759 Method CRM_Core_BAO_Mapping::saveMappingFields() should return null but return statement is missing.
------ --------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------
Line CRM/Core/BAO/MessageTemplate.php
------ ----------------------------------------------------------------------------------------
:104 Right side of && is always true.
:239 Property CRM_Core_DAO_MessageTemplate::$is_reserved (bool|string) does not accept int.
------ ----------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line CRM/Core/BAO/Navigation.php
------ -----------------------------------------------------------------------------------------------
:244 Method CRM_Core_BAO_Navigation::_getNavigationValue() should return array but returns string.
:572 Binary operation "+" between string|null and 1 results in an error.
------ -----------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line CRM/Core/BAO/Note.php
------ ----------------------------------------------------------------------------------
:66 Property CRM_Core_DAO_Note::$id (int|string|null) does not accept object.
:86 If condition is always true.
:224 Method CRM_Core_BAO_Note::getValues() should return array but returns null.
:422 Method CRM_Core_BAO_Note::buildNoteTree() should return array but returns false.
------ ----------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------
Line CRM/Core/BAO/OpenID.php
------ --------------------------------------------------------------------------------
:80 Method CRM_Core_BAO_OpenID::allOpenIDs() should return array but returns null.
------ --------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/OptionValue.php
------ ------------------------------------------------------------------------------------------------------
:406 Method CRM_Core_BAO_OptionValue::updateRecords() should return bool but return statement is missing.
------ ------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/PaperSize.php
------ ----------------------------------------------------------------------------------------------------
:44 Static property CRM_Core_BAO_PaperSize::$_gid (int) does not accept default value of type null.
:115 Property CRM_Core_DAO_OptionValue::$is_active (bool|string|null) does not accept int.
:139 Negated boolean expression is always false.
:163 If condition is always true.
:209 Method CRM_Core_BAO_PaperSize::getValue() has invalid return type value.
:213 Method CRM_Core_BAO_PaperSize::getValue() should return value but returns int.
:221 Method CRM_Core_BAO_PaperSize::getValue() should return value but returns float.
:225 Method CRM_Core_BAO_PaperSize::getValue() should return value but returns null.
:263 Method CRM_Core_BAO_PaperSize::retrieve() should return CRM_Core_DAO_OptionValue but returns null.
:276 Static method CRM_Core_BAO_PaperSize::_getGid() invoked with 1 parameter, 0 required.
:292 Call to an undefined static method CRM_Core_BAO_PaperSize::customGroupName().
:304 Property CRM_Core_DAO_OptionValue::$is_active (bool|string|null) does not accept int.
------ ----------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/PdfFormat.php
------ ----------------------------------------------------------------------------------------------------
:44 Static property CRM_Core_BAO_PdfFormat::$_gid (int) does not accept default value of type null.
:164 Property CRM_Core_DAO_OptionValue::$is_active (bool|string|null) does not accept int.
:188 Negated boolean expression is always false.
:215 If condition is always true.
:261 Method CRM_Core_BAO_PdfFormat::getValue() has invalid return type value.
:265 Method CRM_Core_BAO_PdfFormat::getValue() should return value but returns int.
:273 Method CRM_Core_BAO_PdfFormat::getValue() should return value but returns float.
:277 Method CRM_Core_BAO_PdfFormat::getValue() should return value but returns null.
:315 Method CRM_Core_BAO_PdfFormat::retrieve() should return CRM_Core_DAO_OptionValue but returns null.
:352 Property CRM_Core_DAO_OptionValue::$is_active (bool|string|null) does not accept int.
------ ----------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Core/BAO/Phone.php
------ ------------------------------------------------------------------------------------
:86 Method CRM_Core_BAO_Phone::allPhones() should return array but returns null.
:157 Method CRM_Core_BAO_Phone::allEntityPhones() should return array but returns null.
------ ------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line CRM/Core/BAO/PrevNextCache.php
------ --------------------------------------------------------------------------------------
:402 Property CRM_Core_DAO_PrevNextCache::$is_selected (bool|string) does not accept int.
------ --------------------------------------------------------------------------------------
------- ----------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/RecurringEntity.php
------- ----------------------------------------------------------------------------------------------------------
:185 Property CRM_Core_DAO_RecurringEntity::$mode (bool|string) does not accept int.
:189 Property CRM_Core_DAO_RecurringEntity::$mode (bool|string) does not accept int.
:329 Cannot call method format() on true.
:347 Cannot call method format() on true.
:353 Variable $exRangeStartDate might not be defined.
:354 Variable $exRangeEndDate might not be defined.
:354 Variable $exRangeStartDate might not be defined.
:421 Ternary operator condition is always true.
:492 Method CRM_Core_BAO_RecurringEntity::getParentFor() should return int but returns null.
:509 Method CRM_Core_BAO_RecurringEntity::getParentFor() should return int but returns string|null.
:562 PHPDoc tag @throws with type new is not subtype of Throwable
:972 Access to an undefined property When\When::$errors.
:1013 Variable $startActionDate1 might not be defined.
:1024 Access to an undefined property When\When::$errors.
:1038 Access to an undefined property When\When::$errors.
:1042 Access to an undefined property When\When::$errors.
:1060 Method CRM_Core_BAO_RecurringEntity::getInterval() should return object but return statement is missing.
:1094 Variable $dao might not be defined.
:1116 Method CRM_Core_BAO_RecurringEntity::updateModeLinkedEntity() should return array but returns null.
------- ----------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/Setting.php
------ ----------------------------------------------------------------------------------------------------
:286 Method CRM_Core_BAO_Setting::validateSetting() should return bool but return statement is missing.
:408 Variable $dbValues in empty() always exists and is not falsy.
:419 Variable $nameAndLabels might not be defined.
------ ----------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/Tag.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
:50 Property CRM_Core_BAO_Tag::$tree (array) in isset() is not nullable.
:92 Offset 'children' on array{children: non-empty-array<int|string, array{children: array<int|string, array{children: array<int|string,
array{parent_id: mixed, name: mixed, description: mixed, is_selectable: mixed, children: array{}}>, description: mixed, is_selectable: mixed,
name: mixed, parent_id: mixed}>, description: mixed, is_selectable: mixed, name: mixed, parent_id: mixed}>, parent_id: mixed, name: mixed,
description: mixed, is_selectable: mixed} in isset() always exists and is not nullable.
:152 Property CRM_Core_DAO_Tag::$is_tagset (bool|string) does not accept int.
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line CRM/Core/BAO/Translation.php
------ ----------------------------------------------------------------------------------
:221 Property Civi\Core\Locale::$nominal (string) on left side of ?? is not nullable.
:230 Property Civi\Core\Locale::$nominal (string) on left side of ?? is not nullable.
------ ----------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/UFField.php
------ --------------------------------------------------------------------------------------------------------------------
:27 Static property CRM_Core_BAO_UFField::$_contriBatchEntryFields (array) does not accept default value of type null.
:146 Method CRM_Core_BAO_UFField::setIsActive() should return bool but return statement is missing.
:299 Property CRM_Core_DAO_UFField::$uf_group_id (int|string) does not accept bool.
:364 Method CRM_Core_BAO_UFField::checkUFStatus() should return bool but return statement is missing.
:533 Comparison operation ">" between int<2, max> and 1 is always true.
:567 Property CRM_Core_DAO_UFGroup::$is_active (bool|string) does not accept int.
:603 Method CRM_Core_BAO_UFField::calculateProfileType() should return string but returns null.
------ --------------------------------------------------------------------------------------------------------------------
------- ----------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/UFGroup.php
------- ----------------------------------------------------------------------------------------------------------
:32 Static property CRM_Core_BAO_UFGroup::$_matchFields (string) does not accept default value of type null.
:135 Method CRM_Core_BAO_UFGroup::getRegistrationFields() should return array but returns false.
:328 Comparison operation ">" between 1 and 1 is always false.
:690 Static method CRM_Core_BAO_UFGroup::getImportableFields() invoked with 5 parameters, 3-4 required.
:860 Variable $oldQFDefault might not be defined.
:894 Method CRM_Core_BAO_UFGroup::getEditHTML() should return string but returns null.
:909 If condition is always false.
:993 Method CRM_Core_BAO_UFGroup::getValues() should return array|null but empty return statement found.
:1005 Method CRM_Core_BAO_UFGroup::getValues() should return array|null but return statement is missing.
:1095 Variable $contactSubTypeNames in empty() always exists and is not falsy.
:1144 Cannot access property $data_type on string.
:1145 Cannot access property $data_type on string.
:1151 Cannot access property $data_type on string.
:1355 Variable $url in empty() always exists and is not falsy.
:1911 Variable $providerName might not be defined.
:1941 Call to an undefined method HTML_QuickForm_element::setOptions().
:1968 Access to an undefined property CRM_Core_Form::$_params.
:2024 Variable $communicationOptions might not be defined.
:2090 Call to an undefined method HTML_QuickForm_element::setOptions().
:2176 Access to an undefined property CRM_Core_Form::$_componentCampaigns.
:2244 Method CRM_Core_BAO_UFGroup::buildProfile() should return null but return statement is missing.
:2436 Right side of && is always false.
:2441 Right side of && is always false.
:2446 Right side of && is always false.
:2451 If condition is always false.
:2456 Right side of && is always false.
:2504 Method CRM_Core_BAO_UFGroup::getValidProfiles() should return array but returns null.
:2537 Method CRM_Core_BAO_UFGroup::checkValidProfile() should return array but returns false.
:2541 Method CRM_Core_BAO_UFGroup::checkValidProfile() should return array but returns false.
:2603 Binary operation "+" between string|null and 1 results in an error.
:2607 Binary operation "+" between string|null and 1 results in an error.
:2749 Method CRM_Core_BAO_UFGroup::checkFieldsEmptyValues() should return array but returns null.
:2811 Undefined variable: $fields
:2863 Undefined variable: $customFields
:2867 Undefined variable: $customFields
:2876 Undefined variable: $id
:2878 Undefined variable: $customFields
:2879 Undefined variable: $customFields
:2894 Variable $loc might not be defined.
:2895 Variable $primaryEmail might not be defined.
:3148 Variable $componentBAOName might not be defined.
:3200 Cannot access offset 0 on int<min, -1>|int<1, max>.
:3208 Cannot access offset 0 on int<min, -1>|int<1, max>.
:3209 Cannot access offset 0 on int<min, -1>|int<1, max>.
:3214 Cannot access offset 0 on int<min, -1>|int<1, max>.
:3235 Elseif branch is unreachable because previous condition is always true.
------- ----------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line CRM/Core/BAO/UFJoin.php
------ -----------------------------------------------------------------------------------
:100 Method CRM_Core_BAO_UFJoin::findJoinEntryId() should return int but returns null.
:106 Method CRM_Core_BAO_UFJoin::findJoinEntryId() should return int but returns null.
:130 Method CRM_Core_BAO_UFJoin::findUFGroupId() should return int but returns null.
------ -----------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/UFMatch.php
------ ---------------------------------------------------------------------------------------------------------
:68 Unreachable statement - code above always terminates.
:129 Static method CRM_Contact_BAO_Contact::getDisplayAndImage() invoked with 3 parameters, 1-2 required.
:541 Method CRM_Core_BAO_UFMatch::getContactIDs() should return int but returns array<int, int|string|null>.
:556 Property CRM_Core_DAO_UFMatch::$uf_name (string|null) does not accept int.
------ ---------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------
Line CRM/Core/BAO/UserJob.php
------ ---------------------------------------------------------------------------------------
:41 Unsafe call to private method CRM_Core_BAO_UserJob::findUserJobId() through static::.
:57 Unsafe call to private method CRM_Core_BAO_UserJob::findUserJobId() through static::.
------ ---------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Core/BAO/Website.php
------ --------------------------------------------------------------------------------------------
:69 Method CRM_Core_BAO_Website::process() should return bool but return statement is missing.
:145 Method CRM_Core_BAO_Website::allWebsites() should return array but returns null.
------ --------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Core/BAO/WordReplacement.php
------ -------------------------------------------------------------------------------------------------------------
:57 Method CRM_Core_BAO_WordReplacement::edit() should return array but returns CRM_Core_DAO_WordReplacement.
:77 Method CRM_Core_BAO_WordReplacement::create() should return array but returns CRM_Core_DAO_WordReplacement.
------ -------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------
Line CRM/Core/Block.php
------ --------------------------------------------------------------------------------------------------
:43 Static property CRM_Core_Block::$_properties (array) does not accept default value of type null.
:355 Call to an undefined method CRM_Core_Component_Info::creatNewShortcut().
:391 Variable $shortCuts in empty() always exists and is not falsy.
:510 Access to undefined constant CRM_Core_Block::MAIL.
:548 Method CRM_Core_Block::getContent() should return array but returns null.
:553 Method CRM_Core_Block::getContent() should return array but returns null.
:561 Method CRM_Core_Block::getContent() should return array but returns null.
:567 Method CRM_Core_Block::getContent() should return array but returns null.
:581 Method CRM_Core_Block::getContent() should return array but returns null.
:591 Method CRM_Core_Block::getContent() should return array but returns null.
:598 Method CRM_Core_Block::getContent() should return array but returns null.
------ --------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------
Line CRM/Core/ClassLoader.php
------ --------------------------------------------------------------------------------------------------------
:25 Static property CRM_Core_ClassLoader::$_singleton (object) does not accept default value of type null.
------ --------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------
Line CRM/Core/CodeGen/Config.php
------ -------------------------------------------------------
:80 Unreachable statement - code above always terminates.
------ -------------------------------------------------------
------- --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/CodeGen/GenerateData.php
------- --------------------------------------------------------------------------------------------------------------------------------------------------
:45 Access to an undefined property CRM_Core_CodeGen_GenerateData::$time.
:60 Access to an undefined property CRM_Core_CodeGen_GenerateData::$relTypes.
:136 Property CRM_Core_CodeGen_GenerateData::$startCid (array) does not accept string|null.
:137 Binary operation "+" between string|null and 1 results in an error.
:137 Binary operation "+" between string|null and 200 results in an error.
:300 Property CRM_Core_CodeGen_GenerateData::$seed (int) does not accept string.
:350 Variable $key might not be defined.
:425 Access to an undefined property CRM_Core_CodeGen_GenerateData::$time.
:438 If condition is always false.
:473 If condition is always true.
:484 If condition is always true.
:495 If condition is always true.
:526 Method CRM_Core_CodeGen_GenerateData::getContactType() should return string but return statement is missing.
:542 Comparison operation "<=" between 2 and 1 is always false.
:574 Binary operation "+" between array and 1 results in an error.
:574 Binary operation "+" between array and 200 results in an error.
:608 Access to an undefined property CRM_Core_CodeGen_GenerateData::$time.
:628 Variable $householdId might not be defined.
:629 Variable $householdId might not be defined.
:632 Variable $position might not be defined.
:633 Variable $householdId might not be defined.
:635 Variable $householdId might not be defined.
:637 If condition is always false.
:638 Variable $householdId might not be defined.
:642 Variable $householdId might not be defined.
:648 Variable $position might not be defined.
:822 If condition is always true.
:828 Variable $url might not be defined.
:855 Access to an undefined property CRM_Core_CodeGen_GenerateData::$relTypes.
:865 Access to an undefined property CRM_Core_CodeGen_GenerateData::$relTypes.
:871 Access to an undefined property CRM_Core_CodeGen_GenerateData::$relTypes.
:889 Access to an undefined property CRM_Core_CodeGen_GenerateData::$relTypes.
:895 Access to an undefined property CRM_Core_CodeGen_GenerateData::$relTypes.
:904 Access to an undefined property CRM_Core_CodeGen_GenerateData::$relTypes.
:921 Method CRM_Core_CodeGen_GenerateData::_addAddress() should return array but return statement is missing.
:923 Property CRM_Core_DAO_Address::$is_primary (bool|string) does not accept int.
:929 Property CRM_Core_DAO_Address::$is_primary (bool|string) does not accept int.
:1038 Variable $domain might not be defined.
:1087 Variable $email might not be defined.
:1147 Property CRM_Contact_DAO_Group::$is_active (bool|string) does not accept int.
:1459 Variable $contacts might not be defined.
:1519 Binary operation "-" between string and 1 results in an error.
:1520 Binary operation "+" between string and 1|2 results in an error.
:1569 Variable $ids might not be defined.
:1652 Access to an undefined property CRM_Core_CodeGen_GenerateData::$time.
:1652 Access to an undefined property CRM_Core_CodeGen_GenerateData::$time.
:1653 Access to an undefined property CRM_Core_CodeGen_GenerateData::$time.
:1653 Access to an undefined property CRM_Core_CodeGen_GenerateData::$time.
:1654 Access to an undefined property CRM_Core_CodeGen_GenerateData::$time.
:1654 Access to an undefined property CRM_Core_CodeGen_GenerateData::$time.
:1708 Variable $contacts might not be defined.
:1832 Binary operation "-=" between string|null and 50 results in an error.
:2045 Offset 'contact_id' on array{contact_id: 103, amount: 5, currency: 'EUR', frequency_interval: 3, frequency_unit: 'month', installments: 3,
start_date: '1 month ago', processor_id: 'EGR12', ...}|array{contact_id: 59, amount: 25, currency: 'USD', frequency_interval: 1, frequency_unit:
'month', installments: 12, start_date: '15 months ago', processor_id: 'CLC45', ...}|array{contact_id: 99, amount: 10, currency: 'CAD',
frequency_interval: 1, frequency_unit: 'month', installments: 6, start_date: '8 months ago', cancel_date: '1 month ago', ...} on left side of ??
always exists and is not nullable.
:2053 Offset 'processor_id' on array{contact_id: 103, amount: 5, currency: 'EUR', frequency_interval: 3, frequency_unit: 'month', installments: 3,
start_date: '1 month ago', processor_id: 'EGR12', ...}|array{contact_id: 59, amount: 25, currency: 'USD', frequency_interval: 1, frequency_unit:
'month', installments: 12, start_date: '15 months ago', processor_id: 'CLC45', ...}|array{contact_id: 99, amount: 10, currency: 'CAD',
frequency_interval: 1, frequency_unit: 'month', installments: 6, start_date: '8 months ago', cancel_date: '1 month ago', ...} on left side of ??
always exists and is not nullable.
:2081 Binary operation "+" between string|null and 1 results in an error.
------- --------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------
Line CRM/Core/CodeGen/Main.php
------ -----------------------------------------------------------------------------
:87 Constructor of class CRM_Core_CodeGen_Main has an unused parameter $IGNORE.
------ -----------------------------------------------------------------------------
------ ---------------------------------
Line CRM/Core/CodeGen/Reflection.php
------ ---------------------------------
:17 If condition is always false.
------ ---------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Core/CodeGen/Specification.php
------ ------------------------------------------------------------------------------------------------------
:296 Method CRM_Core_CodeGen_Specification::getDynamicForeignKey() invoked with 3 parameters, 2 required.
:800 Cannot access property $html on string.
:816 Cannot access property $length on string.
------ ------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Core/Component.php
------ --------------------------------------------------------------------------------------------
:175 Undefined variable: $styleSheet
:282 Method CRM_Core_Component::from() should return null but returns mixed.
:307 Method CRM_Core_Component::defaultReturnProperties() should return null but returns mixed.
:311 Negated boolean expression is always true.
------ --------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/Config.php
------ -------------------------------------------------------------------------------------------------------------------------------------
:55 PHPDoc tag @property has invalid value (array fiscalYearStart): Unexpected token "fiscalYearStart", expected variable at offset 854
:61 Static property CRM_Core_Config::$_log (object) does not accept default value of type null.
:69 Static property CRM_Core_Config::$_singleton (CRM_Core_Config) does not accept default value of type null.
:116 Static property CRM_Core_Config::$_log (object) in isset() is not nullable.
:393 Negated boolean expression is always false.
:421 Right side of && is always false.
:492 Static property CRM_Core_Config::$_singleton (CRM_Core_Config) does not accept null.
:573 Property CRM_Core_Config::$doNotResetCache (bool) does not accept int.
------ -------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------
Line CRM/Core/Config/Runtime.php
------ ---------------------------------------------------------------------------------------------
:79 Property CRM_Core_Config_Runtime::$userFramework (string) does not accept int.
:83 If condition is always false.
:96 Property CRM_Core_Config_Runtime::$cleanURL (string) does not accept int.
:99 Property CRM_Core_Config_Runtime::$templateDir (string) does not accept array<int, string>.
:101 Access to an undefined property CRM_Core_Config_Runtime::$initialized.
------ ---------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------
Line CRM/Core/Controller.php
------ --------------------------------------------------------------------------------------------------
:128 Property CRM_Core_Controller::$_parent (object) does not accept default value of type null.
:135 Property CRM_Core_Controller::$_destination (string) does not accept default value of type null.
:143 Property CRM_Core_Controller::$_entryURL (string) does not accept default value of type null.
:162 Constructor of class CRM_Core_Controller has an unused parameter $mode.
:174 Static property CRM_Core_Controller::$_template (CRM_Core_Smarty) in isset() is not nullable.
:436 Parameter $action of method CRM_Core_Controller::addPages() has invalid type const.
------ --------------------------------------------------------------------------------------------------
------- ---------------------------------------------------------------------------------------------------------
Line CRM/Core/DAO.php
------- ---------------------------------------------------------------------------------------------------------
:82 Static property CRM_Core_DAO::$_icon (string) does not accept default value of type null.
:89 Static property CRM_Core_DAO::$_labelField (string) does not accept default value of type null.
:141 Static property CRM_Core_DAO::$_factory (object) does not accept default value of type null.
:305 Cannot access property $id on array|object.
:310 Cannot access property $id on array|object.
:335 Negated boolean expression is always true.
:494 Result of method DB_DataObject::query() (void) is used.
:497 Method CRM_Core_DAO::query() should return object but returns void.
:516 Method CRM_Core_DAO::factory() has invalid return type DataObject.
:517 Static property CRM_Core_DAO::$_factory (object) in isset() is not nullable.
:587 Method CRM_Core_DAO::fields() should return array but returns null.
:798 Variable $value might not be defined.
:938 Method CRM_Core_DAO::getAttribute() should return array but returns null.
:964 Unsafe usage of new static().
💡 See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static
:974 Static access to instance property CRM_Core_DAO::$_tableName.
:1023 Negated boolean expression is always false.
:1129 Method CRM_Core_DAO::isDBMyISAM() should return bool but returns string|null.
:1346 Unsafe usage of new static().
💡 See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static
:1679 Property DB_DataObject::$N (int) does not accept true.
:2368 Variable $objects might not be defined.
:2371 Variable $objects might not be defined.
:2678 Call to an undefined method CRM_Core_Reference_Interface::getTargetKey().
:2850 Strict comparison using === between array and null will always evaluate to false.
:2938 Method CRM_Core_DAO::createSQLFilter() should return array|string|null but return statement is missing.
:2955 Unreachable statement - code above always terminates.
:2970 Unreachable statement - code above always terminates.
:3160 Unsafe usage of new static().
💡 See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static
:3253 Ternary operator condition is always true.
:3256 Ternary operator condition is always true.
------- ---------------------------------------------------------------------------------------------------------
------ ----------------------------------------
Line CRM/Core/DomainTokens.php
------ ----------------------------------------
:129 Cannot access offset 'phone' on false.
:130 Cannot access offset 'email' on false.
------ ----------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Core/DynamicFKAccessTrait.php (in context of class CRM_Core_BAO_EntityTag)
------ ------------------------------------------------------------------------------------------
:42 Strict comparison using === between string|false and null will always evaluate to false.
------ ------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Core/DynamicFKAccessTrait.php (in context of class CRM_Core_BAO_Note)
------ ------------------------------------------------------------------------------------------
:42 Strict comparison using === between string|false and null will always evaluate to false.
------ ------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Core/DynamicFKAccessTrait.php (in context of class CRM_Core_BAO_Translation)
------ ------------------------------------------------------------------------------------------
:42 Strict comparison using === between string|false and null will always evaluate to false.
------ ------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line CRM/Core/EntityTokens.php
------ -------------------------------------------------------------------------------------------
:99 Call to function is_array() with int|string will always evaluate to false.
:300 Cannot cast array to string.
:586 Method CRM_Core_EntityTokens::getTokenMetadataOverrides() has invalid return type string.
------ -------------------------------------------------------------------------------------------
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/Error.php
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
:44 Static property CRM_Core_Error::$_singleton (object) does not accept default value of type null.
:50 Static property CRM_Core_Error::$_log (object) does not accept default value of type null.
:50 Static property CRM_Core_Error::$_log is never read, only written.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
:56 Static property CRM_Core_Error::$modeException (bool) does not accept default value of type null.
:71 Class CRM_Core_Error constructor invoked with 1 parameter, 0 required.
:174 Function mysql_error not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:175 Function mysql_errno not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:175 Function mysql_error not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:177 Function mysql_query not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:605 Elseif condition is always false.
:605 Right side of && is always false.
:704 Comparison operation "<" between int<0, max>|false and 0 is always false.
:748 Variable $idx might not be defined.
:847 Class DB_Error not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:848 Instanceof between array|Exception and PEAR_Error will always evaluate to false.
:882 Class DB_Error not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:992 Variable $data in isset() always exists and is always null.
:1092 Offset 'function' on array{function: string, line?: int, file?: string, class?: class-string, type?: '->'|'::', args?: array, object?: object} on
left side of ?? always exists and is not nullable.
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
------- ----------------------------------------------------------------------------------------------
Line CRM/Core/Form.php
------- ----------------------------------------------------------------------------------------------
:44 Property CRM_Core_Form::$_title (string) does not accept default value of type null.
:337 Static property CRM_Core_Form::$_template (CRM_Core_Smarty) in isset() is not nullable.
:424 Class HTML_QuickForm_element referenced with incorrect case: HTML_QuickForm_Element.
:637 PHPDoc tag @throws with type HTML_QuickForm_Error is not subtype of Throwable
:788 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:864 Access to an undefined property CRM_Core_Form::$_bltID.
:886 Access to an undefined property CRM_Core_Form::$_mode.
:895 Access to an undefined property CRM_Core_Form::$_paymentProcessor.
:898 Access to an undefined property CRM_Core_Form::$_paymentObject.
:929 Access to an undefined property CRM_Core_Form::$_params.
:929 Access to an undefined property CRM_Core_Form::$_params.
:946 Access to an undefined property CRM_Core_Form::$_bltID.
:947 Access to an undefined property CRM_Core_Form::$_bltID.
:947 Access to an undefined property CRM_Core_Form::$_bltID.
:949 Access to an undefined property CRM_Core_Form::$_bltID.
:950 Access to an undefined property CRM_Core_Form::$_bltID.
:950 Access to an undefined property CRM_Core_Form::$_bltID.
:950 Access to an undefined property CRM_Core_Form::$_bltID.
:952 Access to an undefined property CRM_Core_Form::$_bltID.
:953 Access to an undefined property CRM_Core_Form::$_bltID.
:953 Access to an undefined property CRM_Core_Form::$_bltID.
:953 Access to an undefined property CRM_Core_Form::$_bltID.
:956 Access to an undefined property CRM_Core_Form::$_bltID.
:990 Property CRM_Core_Form::$_paymentProcessorID (int) does not accept null.
:994 Access to an undefined property CRM_Core_Form::$_paymentProcessor.
:996 Access to an undefined property CRM_Core_Form::$_mode.
:1014 Access to an undefined property CRM_Core_Form::$_paymentProcessor.
:1043 Access to an undefined property CRM_Core_Form::$_paymentProcessor.
:1052 Undefined variable: $payment
:1055 Variable $result might not be defined.
:1157 Property CRM_Core_Form::$_renderer (object) in isset() is not nullable.
:1205 Method CRM_Core_Form::overrideExtraTemplateFileName() should return string but returns null.
:1329 Method CRM_Core_Form::addRadio() has invalid return type HTML_QuickForm_group.
:1354 Call to method setAttribute() on an unknown class HTML_QuickForm_group.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:1361 Call to method setAttribute() on an unknown class HTML_QuickForm_group.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:1381 Call to method setAttribute() on an unknown class HTML_QuickForm_group.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:1431 Call to method setAttribute() on an unknown class HTML_QuickForm_group.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:1435 Offset non-falsy-string does not exist on null.
:1603 Class HTML_QuickForm_element referenced with incorrect case: HTML_QuickForm_Element.
:1650 Variable $fieldSpec might not be defined.
:1652 Variable $fieldSpec might not be defined.
:1676 Method CRM_Core_Form::selectOrAnyPlaceholder() should return string but returns null.
:1780 Right side of && is always true.
:1844 Variable $options might not be defined.
:1858 Variable $options might not be defined.
:1861 Variable $options might not be defined.
:1864 Variable $options might not be defined.
:2101 Variable $elementName might not be defined.
:2143 Class HTML_QuickForm_element referenced with incorrect case: HTML_QuickForm_Element.
:2227 Class HTML_QuickForm_element referenced with incorrect case: HTML_QuickForm_Element.
:2439 Comparison operation "<" between 0 and array|int results in an error.
:2458 Access to an undefined property CRM_Core_Form::$_values.
:2459 Access to an undefined property CRM_Core_Form::$_values.
:2461 Access to an undefined property CRM_Core_Form::$_values.
:2462 Access to an undefined property CRM_Core_Form::$_values.
:2543 Class HTML_QuickForm_element referenced with incorrect case: HTML_QuickForm_Element.
:2597 Call to an undefined method HTML_QuickForm_element::addOption().
:2600 Access to an undefined property CRM_Core_Form::$_actionButtonName.
:2600 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:2660 Access to an undefined property HTML_QuickForm_element::$_options.
:2661 Call to an undefined method HTML_QuickForm_element::loadArray().
:2703 Access to an undefined property CRM_Core_Form::$_params.
:2739 Access to an undefined property CRM_Core_Form::$_values.
------- ----------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------
Line CRM/Core/Form/EntityFormTrait.php (in context of class CRM_Admin_Form_PaymentProcessor)
------ ---------------------------------------------------------------------------------------------------------------
:31 Property CRM_Admin_Form_PaymentProcessor::$_entitySubTypeId (int) does not accept default value of type null.
:55 Access to an undefined property CRM_Admin_Form_PaymentProcessor::$deleteMessage.
:243 Access to an undefined property CRM_Admin_Form_PaymentProcessor::$metadata.
:263 Access to an undefined property CRM_Admin_Form_PaymentProcessor::$metadata.
:298 Method CRM_Admin_Form_PaymentProcessor::isDeleteContext() should return bool but returns int<0, 8>.
:307 Method CRM_Admin_Form_PaymentProcessor::isViewContext() should return bool but returns int<0, 4>.
------ ---------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------
Line CRM/Core/Form/EntityFormTrait.php (in context of class CRM_Admin_Form_RelationshipType)
------ ---------------------------------------------------------------------------------------------------------------
:31 Property CRM_Admin_Form_RelationshipType::$_entitySubTypeId (int) does not accept default value of type null.
:243 Access to an undefined property CRM_Admin_Form_RelationshipType::$metadata.
:263 Access to an undefined property CRM_Admin_Form_RelationshipType::$metadata.
:298 Method CRM_Admin_Form_RelationshipType::isDeleteContext() should return bool but returns int<0, 8>.
:307 Method CRM_Admin_Form_RelationshipType::isViewContext() should return bool but returns int<0, 4>.
------ ---------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------
Line CRM/Core/Form/EntityFormTrait.php (in context of class CRM_Contribute_Form_ContributionRecur)
------ ---------------------------------------------------------------------------------------------------------------------
:31 Property CRM_Contribute_Form_ContributionRecur::$_entitySubTypeId (int) does not accept default value of type null.
:55 Access to an undefined property CRM_Contribute_Form_ContributionRecur::$deleteMessage.
:207 Access to an undefined property CRM_Contribute_Form_ContributionRecur::$_BAOName.
:243 Access to an undefined property CRM_Contribute_Form_ContributionRecur::$metadata.
:263 Access to an undefined property CRM_Contribute_Form_ContributionRecur::$metadata.
:298 Method CRM_Contribute_Form_ContributionRecur::isDeleteContext() should return bool but returns int<0, 8>.
:307 Method CRM_Contribute_Form_ContributionRecur::isViewContext() should return bool but returns int<0, 4>.
------ ---------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------
Line CRM/Core/Form/EntityFormTrait.php (in context of class CRM_Financial_Form_FinancialAccount)
------ -------------------------------------------------------------------------------------------------------------------
:31 Property CRM_Financial_Form_FinancialAccount::$_entitySubTypeId (int) does not accept default value of type null.
:39 Access to an undefined property CRM_Financial_Form_FinancialAccount::$entityFields.
:55 Access to an undefined property CRM_Financial_Form_FinancialAccount::$deleteMessage.
:140 Access to an undefined property CRM_Financial_Form_FinancialAccount::$entityFields.
:210 Access to an undefined property CRM_Financial_Form_FinancialAccount::$entityFields.
:243 Access to an undefined property CRM_Financial_Form_FinancialAccount::$metadata.
:263 Access to an undefined property CRM_Financial_Form_FinancialAccount::$metadata.
:298 Method CRM_Financial_Form_FinancialAccount::isDeleteContext() should return bool but returns int<0, 8>.
:307 Method CRM_Financial_Form_FinancialAccount::isViewContext() should return bool but returns int<0, 4>.
:311 Access to an undefined property CRM_Financial_Form_FinancialAccount::$entityFields.
------ -------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------
Line CRM/Core/Form/EntityFormTrait.php (in context of class CRM_Financial_Form_FinancialType)
------ ----------------------------------------------------------------------------------------------------------------
:31 Property CRM_Financial_Form_FinancialType::$_entitySubTypeId (int) does not accept default value of type null.
:243 Access to an undefined property CRM_Financial_Form_FinancialType::$metadata.
:263 Access to an undefined property CRM_Financial_Form_FinancialType::$metadata.
:298 Method CRM_Financial_Form_FinancialType::isDeleteContext() should return bool but returns int<0, 8>.
:307 Method CRM_Financial_Form_FinancialType::isViewContext() should return bool but returns int<0, 4>.
------ ----------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line CRM/Core/Form/EntityFormTrait.php (in context of class CRM_Group_Form_Edit)
------ ---------------------------------------------------------------------------------------------------
:31 Property CRM_Group_Form_Edit::$_entitySubTypeId (int) does not accept default value of type null.
:39 Access to an undefined property CRM_Group_Form_Edit::$entityFields.
:55 Access to an undefined property CRM_Group_Form_Edit::$deleteMessage.
:140 Access to an undefined property CRM_Group_Form_Edit::$entityFields.
:207 Access to an undefined property CRM_Group_Form_Edit::$_BAOName.
:210 Access to an undefined property CRM_Group_Form_Edit::$entityFields.
:243 Access to an undefined property CRM_Group_Form_Edit::$metadata.
:263 Access to an undefined property CRM_Group_Form_Edit::$metadata.
:298 Method CRM_Group_Form_Edit::isDeleteContext() should return bool but returns int<0, 8>.
:307 Method CRM_Group_Form_Edit::isViewContext() should return bool but returns int<0, 4>.
:311 Access to an undefined property CRM_Group_Form_Edit::$entityFields.
------ ---------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line CRM/Core/Form/EntityFormTrait.php (in context of class CRM_Member_Form)
------ -----------------------------------------------------------------------------------------------
:31 Property CRM_Member_Form::$_entitySubTypeId (int) does not accept default value of type null.
:55 Access to an undefined property CRM_Member_Form::$deleteMessage.
:207 Access to an undefined property CRM_Member_Form::$_BAOName.
:243 Access to an undefined property CRM_Member_Form::$metadata.
:263 Access to an undefined property CRM_Member_Form::$metadata.
:298 Method CRM_Member_Form::isDeleteContext() should return bool but returns int<0, 8>.
:307 Method CRM_Member_Form::isViewContext() should return bool but returns int<0, 4>.
------ -----------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------
Line CRM/Core/Form/EntityFormTrait.php (in context of class CRM_Member_Form_MembershipStatus)
------ ----------------------------------------------------------------------------------------------------------------
:31 Property CRM_Member_Form_MembershipStatus::$_entitySubTypeId (int) does not accept default value of type null.
:55 Access to an undefined property CRM_Member_Form_MembershipStatus::$deleteMessage.
:207 Access to an undefined property CRM_Member_Form_MembershipStatus::$_BAOName.
:243 Access to an undefined property CRM_Member_Form_MembershipStatus::$metadata.
:263 Access to an undefined property CRM_Member_Form_MembershipStatus::$metadata.
:298 Method CRM_Member_Form_MembershipStatus::isDeleteContext() should return bool but returns int<0, 8>.
:307 Method CRM_Member_Form_MembershipStatus::isViewContext() should return bool but returns int<0, 4>.
------ ----------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------
Line CRM/Core/Form/EntityFormTrait.php (in context of class CRM_Member_Form_MembershipType)
------ --------------------------------------------------------------------------------------------------------------
:31 Property CRM_Member_Form_MembershipType::$_entitySubTypeId (int) does not accept default value of type null.
:243 Access to an undefined property CRM_Member_Form_MembershipType::$metadata.
:263 Access to an undefined property CRM_Member_Form_MembershipType::$metadata.
:298 Method CRM_Member_Form_MembershipType::isDeleteContext() should return bool but returns int<0, 8>.
:307 Method CRM_Member_Form_MembershipType::isViewContext() should return bool but returns int<0, 4>.
------ --------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------
Line CRM/Core/Form/EntityFormTrait.php (in context of class CRM_Price_Form_Field)
------ ----------------------------------------------------------------------------------------------------
:31 Property CRM_Price_Form_Field::$_entitySubTypeId (int) does not accept default value of type null.
:39 Access to an undefined property CRM_Price_Form_Field::$entityFields.
:55 Access to an undefined property CRM_Price_Form_Field::$deleteMessage.
:140 Access to an undefined property CRM_Price_Form_Field::$entityFields.
:207 Access to an undefined property CRM_Price_Form_Field::$_BAOName.
:210 Access to an undefined property CRM_Price_Form_Field::$entityFields.
:243 Access to an undefined property CRM_Price_Form_Field::$metadata.
:263 Access to an undefined property CRM_Price_Form_Field::$metadata.
:298 Method CRM_Price_Form_Field::isDeleteContext() should return bool but returns int<0, 8>.
:307 Method CRM_Price_Form_Field::isViewContext() should return bool but returns int<0, 4>.
:311 Access to an undefined property CRM_Price_Form_Field::$entityFields.
------ ----------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------
Line CRM/Core/Form/EntityFormTrait.php (in context of class CRM_Price_Form_Set)
------ --------------------------------------------------------------------------------------------------
:31 Property CRM_Price_Form_Set::$_entitySubTypeId (int) does not accept default value of type null.
:207 Access to an undefined property CRM_Price_Form_Set::$_BAOName.
:243 Access to an undefined property CRM_Price_Form_Set::$metadata.
:263 Access to an undefined property CRM_Price_Form_Set::$metadata.
:298 Method CRM_Price_Form_Set::isDeleteContext() should return bool but returns int<0, 8>.
:307 Method CRM_Price_Form_Set::isViewContext() should return bool but returns int<0, 4>.
------ --------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line CRM/Core/Form/EntityFormTrait.php (in context of class CRM_UF_Form_Group)
------ -------------------------------------------------------------------------------------------------
:31 Property CRM_UF_Form_Group::$_entitySubTypeId (int) does not accept default value of type null.
:207 Access to an undefined property CRM_UF_Form_Group::$_BAOName.
:243 Access to an undefined property CRM_UF_Form_Group::$metadata.
:263 Access to an undefined property CRM_UF_Form_Group::$metadata.
:298 Method CRM_UF_Form_Group::isDeleteContext() should return bool but returns int<0, 8>.
:307 Method CRM_UF_Form_Group::isViewContext() should return bool but returns int<0, 4>.
------ -------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------
Line CRM/Core/Form/RecurringEntity.php
------ -----------------------------------------------------------------------------------------------------------------------
:27 Static property CRM_Core_Form_RecurringEntity::$_entityId (int) does not accept default value of type null.
:33 Static property CRM_Core_Form_RecurringEntity::$_scheduleReminderID (int) does not accept default value of type null.
:45 Static property CRM_Core_Form_RecurringEntity::$_parentEntityId (int) does not accept default value of type null.
:63 Static property CRM_Core_Form_RecurringEntity::$_hasParent (string) does not accept default value of type false.
:75 Static property CRM_Core_Form_RecurringEntity::$_hasParent (string) does not accept true.
:182 Variable $startActionCondition might not be defined.
:419 Variable $apiType might not be defined.
:435 Variable $apiType might not be defined.
------ -----------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Core/Form/Renderer.php
------ ----------------------------------------------------------------------------------------------------------
:31 Static property CRM_Core_Form_Renderer::$_singleton (object) does not accept default value of type null.
:54 Call to an undefined static method HTML_QuickForm_Renderer_ArraySmarty::__construct().
:63 Static property CRM_Core_Form_Renderer::$_singleton (object) in isset() is not nullable.
:368 Variable $cids might not be defined.
------ ----------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------
Line CRM/Core/Form/Search.php
------ ----------------------------------------------------------------
:441 Access to an undefined property CRM_Core_Form_Search::$_group.
------ ----------------------------------------------------------------
------ -------------------------------------------------------------------
Line CRM/Core/Form/Tag.php
------ -------------------------------------------------------------------
:45 Access to an undefined property CRM_Core_Form::$_entityTagValues.
:92 Access to an undefined property CRM_Core_Form::$_tagsetInfo.
:128 Access to an undefined property CRM_Core_Form::$_tagsetInfo.
------ -------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------
Line CRM/Core/Form/Task.php
------ -----------------------------------------------------------------------------------------------------------
:36 Property CRM_Core_Form_Task::$_componentClause (string) does not accept default value of type null.
:69 Static property CRM_Core_Form_Task::$tableName (string) does not accept default value of type null.
:76 Static property CRM_Core_Form_Task::$entityShortname (string) does not accept default value of type null.
:394 Property CRM_Core_Form_Task::$_contactIds (array) on left side of ?? is not nullable.
------ -----------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------
Line CRM/Core/Form/Task/Batch.php
------ -----------------------------------------------------------------------------------------------------------------
:46 Static property CRM_Core_Form_Task_Batch::$tableName (string) does not accept default value of type null.
:51 Static property CRM_Core_Form_Task_Batch::$entityShortname (string) does not accept default value of type null.
------ -----------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------
Line CRM/Core/Form/Task/PDFLetterCommon.php
------ --------------------------------------------------------------------------------------------------------------
:36 PHPDoc tag @var above a method has no effect.
:50 PHPDoc tag @var above a method has no effect.
:401 Method CRM_Core_Form_Task_PDFLetterCommon::listTokens() should return array but return statement is missing.
------ --------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------
Line CRM/Core/Form/Task/PickProfile.php
------ -----------------------------------------------------------------------------------------------------------------------
:48 Static property CRM_Core_Form_Task_PickProfile::$tableName (string) does not accept default value of type null.
:55 Static property CRM_Core_Form_Task_PickProfile::$entityShortname (string) does not accept default value of type null.
------ -----------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line CRM/Core/I18n.php
------ ---------------------------------------------------------------------------------------------------
:68 Property CRM_Core_I18n::$_phpgettext (object) does not accept default value of type null.
:164 Class gettext_reader does not have a constructor and must be instantiated without any parameters.
:426 Right side of && is always true.
:459 Variable $plural in isset() always exists and is not nullable.
:461 If condition is always true.
:477 Elseif condition is always true.
:504 Ternary operator condition is always true.
:561 Negated boolean expression is always false.
:582 Class gettext_reader does not have a constructor and must be instantiated without any parameters.
:743 Method CRM_Core_I18n::getContactDefaultLanguage() should return string but returns null.
------ ---------------------------------------------------------------------------------------------------
------ ---------------------------------------------
Line CRM/Core/I18n/Schema.php
------ ---------------------------------------------
:87 Negated boolean expression is always false.
:137 Negated boolean expression is always false.
------ ---------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Core/IDS.php
------ ---------------------------------------------------------------------
:46 Method CRM_Core_IDS::check() should return bool but returns null.
:54 Method CRM_Core_IDS::check() should return bool but returns null.
:208 Method CRM_Core_IDS::log() invoked with 3 parameters, 1-2 required.
:213 Method CRM_Core_IDS::log() invoked with 3 parameters, 1-2 required.
:218 Method CRM_Core_IDS::log() invoked with 3 parameters, 1-2 required.
------ ---------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/InnoDBIndexer.php
------ -------------------------------------------------------------------------------------------------------------------------
:22 Static property CRM_Core_InnoDBIndexer::$singleton (CRM_Core_InnoDBIndexer) does not accept default value of type null.
------ -------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------
Line CRM/Core/Invoke.php
------ ---------------------------------------------------------------------------------------------------------
:35 Method CRM_Core_Invoke::invoke() should return string but return statement is missing.
:55 Method CRM_Core_Invoke::_invoke() should return string but returns null.
:75 Instantiated class AppKernel not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:76 Call to method loadClassCache() on an unknown class AppKernel.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:77 Call to method handle() on an unknown class AppKernel.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:77 Call to static method createFromGlobals() on an unknown class Symfony\Component\HttpFoundation\Request.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:240 Method CRM_Core_Invoke::runItem() should return string but returns null.
:350 Method CRM_Utils_Wrapper::run() invoked with 4 parameters, 1-3 required.
:350 Offset 'class' does not exist on non-falsy-string.
:353 Method CRM_Utils_Wrapper::run() invoked with 4 parameters, 1-3 required.
------ ---------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------
Line CRM/Core/JobManager.php
------ ---------------------------------------------------------------------------------------------------------------
:28 Property CRM_Core_JobManager::$jobs (array) does not accept default value of type null.
:33 Property CRM_Core_JobManager::$currentJob (CRM_Core_ScheduledJob) does not accept default value of type null.
:113 Property CRM_Core_JobManager::$currentJob (CRM_Core_ScheduledJob) does not accept false.
:120 Access to an undefined property CRM_Core_ScheduledJob::$api_action.
:120 Access to an undefined property CRM_Core_ScheduledJob::$api_entity.
:131 Access to an undefined property CRM_Core_ScheduledJob::$api_action.
:131 Access to an undefined property CRM_Core_ScheduledJob::$api_entity.
:139 Property CRM_Core_JobManager::$currentJob (CRM_Core_ScheduledJob) does not accept false.
:193 Variable $job might not be defined.
:232 If condition is always true.
:233 Access to an undefined property CRM_Core_ScheduledJob::$id.
:235 Access to an undefined property CRM_Core_ScheduledJob::$api_action.
:235 Access to an undefined property CRM_Core_ScheduledJob::$api_entity.
:240 Access to an undefined property CRM_Core_ScheduledJob::$api_action.
:240 Access to an undefined property CRM_Core_ScheduledJob::$api_entity.
------ ---------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Core/Key.php
------ ---------------------------------------------------------------------
:143 Variable $key on left side of ?? always exists and is not nullable.
------ ---------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Core/Lock.php
------ --------------------------------------------------------------------------------------------
:64 Unsafe usage of new static().
💡 See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static
:80 Unsafe usage of new static().
💡 See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static
:98 Unsafe usage of new static().
💡 See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static
:206 Method CRM_Core_Lock::release() should return string|null but return statement is missing.
------ --------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------
Line CRM/Core/Menu.php
------ --------------------------------------------------------------------------------------------------------
:29 Static property CRM_Core_Menu::$_items (array) does not accept default value of type null.
:36 Static property CRM_Core_Menu::$_permissionedItems (array) does not accept default value of type null.
------ --------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------
Line CRM/Core/OptionGroup.php
------ ---------------------------------------------------------------------------------------
:431 Method CRM_Core_OptionGroup::getDefaultValue() should return string but returns null.
:487 Variable $groupTitle in empty() always exists and is always falsy.
:488 Property CRM_Core_DAO_OptionGroup::$is_reserved (bool|string) does not accept int.
:489 Property CRM_Core_DAO_OptionGroup::$is_active (bool|string) does not accept int.
:511 Method CRM_Core_OptionGroup::createAssoc() should return int but returns string.
------ ---------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/OptionValue.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
:24 Static property CRM_Core_OptionValue::$_exportableFields (array) does not accept default value of type null.
:31 Static property CRM_Core_OptionValue::$_importableFields (array) does not accept default value of type null.
:38 Static property CRM_Core_OptionValue::$_fields (array) does not accept default value of type null.
:105 Offset 'component_id' on array{}|array{label: string, order: mixed, icon: mixed, action: string, component_name: 'Contact'} in empty() does not
exist.
:105 Result of && is always false.
:105 Result of && is always false.
:126 Variable $caseTypeIds might not be defined.
:127 Variable $caseStatusIds might not be defined.
:139 Offset 'weight' does not exist on array{label: string, order: mixed, icon: mixed, action: string, component_name: 'Contact'}|array{label: string}.
:154 Offset 'component_id' on array{label: string, order: mixed, icon: mixed, action: string, component_name?: 'Contact'} in empty() does not exist.
:161 Offset 'visibility_id' on array{label: string, order: mixed, icon: mixed, action: string, component_name: 'Contact'} in empty() does not exist.
:281 Negated boolean expression is always false.
:340 Variable $optionName might not be defined.
:341 Variable $optionName might not be defined.
:397 Method CRM_Core_OptionValue::getValues() should return array but returns null.
:449 Variable $params might not be defined.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line CRM/Core/Page.php
------ ----------------------------------------------------------------------------------------------
:66 Property CRM_Core_Page::$_print (int|string) does not accept default value of type false.
:156 Property CRM_Core_Page::$_title (object) does not accept string|null.
:160 Static property CRM_Core_Page::$_template (CRM_Core_Smarty) in isset() is not nullable.
:264 Right side of && is always true.
:381 Method CRM_Core_Page::overrideExtraTemplateFileName() should return string but returns null.
------ ----------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line CRM/Core/Page/AJAX/Location.php
------ ---------------------------------------------------------------------------------------------------
:142 Static method CRM_Core_BAO_UFGroup::setProfileDefaults() invoked with 7 parameters, 3-6 required.
:182 Variable $elements might not be defined.
:201 Variable $eventId might not be defined.
------ ---------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Core/Page/Basic.php
------ ------------------------------------------------------------------------------------------
:88 Method CRM_Core_Page_Basic::checkPermission() should return string but returns int.
:387 Offset 'contact_type_a' on array{}|array{mapping_type: mixed} in isset() does not exist.
:390 Offset 'contact_type_b' on array{}|array{mapping_type: mixed} in isset() does not exist.
:400 Access to an undefined property object::$id.
------ ------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------
Line CRM/Core/Page/EntityPageTrait.php (in context of class CRM_Contact_Page_View_Relationship)
------ -----------------------------------------------------------------------------------------------------------------
:55 Property CRM_Contact_Page_View_Relationship::$_contactID (int) does not accept default value of type null.
:63 Property CRM_Contact_Page_View_Relationship::$_contactId (int) does not accept default value of type null.
:68 Property CRM_Contact_Page_View_Relationship::$_permission (string) does not accept default value of type null.
:75 Static property CRM_Contact_Page_View_Relationship::$_links (array) does not accept default value of type null.
:160 Method CRM_Contact_Page_View_Relationship::isDeleteContext() should return bool but returns int<0, 8>.
:169 Method CRM_Contact_Page_View_Relationship::isViewContext() should return bool but returns int<0, 4>.
:178 Method CRM_Contact_Page_View_Relationship::isEditContext() should return bool but returns int<0, 3>.
------ -----------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------
Line CRM/Core/Page/EntityPageTrait.php (in context of class CRM_Contribute_Page_ContributionRecur)
------ --------------------------------------------------------------------------------------------------------------------
:55 Property CRM_Contribute_Page_ContributionRecur::$_contactID (int) does not accept default value of type null.
:63 Property CRM_Contribute_Page_ContributionRecur::$_contactId (int) does not accept default value of type null.
:68 Property CRM_Contribute_Page_ContributionRecur::$_permission (string) does not accept default value of type null.
:75 Static property CRM_Contribute_Page_ContributionRecur::$_links (array) does not accept default value of type null.
:160 Method CRM_Contribute_Page_ContributionRecur::isDeleteContext() should return bool but returns int<0, 8>.
:169 Method CRM_Contribute_Page_ContributionRecur::isViewContext() should return bool but returns int<0, 4>.
:178 Method CRM_Contribute_Page_ContributionRecur::isEditContext() should return bool but returns int<0, 3>.
------ --------------------------------------------------------------------------------------------------------------------
------- ------------------------------------------------------------------------------------------
Line CRM/Core/Payment.php
------- ------------------------------------------------------------------------------------------
:166 Property CRM_Core_Payment::$paymentInstrumentID (int) in isset() is not nullable.
:545 Access to an undefined property CRM_Core_Payment::$_paymentForm.
:555 Access to an undefined property CRM_Core_Payment::$_paymentForm.
:1183 Property CRM_Core_Payment::$cancelUrl (string) in isset() is not nullable.
:1187 Unreachable statement - code above always terminates.
:1214 Property CRM_Core_Payment::$successUrl (string) in isset() is not nullable.
:1218 Unreachable statement - code above always terminates.
:1237 Property CRM_Core_Payment::$cancelUrl (string) in isset() is not nullable.
:1241 Unreachable statement - code above always terminates.
:1387 Method CRM_Core_Payment::doDirectPayment() invoked with 2 parameters, 1 required.
:1453 Right side of && is always true.
:1626 Method CRM_Extension_Mapper::keyToClass() invoked with 2 parameters, 1 required.
:1633 Variable $processorInstance in empty() always exists and is not falsy.
:1704 Property CRM_Contribute_DAO_Contribution::$invoice_id (string|null) does not accept int.
:1787 Call to an undefined method CRM_Core_Payment::accountLoginURL().
------- ------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/Payment/AuthorizeNet.php
------ -------------------------------------------------------------------------------------------------------------------------------------------
:44 Property CRM_Core_Payment_AuthorizeNet::$guzzleClient (GuzzleHttp\Client) on left side of ?? is not nullable.
:499 Method CRM_Core_Payment_AuthorizeNet::_setParam() should return bool but return statement is missing.
:527 Method CRM_Core_Payment_AuthorizeNet::checkConfig() should return string but returns null.
:545 Default value of the parameter #2 $params (array) of method CRM_Core_Payment_AuthorizeNet::cancelSubscription() is incompatible with type
Civi\Payment\PropertyBag.
------ -------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line CRM/Core/Payment/AuthorizeNetIPN.php
------ ------------------------------------------------------------------------------------------------------------
:263 Method CRM_Core_Payment_AuthorizeNetIPN::getMembershipID() should return int|null but returns string|null.
------ ------------------------------------------------------------------------------------------------------------
------ ----------------------------------
Line CRM/Core/Payment/BaseIPN.php
------ ----------------------------------
:164 Right side of && is always true.
------ ----------------------------------
------ -----------------------------------------------------------------------------------------------------------------------
Line CRM/Core/Payment/Dummy.php
------ -----------------------------------------------------------------------------------------------------------------------
:239 Offset 'payment_status_id' on array{trxn_id: string, fee_amount: 1.5, description: string} in isset() does not exist.
:271 Method CRM_Core_Payment_Dummy::checkConfig() should return string but returns null.
------ -----------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Core/Payment/FirstData.php
------ ---------------------------------------------------------------------
:67 Access to an undefined property CRM_Core_Payment_FirstData::$_mode.
:168 Undefined variable: $paymentProcessor
:203 Static call to instance method lphp::buildXML().
:255 Undefined variable: $processorResponse
:284 Static call to instance method lphp::decodeXML().
------ ---------------------------------------------------------------------
------ ---------------------------------------------------------
Line CRM/Core/Payment/Form.php
------ ---------------------------------------------------------
:73 Access to an undefined property CRM_Core_Form::$_bltID.
:280 Access to an undefined property CRM_Core_Form::$_bltID.
:281 Access to an undefined property CRM_Core_Form::$_bltID.
:283 Access to an undefined property CRM_Core_Form::$_bltID.
:284 Access to an undefined property CRM_Core_Form::$_bltID.
------ ---------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Core/Payment/Manual.php
------ -----------------------------------------------------------------------------------------------------
:24 Method CRM_Core_Payment_Manual::checkConfig() should return string but return statement is missing.
------ -----------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line CRM/Core/Payment/PayJunction.php
------ -------------------------------------------------------------------------------------------
:36 Access to an undefined property CRM_Core_Payment_PayJunction::$_mode.
:131 Undefined variable: $next
:213 Method CRM_Core_Payment_PayJunction::checkConfig() should return string but returns null.
------ -------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------
Line CRM/Core/Payment/PayPalIPN.php
------ ------------------------------------------------------------------------------------------------
:147 Strict comparison using !== between 'Completed' and 'Completed' will always evaluate to false.
------ ------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------
Line CRM/Core/Payment/PayPalImpl.php
------ ---------------------------------------------------------------------------------------------------------------
:45 Property CRM_Core_Payment::$_paymentProcessor (array) does not accept CRM_Core_Payment.
:57 Property CRM_Core_Payment_PayPalImpl::$guzzleClient (GuzzleHttp\Client) on left side of ?? is not nullable.
:176 Access to an undefined property CRM_Financial_Form_Payment::$_expressButtonName.
:179 Access to an undefined property CRM_Core_Form::$_expressButtonName.
:179 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:902 Part $token (array) of encapsed string cannot be cast to string.
:912 Method CRM_Core_Payment_PayPalImpl::doTransferCheckout() should return array but return statement is missing.
------ ---------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------
Line CRM/Core/Payment/PayPalProIPN.php
------ ---------------------------------------------
:560 Negated boolean expression is always false.
:576 Negated boolean expression is always false.
------ ---------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/Payment/ProcessorForm.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------
:35 Access to an undefined property CRM_Contribute_Form_Contribution_Main|CRM_Event_Form_Registration_Register|CRM_Financial_Form_Payment::$_type.
:50 Call to an undefined method object::set().
:51 Access to an undefined property object::$_paymentObject.
:52 Access to an undefined property object::$paymentInstrumentID.
:55 Access to an undefined property object::$isBackOffice.
:56 Access to an undefined property object::$isBackOffice.
:56 Call to an undefined method object::assign().
:58 Call to an undefined method object::assign().
:60 Call to an undefined method object::getPaymentProcessorID().
:61 Call to an undefined method object::assign().
:61 Call to an undefined method object::getPaymentProcessorID().
:63 Call to an undefined method object::assign().
:63 Call to an undefined method object::getCurrency().
:81 Call to an undefined method object::set().
:109 Access to an undefined property object::$_paymentProcessor.
:116 Access to an undefined property object::$_paymentObject.
------ ------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------
Line CRM/Core/Payment/Realex.php
------ ------------------------------------------------------------------------------------------------
:66 Parameter $params of method CRM_Core_Payment_Realex::doPayment() has invalid type PropertyBag.
:420 Method CRM_Core_Payment_Realex::checkConfig() should return string but returns null.
------ ------------------------------------------------------------------------------------------------
------- ---------------------------------------------------------------------------------------------------------
Line CRM/Core/Permission.php
------- ---------------------------------------------------------------------------------------------------------
:375 Method CRM_Core_Permission::event() should return array|null but returns true.
:397 Method CRM_Core_Permission::event() should return array|null but returns int<min, -1>|int<1, max>|null.
:1762 Method CRM_Core_Component_Info::getPermissions() invoked with 2 parameters, 0-1 required.
------- ---------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line CRM/Core/Permission/Backdrop.php
------ -------------------------------------------------------------------------------------------------
:72 Function user_load invoked with 1 parameter, 2 required.
:89 Variable $array in isset() always exists and is not nullable.
:90 Function user_load invoked with 1 parameter, 2 required.
:93 Cannot access property $roles on object|false.
:109 Function system_get_info not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:112 Function module_invoke not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:187 Method CRM_Core_Permission_Backdrop::permissionEmails() should return string but returns array.
------ -------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Core/Permission/Base.php
------ -----------------------------------------------------------------------------------------------------
:27 Property CRM_Core_Permission_Base::$permissions (array) does not accept default value of type null.
------ -----------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Core/Permission/Drupal.php
------ ---------------------------------------------------------------------
:71 Function user_load invoked with 1 parameter, 2 required.
:88 Variable $array in isset() always exists and is not nullable.
:89 Function user_load invoked with 1 parameter, 2 required.
:92 Cannot access property $roles on object|false.
:108 Function system_get_info not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:111 Function module_invoke not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:139 Function db_delete not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:173 Function db_query invoked with 1 parameter, 3 required.
------ ---------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------
Line CRM/Core/Permission/Drupal8.php
------ ---------------------------------------------------------------------------------------
:44 Call to static method getAnonymousUser() on an unknown class Drupal\user\Entity\User.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:44 Call to static method load() on an unknown class Drupal\user\Entity\User.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:60 Call to an undefined static method Drupal::service().
:61 Call to an undefined static method Drupal::service().
:73 Variable $perm on left side of ?? is never defined.
:97 Parameter $role of anonymous function has invalid type Drupal\user\RoleInterface.
:98 Call to method id() on an unknown class Drupal\user\RoleInterface.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:99 Function user_roles not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:101 Call to an undefined static method Drupal::entityTypeManager().
:118 Function user_roles not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:136 Variable $roles_to_check in isset() always exists and is not nullable.
:150 Unreachable statement - code above always terminates.
------ ---------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Core/Permission/DrupalBase.php
------ ---------------------------------------------------------------------
:63 Variable $array in isset() always exists and is not nullable.
:64 Function user_load invoked with 1 parameter, 2 required.
:67 Cannot access property $roles on object|false.
:110 Function db_query invoked with 1 parameter, 3 required.
:126 Function db_delete not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------ ---------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/Permission/Joomla.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
:44 Strict comparison using === between ALWAYS_ALLOW_PERMISSION|ALWAYS_DENY_PERMISSION|array and '*always deny*' will always evaluate to false.
:47 Strict comparison using === between ALWAYS_ALLOW_PERMISSION|ALWAYS_DENY_PERMISSION|array and '*always allow*' will always evaluate to false.
:55 Call to static method getUser() on an unknown class JFactory.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:62 Negated boolean expression is always true.
:70 Call to static method getUser() on an unknown class JFactory.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:75 Access to offset 0 on an unknown class ALWAYS_ALLOW_PERMISSION.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:75 Access to offset 0 on an unknown class ALWAYS_DENY_PERMISSION.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:75 Access to offset 1 on an unknown class ALWAYS_ALLOW_PERMISSION.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:75 Access to offset 1 on an unknown class ALWAYS_DENY_PERMISSION.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:94 Method CRM_Core_Permission_Joomla::translateJoomlaPermission() has invalid return type ALWAYS_ALLOW_PERMISSION.
:94 Method CRM_Core_Permission_Joomla::translateJoomlaPermission() has invalid return type ALWAYS_DENY_PERMISSION.
:96 Method CRM_Core_Permission_Joomla::translateJoomlaPermission() should return ALWAYS_ALLOW_PERMISSION|ALWAYS_DENY_PERMISSION|array but returns
string.
:106 Method CRM_Core_Permission_Joomla::translateJoomlaPermission() should return ALWAYS_ALLOW_PERMISSION|ALWAYS_DENY_PERMISSION|array but returns
string.
:112 Method CRM_Core_Permission_Joomla::translateJoomlaPermission() should return ALWAYS_ALLOW_PERMISSION|ALWAYS_DENY_PERMISSION|array but returns
string.
:140 Access to offset 0 on an unknown class ALWAYS_ALLOW_PERMISSION.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:140 Access to offset 0 on an unknown class ALWAYS_DENY_PERMISSION.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:165 Call to static method getDbo() on an unknown class JFactory.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:189 Call to static method getDbo() on an unknown class JFactory.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------
Line CRM/Core/Permission/Standalone.php
------ -----------------------------------------------------------------------------------------------------------
:27 Property CRM_Core_Permission_Standalone::$permissions (array) does not accept default value of type null.
:47 Property CRM_Core_Permission_Standalone::$permissions (array) in isset() is not nullable.
------ -----------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Core/Permission/UnitTests.php
------ ----------------------------------------------------------------------------------------------------------
:27 Property CRM_Core_Permission_UnitTests::$permissions (array) does not accept default value of type null.
:47 Property CRM_Core_Permission_UnitTests::$permissions (array) in isset() is not nullable.
------ ----------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------
Line CRM/Core/Permission/WordPress.php
------ ---------------------------------------------------
:63 Cannot call method has_cap() on WP_User|false.
:63 Cannot call method has_cap() on WP_User|false.
:70 Cannot call method exists() on WP_User|false.
:72 Cannot call method has_cap() on WP_User|false.
:79 Call to an undefined method WP_Roles::get_role().
:102 Access to an undefined property WP_Roles::$roles.
------ ---------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Core/PrevNextCache/Sql.php
------ -------------------------------------------------------------------------------------------------------------
:46 Access to property $message on an unknown class DB_Error.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:53 Method CRM_Core_PrevNextCache_Sql::fillWithArray() should return bool but empty return statement found.
:87 Right side of && is always true.
:114 Right side of && is always true.
:122 Variable $sql might not be defined.
:143 Left side of && is always true.
:143 Method CRM_Core_PrevNextCache_Sql::getSelection() should return array|null but return statement is missing.
------ -------------------------------------------------------------------------------------------------------------
------- -----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/PseudoConstant.php
------- -----------------------------------------------------------------------------------------------------------------------------------------
:462 Method CRM_Core_PseudoConstant::populate() should return array but return statement is missing.
:607 Method CRM_Core_PseudoConstant::stateProvince() should return array but returns null.
:775 Method CRM_Core_PseudoConstant::countryIsoCode() should return array but returns null.
:907 Default value of the parameter #3 $isActive (int) of method CRM_Core_PseudoConstant::relationshipType() is incompatible with type bool.
:1006 Method CRM_Core_PseudoConstant::county() should return array but returns null.
:1094 Method CRM_Core_PseudoConstant::worldRegion() should return array but returns null.
:1141 Static property CRM_Core_PseudoConstant::$visibility (array) in isset() is not nullable.
:1286 Method CRM_Core_PseudoConstant::countryIDForStateID() should return int|null but returns string|null.
------- -----------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/QuickForm/Action/Display.php
------ ----------------------------------------------------------------------------------------------------------------------------
:24 Static property CRM_Core_QuickForm_Action_Display::$_requiredTemplate (string) does not accept default value of type null.
:30 Static property CRM_Core_QuickForm_Action_Display::$_errorTemplate (string) does not accept default value of type null.
:119 Right side of && is always true.
------ ----------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/QuickForm/Action/Refresh.php
------ -------------------------------------------------------------------------------------------------------------------------
:53 Method CRM_Core_QuickForm_Action_Refresh::perform() with return type void returns mixed but should not return anything.
:59 Method CRM_Core_QuickForm_Action_Refresh::perform() with return type void returns mixed but should not return anything.
------ -------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------
Line CRM/Core/QuickForm/Action/Submit.php
------ ------------------------------------------------------------------------------------------------------------------------
:52 Method CRM_Core_QuickForm_Action_Submit::perform() with return type void returns mixed but should not return anything.
:65 Method CRM_Core_QuickForm_Action_Submit::perform() with return type void returns mixed but should not return anything.
------ ------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line CRM/Core/QuickForm/GroupMultiSelect.php
------ -------------------------------------------------------------------------------
:77 Call to function is_array() with string will always evaluate to false.
:77 Result of && is always false.
:157 Call to function is_array() with string will always evaluate to false.
:157 Result of && is always false.
:195 Offset 'attr' does not exist on ' '.
:195 Offset 'text' does not exist on ' '.
:257 Call to function is_array() with string will always evaluate to false.
:261 Call to function is_array() with string will always evaluate to false.
:263 Else branch is unreachable because ternary operator condition is always true.
------ -------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Core/QuickForm/NestedAdvMultiSelect.php
------ ---------------------------------------------------------------------
:64 PHPDoc tag @throws with type PEAR_Error is not subtype of Throwable
------ ---------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------
Line CRM/Core/Reference/OptionValue.php
------ ------------------------------------------------------------------------------------------------
:30 Property CRM_Core_Reference_OptionValue::$targetOptionGroupName (string) does not accept null.
------ ------------------------------------------------------------------------------------------------
------ -----------------------------------
Line CRM/Core/Region.php
------ -----------------------------------
:105 Result of closure (void) is used.
:117 Result of closure (void) is used.
------ -----------------------------------
------ ------------------------------------------------------------------------------------------------------------------
Line CRM/Core/Report/Excel.php
------ ------------------------------------------------------------------------------------------------------------------
:51 Call to function is_null() with mixed will always evaluate to false.
:168 Method CRM_Core_Report_Excel::writeCSVFile() with return type void returns mixed but should not return anything.
------ ------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------
Line CRM/Core/Resources.php
------ ----------------------------------------------------------------------------------------------------------------
:43 Property CRM_Core_Resources::$extMapper (CRM_Extension_Mapper) does not accept default value of type null.
:48 Property CRM_Core_Resources::$strings (CRM_Core_Resources_Strings) does not accept default value of type null.
:82 Property CRM_Core_Resources::$cacheCode (string) does not accept default value of type null.
:89 Property CRM_Core_Resources::$cacheCodeKey (string) does not accept default value of type null.
------ ----------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------
Line CRM/Core/ScheduledJob.php
------ -----------------------------------------------------------------------------------------------------------
:52 Strict comparison using === between non-empty-array<int, string> and false will always evaluate to false.
:53 Cannot use [] for reading.
:66 Access to an undefined property CRM_Core_ScheduledJob::$id.
:76 Access to an undefined property CRM_Core_ScheduledJob::$id.
:103 Access to an undefined property $this(CRM_Core_ScheduledJob)::$run_frequency.
:135 Variable $offset might not be defined.
------ -----------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------
Line CRM/Core/Selector/Base.php
------ ----------------------------------------------------------------------------------------------------
:35 Property CRM_Core_Selector_Base::$_permission (string) does not accept default value of type null.
:82 Call to an undefined method CRM_Core_Selector_Base::getColumnHeaders().
:84 Property CRM_Core_Selector_Base::$_order (array) in isset() is not nullable.
:112 PHPDoc tag @var above a method has no effect.
:112 PHPDoc tag @var does not specify variable name.
:127 Method CRM_Core_Selector_Base::getQill() should return array but returns null.
------ ----------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Core/Selector/Controller.php
------ ----------------------------------------------------------------------------------------------------------
:117 Property CRM_Core_Selector_Controller::$_print (int|string) does not accept default value of type false.
:191 Property CRM_Core_Selector_Controller::$_prefix (int) does not accept null.
:196 Property CRM_Core_Selector_Controller::$_sortID (int) does not accept string.
:204 Static property CRM_Core_Selector_Controller::$_template (CRM_Core_Smarty) in isset() is not nullable.
:220 Method CRM_Core_Selector_API::getTotalCount() invoked with 2 parameters, 1 required.
:400 Access to an undefined property CRM_Core_Form::$_output.
:400 Access to an undefined property CRM_Core_Form::$_output.
:402 Access to an undefined property CRM_Core_Form::$_object.
:402 Access to an undefined property CRM_Core_Form::$_sort.
:405 Access to an undefined property CRM_Core_Form::$_object.
:405 Access to an undefined property CRM_Core_Form::$_pagerOffset.
:405 Access to an undefined property CRM_Core_Form::$_pagerRowCount.
:406 Access to an undefined property CRM_Core_Form::$_case.
:406 Access to an undefined property CRM_Core_Form::$_output.
:406 Access to an undefined property CRM_Core_Form::$_sort.
------ ----------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Core/Session.php
------ ------------------------------------------------------------------------------------------------------
:21 Static property CRM_Core_Session::$_managedNames (array) does not accept default value of type null.
:42 Property CRM_Core_Session::$_session (object) does not accept default value of type null.
:67 Property CRM_Core_Session::$_session (object) does not accept null.
:93 Property CRM_Core_Session::$_session (object) in isset() is not nullable.
:94 Property CRM_Core_Session::$_session (object) does not accept array.
:103 Property CRM_Core_Session::$_session (object) in empty() is not falsy.
:107 Property CRM_Core_Session::$_session (object) does not accept null.
:125 Property CRM_Core_Session::$_session (object) in isset() is not nullable.
:130 Property CRM_Core_Session::$_session (object) in isset() is not nullable.
:138 Property CRM_Core_Session::$_session (object) does not accept array<string, mixed>.
:264 Property CRM_Core_Session::$_session (object) in empty() is not falsy.
:544 Static property CRM_Core_Session::$_managedNames (array) does not accept null.
:573 Method CRM_Core_Session::getLoggedInContactDisplayName() should return string but returns array|int.
------ ------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line CRM/Core/Smarty.php
------ ---------------------------------------------------------------------------------------------------
:55 Static property CRM_Core_Smarty::$_singleton (object) does not accept default value of type null.
:70 Property Smarty::$template_dir (string) does not accept array.
:161 Static property CRM_Core_Smarty::$_singleton (object) in isset() is not nullable.
:289 Call to function is_array() with string will always evaluate to false.
:293 Property Smarty::$template_dir (string) does not accept array<int, mixed>.
------ ---------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------
Line CRM/Core/Smarty/plugins/block.crmRegion.php
------ --------------------------------------------------------------------------
:21 Function smarty_block_crmRegion() should return string but returns null.
:25 If condition is always true.
------ --------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Core/Smarty/plugins/block.htxt.php
------ ---------------------------------------------------------------------
:39 Function smarty_block_htxt() should return string but returns null.
------ ---------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line CRM/Core/Smarty/plugins/function.crmAPI.php
------ -------------------------------------------------------------------------------------------------
:24 Function smarty_function_crmAPI() never returns void so it can be removed from the return type.
:39 Function smarty_function_crmAPI() should return string|void but returns null.
------ -------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------
Line CRM/Core/Smarty/plugins/function.crmGetAttribute.php
------ --------------------------------------------------------------------------------------------------
:32 Function smarty_function_crmGetAttribute() should return string but return statement is missing.
------ --------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Core/Smarty/plugins/function.crmSetting.php
------ ------------------------------------------------------------------------------------------------------
:42 Function smarty_function_crmSetting() should return int|string|null but return statement is missing.
------ ------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------
Line CRM/Core/Smarty/plugins/function.crmVersion.php
------ ---------------------------------------------------------------------------------------------
:40 Function smarty_function_crmVersion() should return string but return statement is missing.
------ ---------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------
Line CRM/Core/Smarty/plugins/function.docURL.php
------ ----------------------------------------------------------------
:31 Variable $smarty in isset() always exists and is not nullable.
------ ----------------------------------------------------------------
------ ------------------------------------------------------------------------
Line CRM/Core/Smarty/plugins/function.help.php
------ ------------------------------------------------------------------------
:31 Function smarty_function_help() should return string but returns null.
:38 Function smarty_function_help() should return string but returns null.
------ ------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Core/Smarty/plugins/modifier.print_array.php
------ ------------------------------------------------------------------------------------
:61 Undefined variable: $results
:64 Undefined variable: $results
:67 Undefined variable: $results
:89 Undefined variable: $results
:90 Undefined variable: $results
:98 Elseif branch is unreachable because previous condition is always true.
:98 Result of || is always false.
:98 Strict comparison using === between *NEVER* and '0' will always evaluate to false.
:98 Strict comparison using === between *NEVER* and 0 will always evaluate to false.
:101 Else branch is unreachable because previous condition is always true.
------ ------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line CRM/Core/StateMachine.php
------ -----------------------------------------------------------------------------------------------
:59 Property CRM_Core_StateMachine::$_action (int) does not accept default value of type null.
:65 Property CRM_Core_StateMachine::$_name (string) does not accept default value of type null.
:77 Parameter $action of method CRM_Core_StateMachine::__construct() has invalid type const.
:143 Method CRM_Core_StateMachine::perform() should return object but return statement is missing.
:185 Method CRM_Core_StateMachine::find() should return object but returns null.
:224 Method CRM_Core_StateMachine::getState() should return CRM_Core_State but returns null.
------ -----------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line CRM/Core/Task.php
------ -------------------------------------------------------------------------------------------------
:57 Static property CRM_Core_Task::$objectType (string) does not accept default value of type null.
------ -------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------
Line CRM/Core/TemporaryErrorScope.php
------ ---------------------------------------------------------
:86 Offset '_PEAR_default_error…' does not exist on string.
:87 Offset '_PEAR_default_error…' does not exist on string.
:88 Offset 'modeException' does not exist on string.
------ ---------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Core/TokenSmarty.php
------ ----------------------------------------------------------------------------------------------------------
:43 PHPDoc tag @param for parameter $smartyAssigns with type array|null is not subtype of native type array.
------ ----------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------
Line CRM/Core/Transaction.php
------ -----------------------------------------------------------------------------------------------------------------
:128 Method CRM_Core_Transaction::commit() should return CRM_Core_Exception but returns $this(CRM_Core_Transaction).
:201 Strict comparison using === between Civi\Core\Transaction\Frame and null will always evaluate to false.
:250 If condition is always true.
------ -----------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------
Line CRM/Custom/Form/CustomData.php
------ --------------------------------------------------------------
:42 Call to an undefined method CRM_Core_Form::getEntityId().
:84 Access to an undefined property CRM_Core_Form::$_type.
:160 Access to an undefined property CRM_Core_Form::$_groupTree.
:169 Access to an undefined property CRM_Core_Form::$_groupCount.
:169 Access to an undefined property CRM_Core_Form::$_groupID.
------ --------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Custom/Form/CustomDataByType.php
------ ----------------------------------------------------------------------------------------------------------
:28 Property CRM_Custom_Form_CustomDataByType::$_contactID (int) does not accept default value of type null.
:35 Access to an undefined property CRM_Custom_Form_CustomDataByType::$_cdType.
:35 Access to an undefined property CRM_Custom_Form_CustomDataByType::$_type.
:36 Access to an undefined property CRM_Custom_Form_CustomDataByType::$_subType.
:37 Access to an undefined property CRM_Custom_Form_CustomDataByType::$_subName.
:38 Access to an undefined property CRM_Custom_Form_CustomDataByType::$_groupCount.
:39 Access to an undefined property CRM_Custom_Form_CustomDataByType::$_entityId.
:41 Access to an undefined property CRM_Custom_Form_CustomDataByType::$_groupID.
:42 Access to an undefined property CRM_Custom_Form_CustomDataByType::$_onlySubtype.
:68 Access to an undefined property CRM_Custom_Form_CustomDataByType::$_groupTree.
:77 Access to an undefined property CRM_Custom_Form_CustomDataByType::$_groupCount.
:77 Access to an undefined property CRM_Custom_Form_CustomDataByType::$_groupID.
------ ----------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------
Line CRM/Custom/Form/DeleteGroup.php
------ ---------------------------------------------------------------------------------------------------------------------
:59 Method CRM_Custom_Form_DeleteGroup::preProcess() with return type void returns true but should not return anything.
------ ---------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Custom/Form/Field.php
------ ------------------------------------------------------------------------------------
:92 Offset 'text_length' on array{} on left side of ?? does not exist.
:94 Offset 'custom_group_id' does not exist on array{note_length: null}.
:280 Call to method freeze() on an unknown class HTML_QuickForm_group.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:890 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
------ ------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Custom/Form/Group.php
------ ---------------------------------------------------------------------
:193 Call to an undefined method HTML_QuickForm_element::setOptions().
:194 Access to an undefined property HTML_QuickForm_element::$_elements.
:196 Access to an undefined property HTML_QuickForm_element::$_elements.
:197 Access to an undefined property HTML_QuickForm_element::$_elements.
:219 Access to an undefined property HTML_QuickForm_element::$_elements.
:404 Function module_exists not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------ ---------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------
Line CRM/Custom/Form/Option.php
------ ----------------------------------------------------------------------------------------------------
:41 Property CRM_Custom_Form_Option::$_optionGroupID (int) does not accept default value of type null.
:92 Property CRM_Custom_Form_Option::$_id (int) in isset() is not nullable.
:233 Access to an undefined property CRM_Core_Form::$_fid.
:234 Access to an undefined property CRM_Core_Form::$_optionGroupID.
:467 Property CRM_Core_DAO_OptionValue::$value (string) does not accept int.
:471 Property CRM_Core_DAO_OptionValue::$value (string) does not accept float.
:495 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
------ ----------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Custom/Import/Form/DataSource.php
------ -------------------------------------------------------------------------------------------------------------------------------------------
:52 Property CRM_Custom_Import_Form_DataSource::$customFieldGroups (array) in isset() is not nullable.
:55 Unreachable statement - code above always terminates.
:129 Return type (CRM_Custom_Import_Parser_Api) of method CRM_Custom_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()
:130 Negated boolean expression is always false.
:135 Method CRM_Custom_Import_Form_DataSource::getParser() should return CRM_Custom_Import_Parser_Api but returns CRM_Import_Parser.
------ -------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Custom/Import/Form/MapField.php
------ -----------------------------------------------------------------------------------------------------------------------------------------
:40 Offset '_qf_default' on array{} in isset() does not exist.
:52 Return type (CRM_Custom_Import_Parser_Api) of method CRM_Custom_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()
:53 Negated boolean expression is always false.
:58 Method CRM_Custom_Import_Form_MapField::getParser() should return CRM_Custom_Import_Parser_Api but returns CRM_Import_Parser.
------ -----------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Custom/Import/Form/Preview.php
------ ----------------------------------------------------------------------------------------------------------------------------------------
:11 Return type (CRM_Custom_Import_Parser_Api) of method CRM_Custom_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()
:12 Negated boolean expression is always false.
:17 Method CRM_Custom_Import_Form_Preview::getParser() should return CRM_Custom_Import_Parser_Api but returns CRM_Import_Parser.
------ ----------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------
Line CRM/Custom/Import/Parser/Api.php
------ -----------------------------------------
:166 Variable $extends might not be defined.
------ -----------------------------------------
------ ------------------------------------------------------------------------------------------------
Line CRM/Custom/Page/AJAX.php
------ ------------------------------------------------------------------------------------------------
:113 Access to an undefined property CRM_Profile_Page_MultipleRecordFieldsListing::$_customGroupId.
:115 Access to an undefined property CRM_Profile_Page_MultipleRecordFieldsListing::$_DTparams.
------ ------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------
Line CRM/Custom/Page/Field.php
------ ------------------------------------------------------------------------------------------------------------------
:51 Static property CRM_Custom_Page_Field::$_actionLinks (array) in isset() is not nullable.
:154 Offset 'weight' does not exist on array{data_type: mixed, order: mixed, action: string}|array{data_type: mixed}.
:201 Method CRM_Custom_Page_Field::run() with return type void returns mixed but should not return anything.
------ ------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Custom/Page/Group.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
:44 Static property CRM_Custom_Page_Group::$_actionLinks (array) in isset() is not nullable.
:90 Method CRM_Custom_Page_Group::run() with return type void returns mixed but should not return anything.
:120 Offset 'weight' does not exist on array{class: '', order: mixed, action: string, extends_display: mixed}|array{class: ''}.
:129 Offset 'style' on array{class: '', order: mixed, action: string, extends_display?: mixed} in empty() does not exist.
:132 Offset 'extends' does not exist on array{class: '', order: mixed, action: string, extends_display?: mixed}.
:175 Offset 'extends_entity…' on array{action: string, class: '', extends_display: mixed, extends_entity_column_value?: mixed, order: mixed} on left
side of ?? does not exist.
:176 Offset 'extends' on array{action: string, class: '', extends_display: mixed, extends_entity_column_value?: mixed, order: mixed} on left side of ??
does not exist.
:184 If condition is always false.
:185 If condition is always false.
:188 Elseif condition is always false.
:191 Elseif condition is always false.
:195 Elseif condition is always false.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Custom/Page/Option.php
------ ----------------------------------------------------------------------------------------------------------
:58 Static property CRM_Custom_Page_Option::$_actionLinks (array) in isset() is not nullable.
:123 Variable $clause might not be defined.
:268 Method CRM_Custom_Page_Option::run() with return type void returns mixed but should not return anything.
------ ----------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Dashlet/Page/Activity.php
------ -------------------------------------------------------------------------------------------------------------
:58 Method CRM_Dashlet_Page_Activity::run() with return type void returns mixed but should not return anything.
------ -------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Dashlet/Page/AllCases.php
------ -------------------------------------------------------------------------------------------------------------
:57 Method CRM_Dashlet_Page_AllCases::run() with return type void returns mixed but should not return anything.
------ -------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Dashlet/Page/Blog.php
------ ------------------------------------------------------------------------------------------------------
:100 Method CRM_Dashlet_Page_Blog::getFeed() should return array|null but returns SimpleXMLElement|false.
:109 Cannot access property $channel on string.
------ ------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------
Line CRM/Dashlet/Page/CaseDashboard.php
------ ------------------------------------------------------------------------------------------------------------------
:41 Method CRM_Dashlet_Page_CaseDashboard::run() with return type void returns mixed but should not return anything.
------ ------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line CRM/Dashlet/Page/GettingStarted.php
------ ----------------------------------------------------------------------
:72 Method CRM_Dashlet_Page_GettingStarted::_gettingStarted() is unused.
------ ----------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line CRM/Dashlet/Page/MyCases.php
------ ------------------------------------------------------------------------------------------------------------
:57 Method CRM_Dashlet_Page_MyCases::run() with return type void returns mixed but should not return anything.
------ ------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line CRM/Dedupe/BAO/DedupeRule.php
------ -------------------------------------------------------------------------------------------
:53 Method CRM_Dedupe_BAO_DedupeRule::sql() should return string but returns null.
:210 Method CRM_Dedupe_BAO_DedupeRule::validateContacts() should return bool but returns null.
------ -------------------------------------------------------------------------------------------
------ ----------------------------------------------
Line CRM/Dedupe/Finder.php
------ ----------------------------------------------
:123 Variable $rgBao might not be defined.
:124 Variable $rgBao might not be defined.
:126 Variable $rgBao might not be defined.
:133 Variable $rgBao might not be defined.
:359 Variable $mainContacts might not be defined.
------ ----------------------------------------------
------ -------------------------------------
Line CRM/Dedupe/MergeHandler.php
------ -------------------------------------
:145 Variable $sql might not be defined.
:146 If condition is always true.
------ -------------------------------------
------- --------------------------------------------------------------------------------------------
Line CRM/Dedupe/Merger.php
------- --------------------------------------------------------------------------------------------
:812 Variable $defaultLocationId might not be defined.
:1358 Variable $migrationData on left side of ?? is never defined.
:1964 Variable $multipleFieldGroups might not be defined.
:2249 Property CRM_Member_DAO_Membership::$is_test (bool|string) does not accept int.
:2567 Result of && is always true.
:2567 Variable $existingValue in empty() always exists and is not falsy.
:2625 Call to function array_key_exists() with string and array{} will always evaluate to false.
:3200 Variable $locationOptions might not be defined.
:3203 Variable $typeOptions might not be defined.
------- --------------------------------------------------------------------------------------------
------ --------------------------------------------------
Line CRM/Event/ActionMapping.php
------ --------------------------------------------------
:225 Variable $templateReminder might not be defined.
:229 Variable $valueField might not be defined.
:229 Variable $valueTable might not be defined.
------ --------------------------------------------------
------- ------------------------------------------------------------------------------------------------------------
Line CRM/Event/BAO/Event.php
------- ------------------------------------------------------------------------------------------------------------
:85 Method CRM_Event_BAO_Event::add() should return CRM_Event_DAO_Event but returns CRM_Core_DAO.
:131 Call to an undefined static method CRM_Core_DAO::transaction().
:650 Method CRM_Event_BAO_Event::getParticipantCount() should return array but returns int.
:1112 Method CRM_Event_BAO_Event::sendMail() should return array|null but return statement is missing.
:1446 Method CRM_Event_BAO_Event::buildCustomDisplay() should return array|null but return statement is missing.
:1492 Variable $fields might not be defined.
:1612 If condition is always true.
:1699 Variable $displayValue might not be defined.
:1703 Negated boolean expression is always false.
:1707 Variable $displayValue might not be defined.
:1854 Variable $profile might not be defined.
:2064 Left side of && is always true.
:2313 Cannot access offset 1 on int.
------- ------------------------------------------------------------------------------------------------------------
------- ----------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/BAO/Participant.php
------- ----------------------------------------------------------------------------------------------------------------------------------
:24 Static property CRM_Event_BAO_Participant::$_importableFields (array) does not accept default value of type null.
:31 Static property CRM_Event_BAO_Participant::$_exportableFields (array) does not accept default value of type null.
:151 Method CRM_Event_BAO_Participant::getValues() should return CRM_Event_BAO_Participant|null but returns array<int|string, mixed>.
:283 Variable $roleValue in isset() always exists and is not nullable.
:705 Negated boolean expression is always true.
:839 Method CRM_Event_BAO_Participant::deleteParticipant() should return CRM_Event_DAO_Participant but returns false.
:911 Method CRM_Event_BAO_Participant::checkDuplicate() should return CRM_Contribute_BAO_Contribution but returns false.
:923 Method CRM_Event_BAO_Participant::checkDuplicate() should return CRM_Contribute_BAO_Contribution but returns bool.
:1074 Variable $additionalParticipants might not be defined.
:1350 Method CRM_Event_BAO_Participant::transitionParticipants() should return array|null but return statement is missing.
:1530 Method CRM_Event_BAO_Participant::eventFullMessage() should return string but returns null.
:1634 Method CRM_Event_BAO_Participant::getContactParticipantCount() should return int but returns string|null.
:1684 Method CRM_Event_BAO_Participant::getAdditionalParticipantUrl() should return array but return statement is missing.
:1695 Method CRM_Event_BAO_Participant::getAdditionalParticipantUrl() should return array but returns string.
:1720 Offset 'trxnParams' on array{from_financial_account_id: int} in empty() does not exist.
:1826 Access to an undefined property CRM_Core_Form::$_allowConfirmation.
:1870 Variable $details might not be defined.
:1876 Variable $details might not be defined.
:1878 Variable $eventTitle might not be defined.
:1882 Variable $eventId might not be defined.
:1893 Variable $start_date might not be defined.
:1904 Variable $details might not be defined.
------- ----------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/BAO/ParticipantStatusType.php
------ ------------------------------------------------------------------------------------------------------------------------------------
:30 Method CRM_Event_BAO_ParticipantStatusType::add() should return CRM_Event_BAO_ParticipantStatusType|null but returns CRM_Core_DAO.
:213 Cannot use [] for reading.
:219 Cannot use [] for reading.
:285 Cannot use [] for reading.
:286 Cannot use [] for reading.
:290 Cannot use [] for reading.
:294 Cannot use [] for reading.
:316 Cannot use [] for reading.
:317 Cannot use [] for reading.
:318 Cannot use [] for reading.
:321 Cannot use [] for reading.
------ ------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------
Line CRM/Event/BAO/Query.php
------ ------------------------------------------------------------------
:138 Access to an undefined property object::$_pseudoConstantsSelect.
:150 Access to an undefined property object::$_pseudoConstantsSelect.
:223 Access to an undefined property object::$_mode.
:224 Access to an undefined property object::$_useDistinct.
:293 Variable $key might not be defined.
:307 Variable $where might not be defined.
:384 Variable $tableName in empty() is never defined.
:402 Variable $tableName in empty() is never defined.
------ ------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Event/Badge.php
------ ------------------------------------------------------------------------------------
:34 Access to an undefined property CRM_Event_Badge::$style.
:41 Access to an undefined property CRM_Event_Badge::$format.
:42 Access to an undefined property CRM_Event_Badge::$imgExtension.
:43 Access to an undefined property CRM_Event_Badge::$imgRes.
:44 Access to an undefined property CRM_Event_Badge::$event.
:53 Access to an undefined property CRM_Event_Badge::$debug.
:54 Access to an undefined property CRM_Event_Badge::$border.
:57 Access to an undefined property CRM_Event_Badge::$debug.
:58 Access to an undefined property CRM_Event_Badge::$border.
:73 Access to an undefined property CRM_Event_Badge::$event.
:102 Method CRM_Event_Badge::getImageFileName() should return string but returns false.
:104 If condition is always true.
:105 Access to an undefined property CRM_Event_Badge::$imgExtension.
:110 Property Smarty::$template_dir (string) in isset() is not nullable.
:132 Access to an undefined property CRM_Event_Badge::$pdf.
:133 Access to an undefined property CRM_Event_Badge::$pdf.
:134 Access to an undefined property CRM_Event_Badge::$debug.
:135 Access to an undefined property CRM_Event_Badge::$pdf.
:135 Access to an undefined property CRM_Event_Badge::$pdf.
:135 Access to an undefined property CRM_Event_Badge::$pdf.
:145 Access to an undefined property CRM_Event_Badge::$event.
:149 Access to an undefined property CRM_Event_Badge::$imgRes.
:152 Access to an undefined property CRM_Event_Badge::$imgExtension.
:152 Access to an undefined property CRM_Event_Badge::$pdf.
:152 Access to an undefined property CRM_Event_Badge::$pdf.
:152 Access to an undefined property CRM_Event_Badge::$pdf.
:154 Access to an undefined property CRM_Event_Badge::$pdf.
:163 Access to an undefined property CRM_Event_Badge::$event.
:167 Access to an undefined property CRM_Event_Badge::$pdf.
:167 Access to an undefined property CRM_Event_Badge::$pdf.
:167 Access to an undefined property CRM_Event_Badge::$pdf.
:180 Access to an undefined property CRM_Event_Badge::$format.
:180 Access to an undefined property CRM_Event_Badge::$pdf.
:193 Access to an undefined property CRM_Event_Badge::$event.
------ ------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Event/Badge/Logo.php
------ ---------------------------------------------------------------------
:17 Access to an undefined property CRM_Event_Badge_Logo::$format.
:31 Access to an undefined property CRM_Event_Badge_Logo::$lMarginLogo.
:32 Access to an undefined property CRM_Event_Badge_Logo::$tMarginName.
:40 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:41 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:43 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:51 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:52 Access to an undefined property CRM_Event_Badge_Logo::$border.
:52 Access to an undefined property CRM_Event_Badge_Logo::$lMarginLogo.
:52 Access to an undefined property CRM_Event_Badge_Logo::$lMarginLogo.
:52 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:52 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:54 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:54 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:56 Access to an undefined property CRM_Event_Badge_Logo::$border.
:56 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:56 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:58 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:59 Access to an undefined property CRM_Event_Badge_Logo::$border.
:59 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:59 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:59 Access to an undefined property CRM_Event_Badge_Logo::$tMarginName.
:60 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:61 Access to an undefined property CRM_Event_Badge_Logo::$border.
:61 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:61 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
:61 Access to an undefined property CRM_Event_Badge_Logo::$pdf.
------ ---------------------------------------------------------------------
------ -------------------------------------------------------------------------
Line CRM/Event/Badge/Logo5395.php
------ -------------------------------------------------------------------------
:17 Access to an undefined property CRM_Event_Badge_Logo5395::$format.
:31 Access to an undefined property CRM_Event_Badge_Logo5395::$lMarginLogo.
:32 Access to an undefined property CRM_Event_Badge_Logo5395::$tMarginName.
:40 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:41 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:43 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:51 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:52 Access to an undefined property CRM_Event_Badge_Logo5395::$border.
:52 Access to an undefined property CRM_Event_Badge_Logo5395::$lMarginLogo.
:52 Access to an undefined property CRM_Event_Badge_Logo5395::$lMarginLogo.
:52 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:52 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:54 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:54 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:56 Access to an undefined property CRM_Event_Badge_Logo5395::$border.
:56 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:56 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:58 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:59 Access to an undefined property CRM_Event_Badge_Logo5395::$border.
:59 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:59 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:59 Access to an undefined property CRM_Event_Badge_Logo5395::$tMarginName.
:60 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:61 Access to an undefined property CRM_Event_Badge_Logo5395::$border.
:61 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:61 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
:61 Access to an undefined property CRM_Event_Badge_Logo5395::$pdf.
------ -------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Event/Badge/NameTent.php
------ ---------------------------------------------------------------------
:33 Access to an undefined property CRM_Event_Badge_NameTent::$lMargin.
:34 Access to an undefined property CRM_Event_Badge_NameTent::$tMargin.
:37 Access to an undefined property CRM_Event_Badge_NameTent::$format.
:55 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:62 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:62 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:65 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:65 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:66 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:67 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:68 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:68 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:69 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:70 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:78 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:79 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:79 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:79 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:79 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
:81 Access to an undefined property CRM_Event_Badge_NameTent::$pdf.
------ ---------------------------------------------------------------------
------ ---------------------------------------------------------------
Line CRM/Event/Badge/Simple.php
------ ---------------------------------------------------------------
:31 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:32 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:33 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:34 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:34 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:34 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:35 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:36 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:36 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:36 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:37 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:38 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:38 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:39 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:39 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:39 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:40 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:41 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:41 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:42 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:42 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
:42 Access to an undefined property CRM_Event_Badge_Simple::$pdf.
------ ---------------------------------------------------------------
------ ----------------------------------------------------------------------
Line CRM/Event/Form/EventFees.php
------ ----------------------------------------------------------------------
:33 Access to an undefined property CRM_Core_Form::$_eventId.
:60 Access to an undefined property CRM_Core_Form::$_eventId.
:66 Access to an undefined property CRM_Core_Form::$_pId.
:70 Access to an undefined property CRM_Core_Form::$_pId.
:84 Access to an undefined property CRM_Core_Form::$_discountId.
:94 Variable $details might not be defined.
:105 Access to an undefined property CRM_Core_Form::$_isPaidEvent.
:105 Access to an undefined property CRM_Core_Form::$_mode.
:113 Access to an undefined property CRM_Core_Form::$_mode.
:116 Access to an undefined property CRM_Core_Form::$_bltID.
:117 Access to an undefined property CRM_Core_Form::$_bltID.
:120 Access to an undefined property CRM_Core_Form::$_bltID.
:121 Access to an undefined property CRM_Core_Form::$_bltID.
:124 Access to an undefined property CRM_Core_Form::$_contactId.
:133 Access to an undefined property CRM_Core_Form::$_originalDiscountId.
------ ----------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Event/Form/ManageEvent.php
------ -----------------------------------------------------------------------------------------------------
:65 Property CRM_Event_Form_ManageEvent::$_campaignID (int) does not accept default value of type null.
:103 Call to an undefined method object::add().
:139 Variable $eventInfo might not be defined.
:143 Variable $eventInfo might not be defined.
:146 Elseif condition is always false.
:227 Property CRM_Event_Form_ManageEvent::$_id (int) in isset() is not nullable.
:358 Method CRM_Core_Controller::getButtonName() invoked with 1 parameter, 0 required.
------ -----------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/ManageEvent/EventInfo.php
------ --------------------------------------------------------------------------------------------------------------
:26 Property CRM_Event_Form_ManageEvent_EventInfo::$_eventType (int) does not accept default value of type null.
:74 Access to an undefined property CRM_Event_Form_ManageEvent_EventInfo::$_showHide.
:262 Method CRM_Core_Controller::getButtonName() invoked with 1 parameter, 0 required.
------ --------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line CRM/Event/Form/ManageEvent/Fee.php
------ ----------------------------------------------------------------------------------------------
:42 Property CRM_Event_Form_ManageEvent_Fee::$_inDate is never written, only read.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
:63 Variable $eventId in isset() always exists and is not nullable.
:69 Variable $eventId in isset() always exists and is not nullable.
:178 Result of && is always false.
:178 Variable $maxKey in isset() always exists and is always null.
:206 Access to an undefined property CRM_Event_Form_ManageEvent_Fee::$_showHide.
:250 Left side of && is always true.
:346 Cannot use array destructuring on string.
:396 Ternary operator condition is always true.
:399 Ternary operator condition is always true.
:434 Negated boolean expression is always true.
:441 Strict comparison using === between int|string|null and false will always evaluate to false.
------ ----------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/ManageEvent/Registration.php
------ --------------------------------------------------------------------------------------------------------------------------------------
:36 Access to an undefined property CRM_Event_Form_ManageEvent_Registration::$_addProfileBottom.
:37 Access to an undefined property CRM_Event_Form_ManageEvent_Registration::$_profileBottomNum.
:38 Access to an undefined property CRM_Event_Form_ManageEvent_Registration::$_addProfileBottomAdd.
:39 Access to an undefined property CRM_Event_Form_ManageEvent_Registration::$_profileBottomNumAdd.
:75 Access to an undefined property CRM_Event_Form_ManageEvent_Registration::$_addProfileBottom.
:75 Access to an undefined property CRM_Event_Form_ManageEvent_Registration::$_addProfileBottomAdd.
:76 Method CRM_Event_Form_ManageEvent_Registration::setDefaultValues() should return array but empty return statement found.
:83 Variable $eventId in isset() always exists and is not nullable.
:203 Access to an undefined property CRM_Event_Form_ManageEvent_Registration::$_addProfileBottom.
:204 Method CRM_Event_Form_ManageEvent_Registration::buildQuickForm() with return type void returns mixed but should not return anything.
:207 Access to an undefined property CRM_Event_Form_ManageEvent_Registration::$_addProfileBottomAdd.
:208 Method CRM_Event_Form_ManageEvent_Registration::buildQuickForm() with return type void returns mixed but should not return anything.
:258 Variable $ruleFields might not be defined.
:303 Variable $allowCoreTypes might not be defined.
:303 Variable $allowSubTypes might not be defined.
:303 Variable $profileEntities might not be defined.
:303 Variable $usedFor might not be defined.
:304 Variable $allowCoreTypes might not be defined.
:304 Variable $allowSubTypes might not be defined.
:304 Variable $profileEntities might not be defined.
:304 Variable $usedFor might not be defined.
:306 Variable $allowCoreTypes might not be defined.
:306 Variable $allowSubTypes might not be defined.
:306 Variable $profileEntities might not be defined.
:306 Variable $usedFor might not be defined.
:307 Variable $allowCoreTypes might not be defined.
:307 Variable $allowSubTypes might not be defined.
:307 Variable $profileEntities might not be defined.
:307 Variable $usedFor might not be defined.
:328 Variable $allowCoreTypes might not be defined.
:328 Variable $allowSubTypes might not be defined.
:328 Variable $profileEntities might not be defined.
:328 Variable $usedFor might not be defined.
:381 Access to an undefined property CRM_Core_Form::$_id.
:426 Access to an undefined property CRM_Event_Form_ManageEvent_Registration::$_addProfileBottom.
:426 Access to an undefined property CRM_Event_Form_ManageEvent_Registration::$_addProfileBottomAdd.
:615 Method CRM_Event_Form_ManageEvent_Registration::formRule() should return array but returns true.
:724 Method CRM_Event_Form_ManageEvent_Registration::canProfilesDedupe() should return bool but returns int.
:746 Method CRM_Event_Form_ManageEvent_Registration::canProfilesDedupe() should return bool but returns int.
:751 Method CRM_Event_Form_ManageEvent_Registration::canProfilesDedupe() should return bool but returns int.
:951 Variable $dedupeTitle might not be defined.
------ --------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/ManageEvent/Repeat.php
------ -------------------------------------------------------------------------------------------------------------------------
:21 Property CRM_Event_Form_ManageEvent_Repeat::$_parentEventStartDate (string) does not accept default value of type null.
:27 Property CRM_Event_Form_ManageEvent_Repeat::$_parentEventEndDate (string) does not accept default value of type null.
:54 Variable $allEventIds in empty() always exists and is not falsy.
:72 Variable $manageEvent might not be defined.
:187 If condition is always true.
------ -------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line CRM/Event/Form/ManageEvent/TabHeader.php
------ ----------------------------------------------------------------------------------------------
:55 Method CRM_Event_Form_ManageEvent_TabHeader::process() should return array but returns null.
------ ----------------------------------------------------------------------------------------------
------- ------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/Participant.php
------- ------------------------------------------------------------------------------------------------------------------------
:52 Property CRM_Event_Form_Participant::$_quickConfig (bool) does not accept default value of type null.
:80 Property CRM_Event_Form_Participant::$_noteId (int) does not accept default value of type null.
:130 Property CRM_Event_Form_Participant::$_eventTypeId (int) does not accept default value of type null.
:137 Property CRM_Event_Form_Participant::$_statusId (int) does not accept default value of type null.
:151 Property CRM_Event_Form_Participant::$_mode (string) does not accept default value of type null.
:158 Property CRM_Event_Form_Participant::$_eID (int) does not accept default value of type null.
:165 Property CRM_Event_Form_Participant::$_lineItem (array) does not accept default value of type null.
:196 Property CRM_Event_Form_Participant::$_originalDiscountId (int) does not accept default value of type null.
:203 Property CRM_Event_Form_Participant::$_eventId (int) does not accept default value of type null.
:210 Property CRM_Event_Form_Participant::$_paymentId (int) does not accept default value of type null.
:271 Access to an undefined property CRM_Event_Form_Participant::$_showFeeBlock.
:427 Access to an undefined property CRM_Event_Form_Participant::$_showFeeBlock.
:568 Property CRM_Event_Form_Participant::$_eventTypeId (int) in isset() is not nullable.
:588 Access to an undefined property CRM_Event_Form_Participant::$_showFeeBlock.
:589 Method CRM_Event_Form_Participant::buildQuickForm() with return type void returns bool but should not return anything.
:799 Method CRM_Event_Form_Participant::formRule() should return array but returns true.
:822 Left side of && is always false.
:822 Result of && is always false.
:893 Binary operation "." between non-falsy-string and non-empty-array results in an error.
:942 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:958 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:986 Property CRM_Event_Form_Participant::$_quickConfig (bool) does not accept int<min, -1>|int<1, max>|string.
:1001 Access to an undefined property CRM_Event_Form_Participant::$_params.
:1019 Access to an undefined property CRM_Event_Form_Participant::$_contributorDisplayName.
:1019 Access to an undefined property CRM_Event_Form_Participant::$_contributorEmail.
:1019 Access to an undefined property CRM_Event_Form_Participant::$_toDoNotEmail.
:1051 Access to an undefined property CRM_Event_Form_Participant::$_contributorEmail.
:1097 Access to an undefined property $this(CRM_Event_Form_Participant)::$_eventTypeCustomDataTypeID.
:1126 Access to an undefined property $this(CRM_Event_Form_Participant)::$_contributorEmail.
:1154 Variable $result might not be defined.
:1227 If condition is always false.
:1241 Negated boolean expression is always true.
:1357 Right side of && is always true.
:1375 Variable $lineItem might not be defined.
:1418 Variable $contributionParams might not be defined.
:1488 Variable $line might not be defined.
:1512 Variable $additionalParticipantDetails might not be defined.
:1533 Variable $receiptFrom might not be defined.
:1582 Access to an undefined property CRM_Event_Form_Participant::$_eventTypeCustomDataTypeID.
:1601 Access to an undefined property CRM_Event_Form_Participant::$_contributorDisplayName.
:1603 Access to an undefined property CRM_Event_Form_Participant::$_contributorEmail.
:1612 Access to an undefined property CRM_Event_Form_Participant::$_contributorDisplayName.
:1614 Access to an undefined property CRM_Event_Form_Participant::$_contributorEmail.
:1641 Property CRM_Event_Form_Participant::$_isPaidEvent (bool) does not accept int|string|null.
:1666 Variable $totalTaxAmount on left side of ?? always exists and is not nullable.
:1675 Call to an undefined method object::add().
:1772 Method CRM_Event_Form_Participant::buildEventFeeForm() should return bool but return statement is missing.
:1820 Offset 0 on array{} in isset() does not exist.
:1832 Empty array passed to foreach.
:2008 Access to an undefined property CRM_Core_Form::$_contributeMode.
:2009 Access to an undefined property CRM_Core_Form::$_bltID.
:2017 Access to an undefined property CRM_Core_Form::$_eventId.
:2047 Access to an undefined property CRM_Core_Form::$_eventId.
:2125 Property CRM_Event_Form_Participant::$_event (array) in isset() is not nullable.
:2152 Property CRM_Event_Form_Participant::$_id (int) on left side of ?? is not nullable.
------- ------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/ParticipantFeeSelection.php
------ -------------------------------------------------------------------------------------------------------------
:41 Property CRM_Event_Form_ParticipantFeeSelection::$_action (int) does not accept default value of type null.
:258 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:278 Access to an undefined property CRM_Event_Form_ParticipantFeeSelection::$_fromEmails.
:325 Access to an undefined property CRM_Event_Form_ParticipantFeeSelection::$_mode.
:366 Variable $receiptFrom might not be defined.
------ -------------------------------------------------------------------------------------------------------------
------- ----------------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/Registration.php
------- ----------------------------------------------------------------------------------------------------------------
:53 Property CRM_Event_Form_Registration::$_participantIDS (int) does not accept default value of type null.
:131 Property CRM_Event_Form_Registration::$_priceSetId (int) does not accept default value of type null.
:232 Offset 'event' does not exist on array{}.
:235 Offset 'event' on array{} on left side of ?? does not exist.
:237 Left side of && is always false.
:237 Result of && is always false.
:239 Binary operation "." between 'add contributions…' and array results in an error.
:239 Offset 'event' does not exist on array{}.
:251 Left side of && is always false.
:251 Offset 'event' does not exist on array{}.
:262 Offset 'event' on array{} on left side of ?? does not exist.
:266 Negated boolean expression is always true.
:269 Offset 'event' on array{} on left side of ?? does not exist.
:270 Negated boolean expression is always true.
:279 Negated boolean expression is always true.
:279 Offset 'event' on array{} in empty() does not exist.
:279 Result of && is always false.
:284 Offset 'event' on array{} in isset() does not exist.
:289 Offset 'event' does not exist on array{}.
:292 Left side of && is always false.
:292 Offset 'event' on array{} in empty() does not exist.
:294 Offset 'event' does not exist on array{}.
:404 Access to an undefined property object::$_isBillingAddressRequiredForPayLater.
:405 Call to an undefined method object::assign().
:456 Variable $params might not be defined.
:459 Access to an undefined property CRM_Event_Form_Registration::$_contributeMode.
:626 Binary operation "." between 'add contributions…' and array results in an error.
:670 Access to an undefined property CRM_Core_Form::$_id.
:673 Access to an undefined property CRM_Core_Form::$_participantId.
:680 Access to an undefined property CRM_Core_Form::$_id.
:685 Access to an undefined property CRM_Core_Form::$_values.
:693 Access to an undefined property CRM_Core_Form::$_priceSetId.
:695 Access to an undefined property CRM_Core_Form::$_priceSet.
:696 Access to an undefined property CRM_Core_Form::$_values.
:765 Call to an undefined method object::set().
:766 Call to an undefined method object::set().
:769 Call to an undefined method object::processFirstParticipant().
:774 Call to an undefined method object::set().
:820 Access to an undefined property object::$_allowWaitlist.
:820 Access to an undefined property object::$_requireApproval.
:825 Variable $mail might not be defined.
:842 Method CRM_Event_Form_Registration::addParticipant() should return CRM_Event_BAO_Participant but returns null.
:850 Access to an undefined property CRM_Core_Form::$_participantId.
:864 Access to an undefined property CRM_Core_Form::$_eventId.
:913 Cannot use array destructuring on int.
:1348 Access to an undefined property CRM_Core_Form::$_feeBlock.
:1419 Variable $soldOutPnum might not be defined.
:1423 Variable $soldOutPnum might not be defined.
:1427 Variable $soldOutPnum might not be defined.
:1545 Access to an undefined property CRM_Event_Form_Registration::$_participantInfo.
:1693 Strict comparison using === between int|string|false and null will always evaluate to false.
------- ----------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/Registration/AdditionalParticipant.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:28 Property CRM_Event_Form_Registration_AdditionalParticipant::$additionalParticipantId (int) does not accept default value of type null.
:62 Access to an undefined property CRM_Event_Form_Registration_AdditionalParticipant::$_additionalParticipantId.
:65 Binary operation "+" between string and 1 results in an error.
:78 Access to an undefined property CRM_Event_Form_Registration_AdditionalParticipant::$_lastParticipant.
:92 Return type (void) of method CRM_Event_Form_Registration_AdditionalParticipant::setDefaultValues() should be compatible with return type (array)
of method CRM_Core_Form::setDefaultValues()
:105 Access to an undefined property CRM_Event_Form_Registration_AdditionalParticipant::$_feeBlock.
:128 Access to an undefined property CRM_Event_Form_Registration_AdditionalParticipant::$_additionalParticipantId.
:130 Access to an undefined property CRM_Event_Form_Registration_AdditionalParticipant::$_discountId.
:131 Access to an undefined property CRM_Event_Form_Registration_AdditionalParticipant::$_pId.
:132 Access to an undefined property CRM_Event_Form_Registration_AdditionalParticipant::$_contactId.
:141 Access to an undefined property object::$_bltID.
:169 Method CRM_Event_Form_Registration_AdditionalParticipant::setDefaultValues() with return type void returns mixed but should not return anything.
:188 Call to an undefined method object::buildCustom().
:214 Access to an undefined property object::$_lastParticipant.
:218 Access to an undefined property object::$_availableRegistrations.
:229 Variable $processedCnt might not be defined.
:231 Access to an undefined property object::$_allowWaitlist.
:232 Call to an undefined method object::set().
:242 Variable $processedCnt might not be defined.
:243 Access to an undefined property object::$_requireApproval.
:244 Access to an undefined property object::$_allowWaitlist.
:245 Call to an undefined method object::set().
:246 Access to an undefined property object::$_requireApproval.
:248 Variable $processedCnt might not be defined.
:254 Variable $processedCnt might not be defined.
:261 Variable $processedCnt might not be defined.
:268 Variable $processedCnt might not be defined.
:270 Access to an undefined property object::$_requireApproval.
:272 Access to an undefined property object::$_resetAllowWaitlist.
:273 Access to an undefined property object::$_requireApproval.
:290 Access to an undefined property object::$_allowConfirmation.
:293 Access to an undefined property object::$_isEventFull.
:296 Access to an undefined property object::$_allowWaitlist.
:297 Access to an undefined property object::$_availableRegistrations.
:297 Negated boolean expression is always true.
:297 Variable $processedCnt might not be defined.
:302 Access to an undefined property object::$_requireApproval.
:307 Call to an undefined method object::assign().
:308 Call to an undefined method object::assign().
:310 Access to an undefined property object::$_availableRegistrations.
:310 Call to an undefined method object::assign().
:311 Call to an undefined method object::assign().
:311 Variable $processedCnt might not be defined.
:312 Call to an undefined method object::assign().
:317 Variable $realPayLater might not be defined.
:323 Call to an undefined method object::assign().
:426 Variable $mailKey might not be defined.
:459 Access to an undefined property object::$_allowWaitlist.
:461 Access to an undefined property object::$_requireApproval.
:468 Negated boolean expression is always true.
:487 Access to an undefined property object::$_allowWaitlist.
:489 Access to an undefined property object::$_requireApproval.
:620 Access to an undefined property object::$_availableRegistrations.
:622 Access to an undefined property object::$_allowWaitlist.
:645 Access to an undefined property object::$_lineItemParticipantsCount.
:721 Call to an undefined method object::isLastParticipant().
:723 Call to an undefined method object::processRegistration().
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------- -----------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/Registration/Confirm.php
------- -----------------------------------------------------------------------------------------------------------------------
:67 Call to an undefined method object::set().
:68 Call to an undefined method object::assign().
:88 Call to an undefined method object::setTitle().
:108 Access to an undefined property CRM_Event_Form_Registration_Confirm::$_contributeMode.
:184 Comparison operation "==" between 0|0.0|''|'0'|array{}|false|null and 0 results in an error.
:187 Access to an undefined property CRM_Event_Form_Registration_Confirm::$_amount.
:229 Access to an undefined property CRM_Event_Form_Registration_Confirm::$_part.
:247 Variable $individual might not be defined.
:248 Variable $individual might not be defined.
:251 Access to an undefined property CRM_Event_Form_Registration_Confirm::$_part.
:252 Access to an undefined property CRM_Event_Form_Registration_Confirm::$_part.
:348 Access to an undefined property CRM_Event_Form_Registration_Confirm::$_feeBlock.
:352 Access to an undefined property object::$_allowWaitlist.
:352 Access to an undefined property object::$_requireApproval.
:405 Access to an undefined property CRM_Event_Form_Registration_Confirm::$_amount.
:498 Call to an undefined method object::get().
:556 Negated boolean expression is always true.
:556 Negated boolean expression is always true.
:634 Access to an undefined property object::$_participantIDS.
:637 Access to an undefined property object::$_allowConfirmation.
:652 Access to an undefined property object::$_allowConfirmation.
:672 Call to an undefined method object::assign().
:673 Call to an undefined method object::assign().
:736 Strict comparison using === between int<min, -1>|int<1, max>|non-falsy-string and null will always evaluate to false.
:805 Strict comparison using === between int|string|false and null will always evaluate to false.
:843 Call to an undefined method object::get().
:846 Call to an undefined method object::assign().
:856 Variable $dataArray might not be defined.
:964 Access to an undefined property CRM_Event_Form_Registration_Confirm::$_contributeMode.
:1022 Access to an undefined property CRM_Core_Form::$_bltID.
:1023 Access to an undefined property CRM_Core_Form::$_bltID.
:1026 Access to an undefined property CRM_Core_Form::$_bltID.
:1031 Access to an undefined property CRM_Core_Form::$_values.
:1032 Access to an undefined property CRM_Core_Form::$_allowWaitlist.
:1033 Access to an undefined property CRM_Core_Form::$_requireApproval.
:1034 Access to an undefined property CRM_Core_Form::$_bltID.
:1036 Access to an undefined property CRM_Core_Form::$_bltID.
:1144 Access to an undefined property CRM_Core_Form::$_bltID.
:1251 Access to an undefined property CRM_Event_Form_Registration_Confirm::$_amount.
:1256 Access to an undefined property CRM_Event_Form_Registration_Confirm::$_contributeMode.
------- -----------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/Registration/ParticipantConfirm.php
------ --------------------------------------------------------------------------------------------------------------------
:30 Property CRM_Event_Form_Registration_ParticipantConfirm::$_cc (string) does not accept default value of type null.
:93 Access to an undefined property CRM_Event_Form_Registration_ParticipantConfirm::$_participantStatusId.
:128 Access to an undefined property CRM_Event_Form_Registration_ParticipantConfirm::$_participantStatusId.
:168 Access to an undefined property CRM_Event_Form_Registration_ParticipantConfirm::$_csContactID.
------ --------------------------------------------------------------------------------------------------------------------
------- ---------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/Registration/Register.php
------- ---------------------------------------------------------------------------------------------------------------------
:224 Access to an undefined property object::$_defaults.
:233 Access to an undefined property object::$_paymentProcessor.
:235 Access to an undefined property object::$_defaults.
:242 Access to an undefined property object::$_defaults.
:243 Access to an undefined property object::$_values.
:251 Access to an undefined property object::$_defaults.
:262 Access to an undefined property object::$_eventId.
:270 Access to an undefined property object::$_defaults.
:410 Access to an undefined property object::$_waitlistMsg.
:412 Access to an undefined property object::$_requireApproval.
:413 Access to an undefined property object::$_requireApprovalMsg.
:478 Variable $profileID might not be defined.
:562 Property CRM_Event_Form_Registration::$_priceSet (array) on left side of ?? is not nullable.
:576 Access to an undefined property CRM_Event_Form_Registration_Register::$_discountId.
:604 Access to an undefined property object::$_quickConfig.
:1099 If condition is always true.
:1199 Method CRM_Event_Form_Registration_Register::checkRegistration() should return int but returns false.
:1204 Method CRM_Event_Form_Registration_Register::checkRegistration() should return int but return statement is missing.
:1214 Property CRM_Event_DAO_Participant::$is_test (bool|string) does not accept int.
------- ---------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line CRM/Event/Form/Registration/ThankYou.php
------ --------------------------------------------------------------------------------------
:34 Access to an undefined property CRM_Event_Form_Registration_ThankYou::$_part.
:35 Access to an undefined property CRM_Event_Form_Registration_ThankYou::$_totalAmount.
:36 Access to an undefined property CRM_Event_Form_Registration_ThankYou::$_receiveDate.
:37 Access to an undefined property CRM_Event_Form_Registration_ThankYou::$_trxnId.
:113 Access to an undefined property CRM_Event_Form_Registration_ThankYou::$_totalAmount.
:120 Access to an undefined property CRM_Event_Form_Registration_ThankYou::$_receiveDate.
:121 Access to an undefined property CRM_Event_Form_Registration_ThankYou::$_trxnId.
:124 Access to an undefined property CRM_Event_Form_Registration_ThankYou::$_totalAmount.
:198 Property CRM_PCP_DAO_PCPBlock::$is_active (bool|string) does not accept int.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Event/Form/Search.php
------ --------------------------------------------------------------------------------------------
:42 Property CRM_Event_Form_Search::$_limit (bool) does not accept default value of type null.
:89 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:279 Property CRM_Event_Form_Search::$_ssID (int) in isset() is not nullable.
:299 Call to an undefined method CRM_Core_StateMachine::getTaskFormName().
:392 Variable $roleTypes might not be defined.
:461 Variable $statusTypes might not be defined.
------ --------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line CRM/Event/Form/SearchEvent.php
------ -------------------------------------------------------------------------------------------------
:33 Access to an undefined property CRM_Event_Form_SearchEvent::$_showHide.
:34 Offset 'eventsByDates' on array{eventsByDates: 0} in empty() always exists and is always falsy.
------ -------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/SelfSvcTransfer.php
------ --------------------------------------------------------------------------------------------------------------------------------------
:88 PHPDoc type string of property CRM_Event_Form_SelfSvcTransfer::$_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
:94 Property CRM_Event_Form_SelfSvcTransfer::$_participant (string) does not accept default value of type array.
:137 Access to an undefined property CRM_Event_Form_SelfSvcTransfer::$_userContext.
:192 Access to an undefined property CRM_Event_Form_SelfSvcTransfer::$_contact_email.
:441 Offset string does not exist on array{}.
:443 Offset string does not exist on array{}.
:454 Access to an undefined property CRM_Event_Form_SelfSvcTransfer::$_contact_name.
:455 Access to an undefined property CRM_Event_Form_SelfSvcTransfer::$_contact_email.
------ --------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/SelfSvcUpdate.php
------ ------------------------------------------------------------------------------------------------------------------------------------
:73 PHPDoc type string of property CRM_Event_Form_SelfSvcUpdate::$_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
:79 Property CRM_Event_Form_SelfSvcUpdate::$_participant (string) does not accept default value of type array.
:109 Access to an undefined property CRM_Event_Form_SelfSvcUpdate::$_userContext.
:235 Access to an undefined property CRM_Event_Form_SelfSvcUpdate::$_userChecksum.
:278 Offset string does not exist on array{}.
:280 Offset string does not exist on array{}.
------ ------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line CRM/Event/Form/Task.php
------ -------------------------------------------------------------------------------
:56 Access to an undefined property CRM_Core_Form_Task::$_participantIds.
:119 Property CRM_Core_Form_Task::$_contactIds (array) in isset() is not nullable.
:122 Unreachable statement - code above always terminates.
------ -------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------
Line CRM/Event/Form/Task/Batch.php
------ -----------------------------------------------------------------------------------------
:90 Access to an undefined property CRM_Event_Form_Task_Batch::$_fields.
:134 Access to an undefined property CRM_Event_Form_Task_Batch::$_componentCampaigns.
:145 Access to an undefined property CRM_Event_Form_Task_Batch::$_roleCustomDataTypeID.
:146 Access to an undefined property CRM_Event_Form_Task_Batch::$_eventNameCustomDataTypeID.
:147 Access to an undefined property CRM_Event_Form_Task_Batch::$_eventTypeCustomDataTypeID.
:159 Access to an undefined property CRM_Event_Form_Task_Batch::$_customFields.
:247 Variable $details might not be defined.
:439 Variable $fromStatusId might not be defined.
------ -----------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------
Line CRM/Event/Form/Task/Delete.php
------ ----------------------------------------------------------------------------------------
:119 Binary operation "." between non-falsy-string and non-empty-array results in an error.
------ ----------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line CRM/Event/Form/Task/PDF.php
------ ---------------------------------------------------------------------------------------------------
:41 Property CRM_Event_Form_Task_PDF::$_templates (array) does not accept default value of type null.
------ ---------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Event/Form/Task/PickProfile.php
------ ------------------------------------------------------------------------------------------
:115 Method CRM_Event_Form_Task_PickProfile::formRule() should return array but returns true.
------ ------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/Task/SaveSearch.php
------ --------------------------------------------------------------------------------------------------------
:39 Property CRM_Event_Form_Task_SaveSearch::$_id (int) does not accept null.
:53 Class CRM_Event_BAO_Query does not have a constructor and must be instantiated without any parameters.
:73 Property CRM_Event_Form_Task_SaveSearch::$_id (int) in isset() is not nullable.
------ --------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Form/Task/SaveSearch/Update.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------
:47 Return type (void) of method CRM_Event_Form_Task_SaveSearch_Update::setDefaultValues() should be compatible with return type (array) of method
CRM_Core_Form::setDefaultValues()
:55 Method CRM_Event_Form_Task_SaveSearch_Update::setDefaultValues() with return type void returns mixed but should not return anything.
------ ------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Import/Form/DataSource.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------
:56 Return type (CRM_Event_Import_Parser_Participant) of method CRM_Event_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()
:57 Negated boolean expression is always false.
:62 Method CRM_Event_Import_Form_DataSource::getParser() should return CRM_Event_Import_Parser_Participant but returns CRM_Import_Parser.
------ -------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Import/Form/MapField.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
:127 Return type (CRM_Event_Import_Parser_Participant) of method CRM_Event_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()
:128 Negated boolean expression is always false.
:133 Method CRM_Event_Import_Form_MapField::getParser() should return CRM_Event_Import_Parser_Participant but returns CRM_Import_Parser.
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Import/Form/Preview.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------
:27 Return type (CRM_Event_Import_Parser_Participant) of method CRM_Event_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()
:28 Negated boolean expression is always false.
:33 Method CRM_Event_Import_Form_Preview::getParser() should return CRM_Event_Import_Parser_Participant but returns CRM_Import_Parser.
------ ----------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Import/Parser/Participant.php
------ ----------------------------------------------------------------------------------------------------------------------------
:131 Strict comparison using === between mixed and '' will always evaluate to false.
:166 Method CRM_Event_Import_Parser_Participant::deprecated_participant_check_params() invoked with 3 parameters, 1-2 required.
:170 Static method CRM_Event_BAO_Participant::create() invoked with 2 parameters, 1 required.
:179 Access to an undefined property CRM_Event_Import_Parser_Participant::$_newParticipant.
:236 Variable $newParticipant might not be defined.
:257 Variable $newParticipant might not be defined.
:265 Variable $newParticipant might not be defined.
:459 If condition is always true.
------ ----------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------
Line CRM/Event/Page/DashBoard.php
------ -------------------------------------------------------------------
:30 Variable $eventSummary in empty() always exists and is not falsy.
------ -------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line CRM/Event/Page/EventInfo.php
------ ------------------------------------------------------------------------------------------------------------
:42 Method CRM_Event_Page_EventInfo::run() with return type void returns mixed but should not return anything.
:64 Negated boolean expression is always true.
:64 Result of || is always true.
:66 Method CRM_Event_Page_EventInfo::run() with return type void returns mixed but should not return anything.
:69 Unreachable statement - code above always terminates.
:343 Access to an undefined property CRM_Event_Page_EventInfo::$_id.
------ ------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------
Line CRM/Event/Page/ManageEvent.php
------ ---------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Event_Page_ManageEvent::$_actionLinks (array) does not accept default value of type null.
:34 Static property CRM_Event_Page_ManageEvent::$_eventLinks (array) does not accept default value of type null.
:262 Method CRM_Event_Page_ManageEvent::run() with return type void returns mixed but should not return anything.
:272 Method CRM_Event_Page_ManageEvent::run() with return type void returns mixed but should not return anything.
:465 Method CRM_Event_Page_ManageEvent::copy() with return type void returns mixed but should not return anything.
:517 Variable $type might not be defined.
:521 Access to an undefined property CRM_Event_Page_ManageEvent::$_searchResult.
------ ---------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------
Line CRM/Event/Page/Tab.php
------ ------------------------------------------------------------------------------------------------
:19 Property CRM_Event_Page_Tab::$_permission (string) does not accept default value of type null.
:29 Access to an undefined property CRM_Event_Page_Tab::$_action.
:64 Access to an undefined property CRM_Event_Page_Tab::$_action.
:67 Access to an undefined property CRM_Event_Page_Tab::$_id.
:107 Access to an undefined property CRM_Event_Page_Tab::$_action.
:111 Access to an undefined property CRM_Event_Page_Tab::$_id.
:162 Access to an undefined property CRM_Event_Page_Tab::$_action.
:165 Access to an undefined property CRM_Event_Page_Tab::$_action.
:168 Access to an undefined property CRM_Event_Page_Tab::$_action.
:291 Access to an undefined property CRM_Event_Page_Tab::$_id.
------ ------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/Selector/Search.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------
:31 Static property CRM_Event_Selector_Search::$_links (array) does not accept default value of type null.
:79 Property CRM_Event_Selector_Search::$_limit (bool) does not accept default value of type null.
:86 Property CRM_Event_Selector_Search::$_context (string) does not accept default value of type null.
:93 Property CRM_Event_Selector_Search::$_compContext (string) does not accept default value of type null.
:115 Property CRM_Event_Selector_Search::$_eventClause (string) does not accept default value of type null.
:144 Parameter $action of method CRM_Event_Selector_Search::__construct() has invalid type const.
:155 Property CRM_Event_Selector_Search::$_limit (bool) does not accept int|null.
:157 Property CRM_Event_Selector_Search::$_compContext (string) does not accept null.
:182 Property CRM_Event_Selector_Search::$_limit (bool) does not accept int.
:203 Elseif condition is always false.
:264 Parameter #1 $action (int) of method CRM_Event_Selector_Search::getTotalCount() should be compatible with parameter $action (string) of method
CRM_Core_Selector_API::getTotalCount()
:265 Method CRM_Event_Selector_Search::getTotalCount() should return int but returns CRM_Core_DAO|string|null.
:290 Return type (array) of method CRM_Event_Selector_Search::getRows() should be compatible with return type (int) of method
CRM_Core_Selector_API::getRows()
:456 Static property CRM_Event_Selector_Search::$_columnHeaders (array) in isset() is not nullable.
------ ------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line CRM/Event/StateMachine/Registration.php
------ -------------------------------------------------------------------------------------------
:73 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ -------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line CRM/Event/StateMachine/Search.php
------ -------------------------------------------------------------------------------------------
:52 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ -------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/WorkflowMessage/EventExamples.php
------ ------------------------------------------------------------------------------------------------------------------------------
:73 Method CRM_Event_WorkflowMessage_EventExamples::getPriceSets() never returns null so it can be removed from the return type.
------ ------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/WorkflowMessage/ParticipantTrait.php (in context of class CRM_Event_WorkflowMessage_EventOfflineReceipt)
------ -----------------------------------------------------------------------------------------------------------------------------------------
:27 Method CRM_Event_WorkflowMessage_EventOfflineReceipt::setEventID() has invalid return type CRM_Event_WorkflowMessage_ParticipantTrait.
:29 Method CRM_Event_WorkflowMessage_EventOfflineReceipt::setEventID() should return CRM_Event_WorkflowMessage_ParticipantTrait but returns
$this(CRM_Event_WorkflowMessage_EventOfflineReceipt).
------ -----------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/WorkflowMessage/ParticipantTrait.php (in context of class CRM_Event_WorkflowMessage_EventOnlineReceipt)
------ ----------------------------------------------------------------------------------------------------------------------------------------
:27 Method CRM_Event_WorkflowMessage_EventOnlineReceipt::setEventID() has invalid return type CRM_Event_WorkflowMessage_ParticipantTrait.
:29 Method CRM_Event_WorkflowMessage_EventOnlineReceipt::setEventID() should return CRM_Event_WorkflowMessage_ParticipantTrait but returns
$this(CRM_Event_WorkflowMessage_EventOnlineReceipt).
------ ----------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/WorkflowMessage/ParticipantTrait.php (in context of class CRM_Event_WorkflowMessage_ParticipantCancelled)
------ ------------------------------------------------------------------------------------------------------------------------------------------
:27 Method CRM_Event_WorkflowMessage_ParticipantCancelled::setEventID() has invalid return type CRM_Event_WorkflowMessage_ParticipantTrait.
:29 Method CRM_Event_WorkflowMessage_ParticipantCancelled::setEventID() should return CRM_Event_WorkflowMessage_ParticipantTrait but returns
$this(CRM_Event_WorkflowMessage_ParticipantCancelled).
------ ------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Event/WorkflowMessage/ParticipantTrait.php (in context of class CRM_Event_WorkflowMessage_ParticipantTransferred)
------ --------------------------------------------------------------------------------------------------------------------------------------------
:27 Method CRM_Event_WorkflowMessage_ParticipantTransferred::setEventID() has invalid return type CRM_Event_WorkflowMessage_ParticipantTrait.
:29 Method CRM_Event_WorkflowMessage_ParticipantTransferred::setEventID() should return CRM_Event_WorkflowMessage_ParticipantTrait but returns
$this(CRM_Event_WorkflowMessage_ParticipantTransferred).
------ --------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line CRM/Export/BAO/Export.php
------ ---------------------------------------------------------------------------------------------------
:39 PHPDoc tag @var above a method has no effect.
:39 PHPDoc tag @var does not specify variable name.
:199 Static method CRM_Export_BAO_Export::writeDetailsToTable() invoked with 3 parameters, 2 required.
------ ---------------------------------------------------------------------------------------------------
------- -----------------------------------------------------------------------------------------------------------------------------
Line CRM/Export/BAO/ExportProcessor.php
------- -----------------------------------------------------------------------------------------------------------------------------
:1067 Method CRM_Export_BAO_ExportProcessor::getHouseholdMergeTypeForRow() should return bool but return statement is missing.
:1103 Method CRM_Export_BAO_ExportProcessor::getTransformedFieldValue() should return string but returns (float|int).
:1107 Method CRM_Export_BAO_ExportProcessor::getTransformedFieldValue() should return string but returns (array|float|int).
:1259 Method CRM_Export_BAO_ExportProcessor::isExportSpecifiedPaymentFields() should return bool but return statement is missing.
:1781 Expression on left side of ?? is not nullable.
:1784 Expression on left side of ?? is not nullable.
------- -----------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line CRM/Export/Controller/Standalone.php
------ -----------------------------------------------------------------------------------------------
:53 Static method CRM_Core_DAO::getEntityTitle() invoked with 1 parameter, 0 required.
:72 Method CRM_Export_Controller_Standalone::getComponent() invoked with 1 parameter, 0 required.
------ -----------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line CRM/Export/Form/Map.php
------ -----------------------------------------------------------------------------------
:115 Method CRM_Core_Controller::getButtonName() invoked with 1 parameter, 0 required.
------ -----------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line CRM/Export/Form/Select.php
------ -------------------------------------------------------------------------------
:81 Access to an undefined property CRM_Export_Form_Select::$_selectAll.
:84 Property CRM_Core_Form_Task::$_componentClause (string) does not accept null.
:101 Access to an undefined property CRM_Export_Form_Select::$_matchingContacts.
:136 Access to an undefined property CRM_Export_Form_Select::$_selectAll.
:139 Access to an undefined property CRM_Export_Form_Select::$_matchingContacts.
:144 Access to an undefined property CRM_Export_Form_Select::$_matchingContacts.
:146 Access to an undefined property CRM_Export_Form_Select::$_selectAll.
:185 Access to an undefined property CRM_Export_Form_Select::$_matchingContacts.
:186 Access to an undefined property CRM_Export_Form_Select::$_greetingOptions.
:246 Access to an undefined property CRM_Export_Form_Select::$_matchingContacts.
:256 Access to an undefined property CRM_Export_Form_Select::$_greetingOptions.
:295 Access to an undefined property CRM_Export_Form_Select::$_selectAll.
:362 Variable $exportType might not be defined.
:364 Variable $exportType might not be defined.
------ -------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------
Line CRM/Export/StateMachine/Standalone.php
------ -------------------------------------------------------------------------------------------------------
:26 Parameter $action of method CRM_Export_StateMachine_Standalone::__construct() has invalid type const.
:36 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ -------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------
Line CRM/Extension/Browser.php
------ -------------------------------------------------------------------------------------------------------
:66 Property CRM_Extension_Browser::$guzzleClient (GuzzleHttp\Client) on left side of ?? is not nullable.
:214 Strict comparison using === between false and string will always evaluate to false.
------ -------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line CRM/Extension/ClassLoader.php
------ ---------------------------------------------------------------------------------------------------
:108 Unsafe access to private property CRM_Extension_ClassLoader::$newExtensions through static::.
:109 Unsafe call to private method CRM_Extension_ClassLoader::loadExtension() through static::.
:116 If condition is always true.
:118 Property CRM_Extension_ClassLoader::$loader (Composer\Autoload\ClassLoader) does not accept null.
:144 Unsafe access to private property CRM_Extension_ClassLoader::$newExtensions through static::.
:145 If condition is always true.
:166 Call to an undefined method Composer\Autoload\ClassLoader::addPsr4().
:169 Call to an undefined method Composer\Autoload\ClassLoader::addPsr4().
------ ---------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------
Line CRM/Extension/Container/Basic.php
------ ----------------------------------------------------------------------------------------------------------------
:58 Property CRM_Extension_Container_Basic::$relPaths (array) does not accept default value of type false.
:70 Property CRM_Extension_Container_Basic::$relUrls (array) does not accept default value of type false.
:135 Method CRM_Extension_Container_Basic::getKeys() has invalid return type array_keys.
:136 Method CRM_Extension_Container_Basic::getKeys() should return array_keys but returns array<int, (int|string)>.
:167 Property CRM_Extension_Container_Basic::$relPaths (array) does not accept null.
------ ----------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------
Line CRM/Extension/Container/Static.php
------ ------------------------------------------------------------------------
:47 Access to an undefined property CRM_Extension_Container_Static::$name.
------ ------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Extension/Downloader.php
------ ----------------------------------------------------------------------------------------------------------
:63 Property CRM_Extension_Downloader::$guzzleClient (GuzzleHttp\Client) on left side of ?? is not nullable.
------ ----------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------
Line CRM/Extension/Manager.php
------ -------------------------------------------------------------------------------------
:287 Property CRM_Extension_Manager::$statuses (array) does not accept null.
:302 Property CRM_Extension_Manager::$statuses (array) does not accept null.
:314 Property CRM_Extension_Manager::$statuses (array) does not accept null.
:435 Property CRM_Extension_Manager::$statuses (array) does not accept null.
:495 Property CRM_Extension_Manager::$statuses (array) does not accept null.
:576 Property CRM_Extension_Manager::$statuses (array) does not accept null.
:668 Property CRM_Core_DAO_Extension::$is_active (bool|string|null) does not accept int.
:686 Property CRM_Core_DAO_Extension::$is_active (bool|string|null) does not accept int.
------ -------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------
Line CRM/Extension/Manager/Payment.php
------ ------------------------------------------------------------------------------------------------
:53 Property CRM_Financial_DAO_PaymentProcessorType::$is_active (bool|string) does not accept int.
:189 Method CRM_Extension_Mapper::keyToClass() invoked with 2 parameters, 1 required.
:237 Variable $processor_id might not be defined.
------ ------------------------------------------------------------------------------------------------
------ --------------------------------------------
Line CRM/Extension/Manager/Search.php
------ --------------------------------------------
:63 Ternary operator condition is always true.
------ --------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Extension/Mapper.php
------ -------------------------------------------------------------------------------------------------------------
:56 Property CRM_Extension_Mapper::$moduleExtensions (array) does not accept default value of type null.
:292 Left side of && is always true.
:320 If condition is always true.
:535 Property CRM_Extension_Mapper::$moduleExtensions (array) does not accept null.
:536 If condition is always true.
:555 Method CRM_Extension_Mapper::getUpgradeLink() should return string but return statement is missing.
:555 Variable $remoteExtensionInfo in empty() always exists and is not falsy.
:583 Method CRM_Extension_Mapper::getUpgrader() should return CRM_Extension_Upgrader_Interface but returns null.
------ -------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------
Line CRM/Extension/MixinScanner.php
------ ------------------------------------------------------------------------------------------------
:81 Method CRM_Extension_MixinScanner::build() has invalid return type funcFiles.
:81 Method CRM_Extension_MixinScanner::build() has invalid return type mixInfos.
:117 Property CRM_Extension_MixinScanner::$allFuncFiles (array) on left side of ?? is not nullable.
:132 Variable $ext in PHPDoc tag @var does not match any variable in the foreach loop: $verExpr
:137 Unsafe call to private method CRM_Extension_MixinScanner::satisfies() through static::.
:150 Property CRM_Extension_MixinScanner::$allFuncFiles (array) does not accept null.
------ ------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Extension/System.php
------ -----------------------------------------------------------------------------------------------------
:44 Property CRM_Extension_System::$_repoUrl (string|false) does not accept default value of type null.
------ -----------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Extension/Upgrader/QueueTrait.php (in context of class CRM_Extension_Upgrader_Base)
------ ------------------------------------------------------------------------------------------
:51 Property CRM_Extension_Upgrader_Base::$ctx (CRM_Queue_TaskContext) does not accept null.
------ ------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Extension/Upgrades.php
------ ------------------------------------------------------------------------------------
:164 Property CRM_Extension_Info::$requires (array) on left side of ?? is not nullable.
------ ------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Financial/BAO/ExportFormat.php
------ ----------------------------------------------------------------------------------------------------------
:47 Static property CRM_Financial_BAO_ExportFormat::$_template (CRM_Core_Smarty) in isset() is not nullable.
:70 Access to an undefined property CRM_Financial_BAO_ExportFormat::$_batchIds.
:127 Method CRM_Financial_BAO_ExportFormat::format() should return null but returns mixed.
:140 Access to an undefined property CRM_Financial_BAO_ExportFormat::$_downloadFile.
:142 Access to an undefined property CRM_Financial_BAO_ExportFormat::$_downloadFile.
:157 Access to an undefined property CRM_Financial_BAO_ExportFormat::$_downloadFile.
:158 Access to an undefined property CRM_Financial_BAO_ExportFormat::$_downloadFile.
:161 Access to an undefined property CRM_Financial_BAO_ExportFormat::$_downloadFile.
:236 If condition is always true.
:236 Variable $validFiles might not be defined.
------ ----------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------
Line CRM/Financial/BAO/ExportFormat/CSV.php
------ -------------------------------------------------------------------------------------
:117 Access to an undefined property CRM_Financial_BAO_ExportFormat_CSV::$_batchIds.
:118 Access to an undefined property CRM_Financial_BAO_ExportFormat_CSV::$_downloadFile.
:158 Access to an undefined property CRM_Financial_BAO_ExportFormat_CSV::$_batchIds.
------ -------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Financial/BAO/ExportFormat/IIF.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------
:70 Parameter #1 $fileName (null) of method CRM_Financial_BAO_ExportFormat_IIF::output() should be compatible with parameter $fileName (string) of
method CRM_Financial_BAO_ExportFormat::output()
:74 Access to an undefined property CRM_Financial_BAO_ExportFormat_IIF::$_batchIds.
:84 Access to an undefined property CRM_Financial_BAO_ExportFormat_IIF::$_batchIds.
:85 Access to an undefined property CRM_Financial_BAO_ExportFormat_IIF::$_downloadFile.
:155 Access to an undefined property CRM_Financial_BAO_ExportFormat_IIF::$_batchIds.
:160 Access to an undefined property object::$from_account_name.
:161 Access to an undefined property object::$from_account_code.
:162 Access to an undefined property object::$from_account_description.
:163 Access to an undefined property object::$from_account_type_code.
:168 Access to an undefined property object::$to_account_name.
:169 Access to an undefined property object::$to_account_code.
:170 Access to an undefined property object::$to_account_description.
:171 Access to an undefined property object::$to_account_type_code.
:178 Access to an undefined property object::$contact_from_name.
:179 Access to an undefined property object::$contact_from_first_name.
:180 Access to an undefined property object::$contact_from_last_name.
:186 Access to an undefined property object::$contact_to_name.
:187 Access to an undefined property object::$contact_to_first_name.
:188 Access to an undefined property object::$contact_to_last_name.
:245 Access to an undefined property object::$account_name.
:246 Access to an undefined property object::$account_code.
:247 Access to an undefined property object::$account_description.
:248 Access to an undefined property object::$account_type_code.
:254 Access to an undefined property object::$contact_name.
:255 Access to an undefined property object::$contact_first_name.
:256 Access to an undefined property object::$contact_last_name.
:276 Access to an undefined property object::$financial_trxn_id.
:277 Access to an undefined property object::$trxn_date.
:278 Access to an undefined property object::$financial_trxn_id.
:279 Access to an undefined property object::$from_account_name.
:280 Access to an undefined property object::$debit_total_amount.
:281 Access to an undefined property object::$contact_from_name.
:282 Access to an undefined property object::$item_description.
:283 Access to an undefined property object::$payment_instrument.
:284 Access to an undefined property object::$check_number.
:285 Access to an undefined property object::$currency.
:378 Variable $sout might not be defined.
------ ------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------
Line CRM/Financial/BAO/FinancialAccount.php
------ -----------------------------------------------------------------------------------------------------------
:98 Instantiated class CRM_Core_BAO_FinancialItem not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:98 Instantiated class CRM_Core_BAO_FinancialTypeAccount not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:99 Access to property $financial_account_id on an unknown class CRM_Core_BAO_FinancialItem.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:99 Access to property $financial_account_id on an unknown class CRM_Core_BAO_FinancialItem.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:99 Access to property $financial_account_id on an unknown class CRM_Core_BAO_FinancialTypeAccount.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:99 Access to property $financial_account_id on an unknown class CRM_Core_BAO_FinancialTypeAccount.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:99 Access to property $to_financial_account_id on an unknown class CRM_Core_BAO_FinancialItem.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:99 Access to property $to_financial_account_id on an unknown class CRM_Core_BAO_FinancialItem.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:99 Access to property $to_financial_account_id on an unknown class CRM_Core_BAO_FinancialTypeAccount.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:99 Access to property $to_financial_account_id on an unknown class CRM_Core_BAO_FinancialTypeAccount.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:100 Call to method find() on an unknown class CRM_Core_BAO_FinancialItem.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:100 Call to method find() on an unknown class CRM_Core_BAO_FinancialTypeAccount.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:155 Method CRM_Financial_BAO_FinancialAccount::getAccountingCode() should return int but returns string|null.
:184 Method CRM_Financial_BAO_FinancialAccount::getARAccounts() should return int but returns string|null.
------ -----------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Financial/BAO/FinancialItem.php
------ -------------------------------------------------------------------------------------------------------------
:93 Offset 'id' on array{}|null in empty() does not exist.
:212 Method CRM_Financial_BAO_FinancialItem::retrieveEntityFinancialTrxn() should return array but returns null.
:249 Variable $not_deleted might not be defined.
------ -------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Financial/BAO/FinancialTrxn.php
------ ------------------------------------------------------------------------------------------
:78 Property CRM_Financial_DAO_FinancialTrxn::$is_payment (bool|string) does not accept int.
------ ------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Financial/BAO/FinancialType.php
------ ----------------------------------------------------------------------------------------------------------------------------------------
:303 Binary operation "." between 'add contributions…'|'delete…'|'edit contributions…'|'view contributions…' and array results in an error.
:350 Variable $clauses might not be defined.
:372 Binary operation "." between non-falsy-string and array results in an error.
------ ----------------------------------------------------------------------------------------------------------------------------------------
------- --------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Financial/BAO/Order.php
------- --------------------------------------------------------------------------------------------------------------------------------------------
:154 Property CRM_Financial_BAO_Order::$lineItemCount (int) in isset() is not nullable.
:155 Property CRM_Financial_BAO_Order::$lineItemCount (int) does not accept bool.
:329 Property CRM_Financial_BAO_Order::$form (CRM_Member_Form_Membership|CRM_Member_Form_MembershipRenewal) does not accept CRM_Core_Form|null.
:433 Property CRM_Financial_BAO_Order::$overrideFinancialTypeID (int) on left side of ?? is not nullable.
:952 Property CRM_Financial_BAO_Order::$priceSetID (int) in isset() is not nullable.
:978 Property CRM_Financial_BAO_Order::$priceSetID (int) in isset() is not nullable.
:1092 Variable $option might not be defined.
:1093 Variable $option might not be defined.
:1094 Variable $option might not be defined.
:1095 Expression on left side of ?? is not nullable.
:1095 Variable $option might not be defined.
------- --------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Financial/BAO/PaymentProcessor.php
------ ------------------------------------------------------------------------------------------------------------------------------------
:26 Static property CRM_Financial_BAO_PaymentProcessor::$_defaultPaymentProcessor (object) does not accept default value of type null.
:198 Property CRM_Financial_DAO_PaymentProcessor::$is_test (bool|string) does not accept int.
:494 Method CRM_Financial_BAO_PaymentProcessor::getProcessorForEntity() should return array|int|object but returns null.
:524 Variable $sql might not be defined.
:531 Method CRM_Financial_BAO_PaymentProcessor::getProcessorForEntity() should return array|int|object but returns null.
:553 Variable $paymentProcessor might not be defined.
------ ------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Financial/BAO/PaymentProcessorType.php
------ --------------------------------------------------------------------------------------------------------------------------------------------
:23 Static property CRM_Financial_BAO_PaymentProcessorType::$_defaultPaymentProcessorType (object) does not accept default value of type null.
:115 Property CRM_Financial_DAO_PaymentProcessorType::$billing_mode (int|string) in isset() is not nullable.
:138 Method CRM_Financial_BAO_PaymentProcessorType::create() should return CRM_Financial_DAO_PaymentProcessorType but returns CRM_Core_DAO.
------ --------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------
Line CRM/Financial/Form/BatchTransaction.php
------ ----------------------------------------------------------------------------------------------------------------------
:53 Access to an undefined property CRM_Financial_Form_BatchTransaction::$_values.
:87 Access to an undefined property CRM_Financial_Form_BatchTransaction::$_values.
:89 Access to an undefined property CRM_Financial_Form_BatchTransaction::$_values.
:146 Method CRM_Financial_Form_BatchTransaction::setDefaultValues() should return array but empty return statement found.
:153 Variable $defaults might not be defined.
------ ----------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------
Line CRM/Financial/Form/Export.php
------ ------------------------------------------
:157 Variable $batchIds might not be defined.
:165 Variable $batchIds might not be defined.
:172 Variable $batchIds might not be defined.
------ ------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Financial/Form/FinancialBatch.php
------ ------------------------------------------------------------------------------------
:218 Variable $activityTypeName might not be defined.
:225 Variable $details might not be defined.
:236 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:240 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
------ ------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Financial/Form/FinancialTypeAccount.php
------ ------------------------------------------------------------------------------------------
:135 Property CRM_Financial_Form_FinancialTypeAccount::$_id (int) in isset() is not nullable.
:164 Variable $element might not be defined.
:192 Variable $financialAccountSelect might not be defined.
:313 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
------ ------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------
Line CRM/Financial/Form/SalesTaxTrait.php (in context of class api_v3_LineItemTest)
------ --------------------------------------------------------------------------------
:23 Call to an undefined method api_v3_LineItemTest::assign().
:30 Call to an undefined method api_v3_LineItemTest::assign().
------ --------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Financial/Page/AJAX.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
:96 Variable $financialAccountType might not be defined.
:96 Variable $financialAccountTypeId might not be defined.
:99 Variable $financialAccountType might not be defined.
:99 Variable $financialAccountTypeId might not be defined.
:161 Variable $records might not be defined.
:170 Variable $records might not be defined.
:186 Variable $totals might not be defined.
:209 Variable $updated might not be defined.
:211 Variable $batchStatus might not be defined.
:212 Variable $batchStatus might not be defined.
:234 Method CRM_Financial_Page_AJAX::getFinancialTransactionsList() has invalid return type wtf.
:432 Offset 'contact_sub_type' on
non-empty-array<'action'|'amount'|'check'|'contact_type'|'name'|'payment_method'|'receive_date'|'sort_name'|'status'|'transaction_date'|'trxn_id',
mixed> in empty() does not exist.
:458 Method CRM_Financial_Page_AJAX::getFinancialTransactionsList() should return string|wtf but return statement is missing.
:472 Variable $cIDs might not be defined.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Financial/Page/Batch.php
------ ---------------------------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Financial_Page_Batch::$_links (array) does not accept default value of type null.
:43 Method CRM_Financial_Page_Batch::links() should return array but return statement is missing.
:74 Parameter #1 $mode (null) of method CRM_Financial_Page_Batch::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ ---------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Financial/Page/BatchTransaction.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Financial_Page_BatchTransaction::$_links (array) does not accept default value of type null.
:139 Parameter #1 $mode (null) of method CRM_Financial_Page_BatchTransaction::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Financial/Page/FinancialAccount.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:29 Static property CRM_Financial_Page_FinancialAccount::$_links (array) does not accept default value of type null.
:156 Parameter #1 $mode (null) of method CRM_Financial_Page_FinancialAccount::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Financial/Page/FinancialBatch.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Financial_Page_FinancialBatch::$_links (array) does not accept default value of type null.
:109 Parameter #1 $mode (null) of method CRM_Financial_Page_FinancialBatch::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
:111 Left side of || is always false.
:122 Parameter #1 $mode (null) of method CRM_Financial_Page_FinancialBatch::userContextParams() should be compatible with parameter $mode (int) of
method CRM_Core_Page_Basic::userContextParams()
:124 Left side of || is always false.
:124 Method CRM_Financial_Page_FinancialBatch::userContextParams() should return string but return statement is missing.
------ ------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Financial/Page/FinancialType.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
:29 Static property CRM_Financial_Page_FinancialType::$_links (array) does not accept default value of type null.
:173 Parameter #1 $mode (null) of method CRM_Financial_Page_FinancialType::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------
Line CRM/Financial/Page/FinancialTypeAccount.php
------ ----------------------------------------------------------------------------------------------------------------------
:27 Static property CRM_Financial_Page_FinancialTypeAccount::$_links (array) does not accept default value of type null.
:34 Property CRM_Financial_Page_FinancialTypeAccount::$_aid (array) does not accept default value of type null.
:113 Property CRM_Core_Page::$_title (object) does not accept int|string|null.
:141 Access to an undefined property object::$id.
:189 Binary operation "." between 'reset=1&action…' and array results in an error.
------ ----------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------
Line CRM/Friend/BAO/Friend.php
------ --------------------------------------------------------------------------------
:203 Variable $urlPath might not be defined.
:252 Method CRM_Friend_BAO_Friend::getValues() should return bool but returns null.
------ --------------------------------------------------------------------------------
------ ---------------------------------------------------------------
Line CRM/Friend/Form.php
------ ---------------------------------------------------------------
:185 Access to an undefined property CRM_Friend_Form::$_mailLimit.
------ ---------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Friend/Form/Contribute.php
------ -------------------------------------------------------------------------------------------------------------------------------------
:43 Return type (void) of method CRM_Friend_Form_Contribute::setDefaultValues() should be compatible with return type (array) of method
CRM_Contribute_Form_ContributionPage::setDefaultValues()
:46 Property CRM_Contribute_Form_ContributionPage::$_id (int) in isset() is not nullable.
:65 Method CRM_Friend_Form_Contribute::setDefaultValues() with return type void returns mixed but should not return anything.
:74 Property CRM_Contribute_Form_ContributionPage::$_id (int) in isset() is not nullable.
------ -------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------
Line CRM/Friend/Form/Event.php
------ --------------------------------------------------------------------------------------------------------------------------------
:42 Return type (void) of method CRM_Friend_Form_Event::setDefaultValues() should be compatible with return type (array) of method
CRM_Event_Form_ManageEvent::setDefaultValues()
:45 Property CRM_Event_Form_ManageEvent::$_id (int) in isset() is not nullable.
:70 Method CRM_Friend_Form_Event::setDefaultValues() with return type void returns mixed but should not return anything.
:79 Property CRM_Event_Form_ManageEvent::$_id (int) in isset() is not nullable.
------ --------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------
Line CRM/Group/Form/Edit.php
------ ---------------------------------------------------------------------------------------
:64 Access to an undefined property CRM_Group_Form_Edit::$entityFields.
:81 Access to an undefined property CRM_Group_Form_Edit::$deleteMessage.
:117 Offset 'title' does not exist on array{}.
:124 Property CRM_Group_Form_Edit::$_id (int) in isset() is not nullable.
:139 Offset 'is_reserved' does not exist on array{}.
:142 Property CRM_Group_Form_Edit::$_id (int) in isset() is not nullable.
:171 Property CRM_Group_Form_Edit::$_id (int) in isset() is not nullable.
:226 Property CRM_Group_Form_Edit::$_id (int) in isset() is not nullable.
:347 Property CRM_Group_Form_Edit::$_groupOrganizationID (int) in isset() is not nullable.
------ ---------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line CRM/Group/Form/Search.php
------ -------------------------------------------------------------------------------------------
:67 Static method CRM_Core_SelectValues::ufVisibility() invoked with 1 parameter, 0 required.
------ -------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Group/Page/Group.php
------ -----------------------------------------------------------------------------------------------------------------------------------------
:34 Method CRM_Group_Page_Group::links() should return array but return statement is missing.
:71 Parameter #1 $mode (null) of method CRM_Group_Page_Group::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
:82 Parameter #1 $mode (null) of method CRM_Group_Page_Group::userContextParams() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContextParams()
------ -----------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line CRM/Group/StateMachine.php
------ -------------------------------------------------------------------------------------------
:25 Parameter $action of method CRM_Group_StateMachine::__construct() has invalid type const.
:35 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ -------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------
Line CRM/Import/DataSource.php
------ -----------------------------------------------------------------------------------------
:43 Property CRM_Import_DataSource::$queryResultObject (CRM_Core_DAO) does not accept null.
:54 Property CRM_Import_DataSource::$queryResultObject (CRM_Core_DAO) does not accept null.
:139 Property CRM_Import_DataSource::$queryResultObject (CRM_Core_DAO) does not accept null.
:246 Property CRM_Import_DataSource::$queryResultObject (CRM_Core_DAO) does not accept null.
:257 Negated boolean expression is always false.
:286 Method CRM_Import_DataSource::getRowCount() should return int but returns string|null.
------ -----------------------------------------------------------------------------------------
------ ----------------------------------------------------------
Line CRM/Import/DataSource/CSV.php
------ ----------------------------------------------------------
:218 Variable $sql in empty() always exists and is not falsy.
------ ----------------------------------------------------------
------ ------------------------------------------------------------------------------
Line CRM/Import/Form/DataSourceConfig.php
------ ------------------------------------------------------------------------------
:31 Variable $templateFile on left side of ?? always exists and is not nullable.
------ ------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------
Line CRM/Import/Form/MapField.php
------ -----------------------------------------------------------------------------
:256 Call to an undefined method CRM_Import_Form_MapField::getMappingTypeName().
:351 Call to an undefined method HTML_QuickForm_element::setOptions().
:356 Variable $sel might not be defined.
------ -----------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Import/Forms.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:229 PHPDoc tag @return with type string|null is not subtype of native type string.
:379 Call to an undefined method CRM_Import_Forms::getUserJobType().
:454 PHPDoc tag @return with type array|int is not subtype of native type array.
:647 Method CRM_Import_Forms::getParser() should return CRM_Contact_Import_Parser_Contact|CRM_Contribute_Import_Parser_Contribution but returns null.
:768 Call to an undefined method CRM_Import_Forms::getUserJobType().
:787 Call to an undefined method CRM_Import_Forms::getDefaults().
:790 Call to an undefined method CRM_Import_Forms::getFieldOptions().
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------
Line CRM/Import/ImportProcessor.php
------ ----------------------------------------------------------------------------------------------------------------------
:131 Property CRM_Import_ImportProcessor::$contactSubType (string) on left side of ?? is not nullable.
:226 Offset int does not exist on array{Individual: 'Individual', Household: 'Household', Organization: 'Organization'}.
:382 Expression on left side of ?? is not nullable.
:429 Class CRM_Contact_Import_Parser_Contact does not have a constructor and must be instantiated without any parameters.
------ ----------------------------------------------------------------------------------------------------------------------
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Import/Parser.php
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
:276 Property CRM_Import_Parser::$_fields is unused.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
:348 Call to an undefined method CRM_Import_Parser::setFieldMetadata().
:463 PHPDoc tag @return has invalid value (NULL|$currTimestamp): Unexpected token "$currTimestamp", expected type at offset 554
:474 Access to an undefined property CRM_Import_Parser::$_lineCount.
:566 Access to an undefined property CRM_Import_Parser::$_maxLinesToProcess.
:749 PHPDoc tag @var above a method has no effect.
:753 Method CRM_Import_Parser::errorFileName() should return string but returns null.
:809 PHPDoc tag @var above a method has no effect.
:812 Method CRM_Import_Parser::saveFileName() should return string but returns null.
:869 Strict comparison using === between mixed and '' will always evaluate to false.
:1035 Method CRM_Import_Parser::_civicrm_api3_deprecated_add_formatted_param() has invalid return type CRM_Utils_Error.
:1035 Method CRM_Import_Parser::_civicrm_api3_deprecated_add_formatted_param() never returns CRM_Utils_Error so it can be removed from the return type.
:1294 Method CRM_Import_Parser::_civicrm_api3_deprecated_add_formatted_param() should return bool|CRM_Utils_Error but return statement is missing.
:1299 Method CRM_Import_Parser::_civicrm_api3_deprecated_add_formatted_param() should return bool|CRM_Utils_Error but returns array.
:1414 Access to an undefined property CRM_Import_Parser::$baseEntity.
:1562 Variable $isOrOperator might not be defined.
:1854 Call to an undefined method CRM_Import_Parser::getRequiredFields().
:1945 Access to an undefined property CRM_Import_Parser::$siteDefaultCountry.
:1991 Call to an undefined method CRM_Import_Parser::setFieldMetadata().
:2002 Call to an undefined method CRM_Import_Parser::setFieldMetadata().
:2031 Call to an undefined method CRM_Import_Parser::setFieldMetadata().
:2112 Call to an undefined method CRM_Import_Parser::import().
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Import/StateMachine.php
------ --------------------------------------------------------------------------------------------
:29 Parameter $action of method CRM_Import_StateMachine::__construct() has invalid type const.
:39 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ --------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------
Line CRM/Logging/Differ.php
------ --------------------------------------------------------------------------------------------------------------------
:217 Variable $original might not be defined.
:222 Variable $original might not be defined.
:392 Access to an undefined property object::$column_name.
:430 Variable $sql might not be defined.
:433 Variable $sql might not be defined.
:436 Variable $sql might not be defined.
:466 Variable $sql might not be defined.
:468 Method CRM_Logging_Differ::getCountOfAllContactChangesForConnection() should return array but returns string|null.
------ --------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Logging/ReportDetail.php
------ -----------------------------------------------------------------------------------------------------
:119 Method CRM_Logging_ReportDetail::buildQuery() should return string but return statement is missing.
:324 Access to an undefined property CRM_Logging_ReportDetail::$dblimit.
:324 Access to an undefined property CRM_Logging_ReportDetail::$dboffset.
:353 Property CRM_Logging_ReportDetail::$differ (CRM_Logging_Differ) in empty() is not falsy.
:409 Access to an undefined property CRM_Logging_ReportDetail::$layout.
:417 Method CRM_Logging_ReportDetail::limit() should return array but return statement is missing.
:428 Property CRM_Report_Form::$_limit (string) does not accept true.
:461 Access to an undefined property CRM_Logging_ReportDetail::$dblimit.
:462 Access to an undefined property CRM_Logging_ReportDetail::$dboffset.
------ -----------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Logging/ReportSummary.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
:192 Parameter #4 $field (string) of method CRM_Logging_ReportSummary::selectClause() should be compatible with parameter $field (array) of method
CRM_Report_Form::selectClause()
:192 Return type (string) of method CRM_Logging_ReportSummary::selectClause() should be compatible with return type (bool) of method
CRM_Report_Form::selectClause()
:199 Method CRM_Logging_ReportSummary::selectClause() should return string but return statement is missing.
:201 Method CRM_Logging_ReportSummary::selectClause() should return string but returns int.
:338 Access to an undefined property CRM_Logging_ReportSummary::$temporaryTable.
:340 Access to an undefined property CRM_Logging_ReportSummary::$temporaryTableName.
:391 Variable $tables in empty() always exists and is not falsy.
:432 Access to an undefined property CRM_Logging_ReportSummary::$temporaryTableName.
:455 Access to an undefined property CRM_Logging_ReportSummary::$temporaryTable.
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------
Line CRM/Logging/Schema.php
------ -----------------------------------------------------------------------------------------
:608 Property CRM_Report_DAO_ReportInstance::$is_reserved (bool|string) does not accept int.
------ -----------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------
Line CRM/Mailing/BAO/BouncePattern.php
------ ---------------------------------------------------------------------------------------------------------------
:23 Static property CRM_Mailing_BAO_BouncePattern::$_patterns (array) does not accept default value of type null.
------ ---------------------------------------------------------------------------------------------------------------
------- --------------------------------------------------------------------------------------------------------------------------
Line CRM/Mailing/BAO/Mailing.php
------- --------------------------------------------------------------------------------------------------------------------------
:33 Property CRM_Mailing_BAO_Mailing::$preparedTemplates (array) does not accept default value of type null.
:41 Property CRM_Mailing_BAO_Mailing::$templates (array) does not accept default value of type null.
:47 Property CRM_Mailing_BAO_Mailing::$tokens (array) does not accept default value of type null.
:53 Property CRM_Mailing_BAO_Mailing::$flattenedTokens (array) does not accept default value of type null.
:59 Property CRM_Mailing_BAO_Mailing::$header (CRM_Mailing_BAO_MailingComponent) does not accept default value of type null.
:65 Property CRM_Mailing_BAO_Mailing::$footer (CRM_Mailing_BAO_MailingComponent) does not accept default value of type null.
:71 Property CRM_Mailing_BAO_Mailing::$html (string) does not accept default value of type null.
:77 Property CRM_Mailing_BAO_Mailing::$text (string) does not accept default value of type null.
:83 Property CRM_Mailing_BAO_Mailing::$_domain (int) does not accept default value of type null.
:347 If condition is always true.
:467 Property CRM_Mailing_DAO_MailingJob::$is_test (bool|string) does not accept int.
:471 Property CRM_Mailing_DAO_MailingJob::$scheduled_date (string) does not accept null.
:493 Method CRM_Mailing_BAO_Mailing::getPatterns() never returns array so it can be removed from the return type.
:642 Property CRM_Mailing_BAO_Mailing::$header (CRM_Mailing_BAO_MailingComponent) in empty() is not falsy.
:642 Result of || is always true.
:672 If condition is always true.
:678 If condition is always true.
:687 Offset 'text' on array{text: non-falsy-string, html: non-falsy-string} in empty() always exists and is not falsy.
:847 If condition is always false.
:847 Negated boolean expression is always false.
:847 Result of && is always false.
:853 If condition is always false.
:853 Negated boolean expression is always false.
:853 Result of && is always false.
:929 Property CRM_Mailing_BAO_Mailing::$_domain (int) does not accept CRM_Core_BAO_Domain.
:1063 Property CRM_Mailing_BAO_Mailing::$_domain (int) does not accept CRM_Core_BAO_Domain.
:1109 Method CRM_Mailing_BAO_Mailing::compose() should return Mail_mime but returns null.
:1140 Right side of && is always false.
:1145 Right side of && is always false.
:1150 Right side of && is always false.
:1166 If condition is always false.
:1174 If condition is always false.
:1189 Method CRM_Mailing_BAO_Mailing::compose() should return Mail_mime but returns null.
:1279 Call to function unset() contains undefined variable $ids.
:1857 While loop condition is always false.
:1945 While loop condition is always false.
:2015 Binary operation "/" between float and non-falsy-string results in an error.
:2016 Binary operation "/" between float and non-falsy-string results in an error.
:2017 Binary operation "/" between float and non-falsy-string results in an error.
:2051 While loop condition is always false.
:2341 Cannot call method orderBy() on string.
:2742 Variable $cronLock might not be defined.
:3002 Method CRM_Mailing_BAO_Mailing::getPublicViewUrl() should return string but return statement is missing.
:3002 Strict comparison using === between array|int and 'Public Pages' will always evaluate to false.
------- --------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line CRM/Mailing/BAO/MailingAB.php
------ -----------------------------------------------------------------------------------
:88 Binary operation "*" between string|null and int|string|null results in an error.
:91 Binary operation "-" between string|null and 1|float results in an error.
:92 Binary operation "-" between string|null and 1|float results in an error.
------ -----------------------------------------------------------------------------------
------- -------------------------------------------------------------------------------------------------------
Line CRM/Mailing/BAO/MailingJob.php
------- -------------------------------------------------------------------------------------------------------
:53 Expression in empty() is not falsy.
:53 Result of && is always false.
:116 Method CRM_Mailing_BAO_MailingJob::runJobs() should return bool|null but return statement is missing.
:175 Variable $mailer might not be defined.
:451 Access to an undefined property object|object::$contact_id.
:491 If condition is always true.
:954 Access to an undefined property object::$sms_provider_id.
:955 Access to an undefined property object::$name.
:955 Access to an undefined property object::$subject.
:972 Access to an undefined property object::$subject.
:974 Access to an undefined property object::$campaign_id.
:1001 If condition is always true.
------- -------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------
Line CRM/Mailing/BAO/Query.php
------ --------------------------------------------------------
:110 Access to an undefined property object::$_select.
:111 Access to an undefined property object::$_element.
:112 Access to an undefined property object::$_tables.
:141 Access to an undefined property object::$_mode.
:142 Access to an undefined property object::$_useDistinct.
------ --------------------------------------------------------
------ -------------------------------
Line CRM/Mailing/BAO/SMSJob.php
------ -------------------------------
:101 If condition is always false.
------ -------------------------------
------ ----------------------------------------------------------------------------------
Line CRM/Mailing/BAO/Spool.php
------ ----------------------------------------------------------------------------------
:62 Variable $mailing in empty() always exists and is not falsy.
:63 Call to an undefined static method PEAR::raiseError().
:68 Property CRM_Mailing_DAO_MailingJob::$is_test (bool|string) does not accept int.
:79 Property CRM_Mailing_DAO_MailingJob::$is_test (bool|string) does not accept int.
------ ----------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Mailing/BAO/TrackableURL.php
------ --------------------------------------------------------------------------------------------
:167 Method CRM_Mailing_BAO_TrackableURL::getTrackerURLId() should return int but returns null.
------ --------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line CRM/Mailing/Controller/Send.php
------ -----------------------------------------------------------------------------------
:28 Constructor of class CRM_Mailing_Controller_Send has an unused parameter $action.
:42 Variable $abtest in empty() always exists and is not falsy.
------ -----------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Event/BAO/MailingEventBounce.php
------ ------------------------------------------------------------------------------------------------------
:134 Method CRM_Mailing_Event_BAO_MailingEventBounce::getTotalCount() should return int but returns null.
:209 Cannot call method orderBy() on array.
:274 Property CRM_Core_DAO_Email::$on_hold (int|string) does not accept true.
------ ------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Event/BAO/MailingEventClickThrough.php
------ ------------------------------------------------------------------------------------------------------------
:159 Method CRM_Mailing_Event_BAO_MailingEventClickThrough::getTotalCount() should return int but returns null.
:334 Cannot call method orderBy() on array.
------ ------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Event/BAO/MailingEventConfirm.php
------ -------------------------------------------------------------------------------------------------------------
:56 Left side of && is always true.
:59 Method CRM_Mailing_Event_BAO_MailingEventConfirm::confirm() should return bool but returns int|string|null.
:92 Property CRM_Mailing_DAO_MailingComponent::$is_default (bool|string) does not accept int.
:93 Property CRM_Mailing_DAO_MailingComponent::$is_active (bool|string) does not accept int.
:99 Method CRM_Mailing_Event_BAO_MailingEventConfirm::confirm() should return bool but returns string|null.
:146 Method CRM_Mailing_Event_BAO_MailingEventConfirm::confirm() should return bool but returns string|null.
------ -------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Event/BAO/MailingEventDelivered.php
------ ------------------------------------------------------------------------------------------------------------------------------------------
:34 Method CRM_Mailing_Event_BAO_MailingEventDelivered::create() should return CRM_Mailing_Event_BAO_MailingEventDelivered but returns null.
:108 Method CRM_Mailing_Event_BAO_MailingEventDelivered::getTotalCount() should return int but returns null.
:181 Cannot call method orderBy() on array.
------ ------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Event/BAO/MailingEventForward.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------
:153 Access to an undefined property Mail_mime::$_txtbody.
:153 Access to an undefined property Mail_mime::$_txtbody.
:155 Access to an undefined property Mail_mime::$_htmlbody.
:155 Access to an undefined property Mail_mime::$_htmlbody.
:207 Method CRM_Mailing_Event_BAO_MailingEventForward::_civicrm_api3_deprecated_add_formatted_param() has invalid return type CRM_Utils_Error.
:235 Method CRM_Mailing_Event_BAO_MailingEventForward::_civicrm_api3_deprecated_add_formatted_param() should return bool|CRM_Utils_Error but return
statement is missing.
:422 Method CRM_Mailing_Event_BAO_MailingEventForward::getTotalCount() should return int but returns null.
:500 Cannot call method orderBy() on array.
------ ------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------
Line CRM/Mailing/Event/BAO/MailingEventOpened.php
------ ----------------------------------------------
:273 Cannot call method orderBy() on array.
------ ----------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Event/BAO/MailingEventQueue.php
------ ----------------------------------------------------------------------------------------------------------
:99 Call to an undefined static method CRM_Utils_Type::rule().
:104 Method CRM_Mailing_Event_BAO_MailingEventQueue::getEmailAddress() should return string but returns null.
:181 Cannot call method orderBy() on array.
:282 Variable $contact_id might not be defined.
------ ----------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------
Line CRM/Mailing/Event/BAO/MailingEventReply.php
------ -----------------------------------------------------------------------------------------------------
:127 Access to an undefined property object::$email.
:306 Method CRM_Mailing_Event_BAO_MailingEventReply::getTotalCount() should return int but returns null.
:376 Cannot call method orderBy() on array.
------ -----------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Event/BAO/MailingEventResubscribe.php
------ -------------------------------------------------------------------------------------------------------------
:52 Property CRM_Mailing_Event_DAO_MailingEventUnsubscribe::$org_unsubscribe (bool|string) does not accept int.
:114 While loop condition is always false.
:142 While loop condition is always false.
------ -------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line CRM/Mailing/Event/BAO/MailingEventSubscribe.php
------ -------------------------------------------------------------------------------------------
:120 Unreachable statement - code above always terminates.
:197 Property CRM_Mailing_DAO_MailingComponent::$is_default (bool|string) does not accept int.
:198 Property CRM_Mailing_DAO_MailingComponent::$is_active (bool|string) does not accept int.
:372 Variable $groupAdded might not be defined.
:376 Variable $groupFailed might not be defined.
------ -------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Event/BAO/MailingEventUnsubscribe.php
------ -------------------------------------------------------------------------------------------------------------
:49 If condition is always true.
:75 Property CRM_Mailing_Event_DAO_MailingEventUnsubscribe::$org_unsubscribe (bool|string) does not accept int.
:314 Property CRM_Mailing_Event_DAO_MailingEventUnsubscribe::$org_unsubscribe (bool|string) does not accept int.
:590 Cannot call method orderBy() on array.
------ -------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------
Line CRM/Mailing/Form/Approve.php
------ ---------------------------------------------------------------------------------
:38 Access to an undefined property CRM_Mailing_Form_Approve::$_searchBasedMailing.
:41 Access to an undefined property CRM_Mailing_Form_Approve::$_mailingID.
:42 Access to an undefined property CRM_Mailing_Form_Approve::$_approveFormOnly.
:63 Access to an undefined property CRM_Mailing_Form_Approve::$_mailingID.
:64 Access to an undefined property CRM_Mailing_Form_Approve::$_mailing.
:65 Access to an undefined property CRM_Mailing_Form_Approve::$_mailing.
:75 Access to an undefined property CRM_Mailing_Form_Approve::$_mailing.
:109 Access to an undefined property CRM_Mailing_Form_Approve::$_mailingID.
:113 Access to an undefined property CRM_Mailing_Form_Approve::$_mailingID.
:119 Access to an undefined property CRM_Mailing_Form_Approve::$_mailing.
:120 Access to an undefined property CRM_Mailing_Form_Approve::$_mailingID.
:143 Access to an undefined property CRM_Mailing_Form_Approve::$_contactID.
:174 Access to an undefined property CRM_Mailing_Form_Approve::$_searchBasedMailing.
------ ---------------------------------------------------------------------------------
------ -----------------------------------------------------------------------
Line CRM/Mailing/Form/Browse.php
------ -----------------------------------------------------------------------
:64 Access to an undefined property CRM_Mailing_Form_Browse::$_mailingId.
:68 Access to an undefined property CRM_Mailing_Form_Browse::$_mailingId.
:73 Access to an undefined property CRM_Mailing_Form_Browse::$_mailingId.
------ -----------------------------------------------------------------------
------ -----------------------------------------------------------------------------
Line CRM/Mailing/Form/Component.php
------ -----------------------------------------------------------------------------
:95 Property CRM_Mailing_Form_Component::$_id (int) in isset() is not nullable.
------ -----------------------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line CRM/Mailing/Form/ForwardMailing.php
------ -------------------------------------------------------------------------------
:36 Unreachable statement - code above always terminates.
:113 Access to an undefined property CRM_Mailing_Form_ForwardMailing::$_fromEmail.
------ -------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line CRM/Mailing/Form/Optout.php
------ ----------------------------------------------------------------------------------
:30 Property CRM_Mailing_Form_Optout::$_job_id is never written, only read.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
:35 Property CRM_Mailing_Form_Optout::$_queue_id is never written, only read.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
:40 Property CRM_Mailing_Form_Optout::$_hash is never written, only read.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
:45 Property CRM_Mailing_Form_Optout::$_email is never written, only read.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
------ ----------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line CRM/Mailing/Form/Unsubscribe.php
------ ----------------------------------------------------------------------------------
:30 Property CRM_Mailing_Form_Unsubscribe::$_job_id is never written, only read.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
:35 Property CRM_Mailing_Form_Unsubscribe::$_queue_id is never written, only read.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
:40 Property CRM_Mailing_Form_Unsubscribe::$_hash is never written, only read.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
:45 Property CRM_Mailing_Form_Unsubscribe::$_email is never written, only read.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
------ ----------------------------------------------------------------------------------
------ ----------------------------------
Line CRM/Mailing/Info.php
------ ----------------------------------
:176 Right side of && is always true.
------ ----------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Mailing/MailStore.php
------ --------------------------------------------------------------------------------------------
:45 Property CRM_Core_DAO_MailSettings::$is_default (bool|string) does not accept int.
:169 Property ezcMailParserOptions::$parseTextAttachmentsAsFiles (string) does not accept true.
------ --------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Mailing/MailStore/Localdir.php
------ --------------------------------------------------------------------------------------------
:106 Property ezcMailParserOptions::$parseTextAttachmentsAsFiles (string) does not accept true.
------ --------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line CRM/Mailing/MailStore/Maildir.php
------ --------------------------------------------------------------------------------------------
:83 Property ezcMailParserOptions::$parseTextAttachmentsAsFiles (string) does not accept true.
------ --------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------
Line CRM/Mailing/Page/Browse.php
------ ------------------------------------------------------------------------
:122 Access to an undefined property CRM_Mailing_Page_Browse::$_isArchived.
------ ------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Page/Component.php
------ -----------------------------------------------------------------------------------------------------------------------------------------
:29 Static property CRM_Mailing_Page_Component::$_links (array) does not accept default value of type null.
:99 Parameter #1 $mode (null) of method CRM_Mailing_Page_Component::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ -----------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Page/Report.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
:39 Return type (null) of method CRM_Mailing_Page_Report::links() should be compatible with return type (array) of method CRM_Core_Page_Basic::links()
:46 Return type (null) of method CRM_Mailing_Page_Report::editForm() should be compatible with return type (string) of method
CRM_Core_Page_Basic::editForm()
:65 Parameter #1 $mode (null) of method CRM_Mailing_Page_Report::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
:74 Parameter #1 $mode (null) of method CRM_Mailing_Page_Report::userContextParams() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContextParams()
:85 Variable $abtest in empty() always exists and is not falsy.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line CRM/Mailing/Page/Tab.php
------ ---------------------------------------------------------------------------------------------------
:27 Static property CRM_Mailing_Page_Tab::$_links (array) does not accept default value of type null.
:28 Property CRM_Mailing_Page_Tab::$_permission (string) does not accept default value of type null.
:29 Property CRM_Mailing_Page_Tab::$_contactId (int) does not accept default value of type null.
------ ---------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Page/View.php
------ ---------------------------------------------------------------------------------------------------------------------------
:28 PHPDoc tag @var for constant CRM_Mailing_Page_View::USES_MAILING_PREVIEW_API with type bool is incompatible with value 1.
:169 Method CRM_Mailing_Page_View::run() should return string|null but return statement is missing.
------ ---------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Mailing/PseudoConstant.php
------ ------------------------------------------------------------------------------------------
:157 Property CRM_Mailing_DAO_MailingComponent::$is_active (bool|string) does not accept int.
:223 Ternary operator condition is always false.
------ ------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Selector/Browse.php
------ ----------------------------------------------------------------------------------------------------------
:28 Static property CRM_Mailing_Selector_Browse::$_links (array) does not accept default value of type null.
:86 Static property CRM_Mailing_Selector_Browse::$_columnHeaders (array) in isset() is not nullable.
:208 Method CRM_Mailing_Selector_Browse::getTotalCount() should return int but returns string|null.
:462 Method CRM_Mailing_Selector_Browse::getRows() should return int but returns array.
:621 Undefined variable: $campaignIds
:631 Variable $clauses in empty() always exists and is not falsy.
------ ----------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Selector/Event.php
------ ---------------------------------------------------------------------------------------------------------
:30 Static property CRM_Mailing_Selector_Event::$_links (array) does not accept default value of type null.
:36 Property CRM_Mailing_Selector_Event::$_event has unknown class sting as its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:36 Property CRM_Mailing_Selector_Event::$_event is unused.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
:86 Access to an undefined property CRM_Mailing_Selector_Event::$_event_type.
:136 Property CRM_Mailing_Selector_Event::$_columnHeaders (array) in isset() is not nullable.
:151 Access to an undefined property CRM_Mailing_Selector_Event::$_event_type.
:229 Method CRM_Mailing_Selector_Event::getColumnHeaders() should return array but returns int.
:252 Access to an undefined property CRM_Mailing_Selector_Event::$_event_type.
:349 Access to an undefined property CRM_Mailing_Selector_Event::$_event_type.
:354 Method CRM_Mailing_Selector_Event::getRows() should return int but returns array.
:361 Method CRM_Mailing_Selector_Event::getRows() should return int but returns array.
:368 Method CRM_Mailing_Selector_Event::getRows() should return int but returns array.
:375 Method CRM_Mailing_Selector_Event::getRows() should return int but returns array.
:382 Method CRM_Mailing_Selector_Event::getRows() should return int but returns array.
:389 Method CRM_Mailing_Selector_Event::getRows() should return int but returns array.
:396 Method CRM_Mailing_Selector_Event::getRows() should return int but returns array.
:403 Method CRM_Mailing_Selector_Event::getRows() should return int but returns array.
:411 Method CRM_Mailing_Selector_Event::getRows() should return int but returns array.
:414 Method CRM_Mailing_Selector_Event::getRows() should return int but returns null.
:452 Access to an undefined property CRM_Mailing_Selector_Event::$_event_type.
------ ---------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------
Line CRM/Mailing/Selector/Search.php
------ -------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Mailing_Selector_Search::$_links (array) does not accept default value of type null.
:69 Property CRM_Mailing_Selector_Search::$_limit (bool) does not accept default value of type null.
:76 Property CRM_Mailing_Selector_Search::$_context (string) does not accept default value of type null.
:83 Property CRM_Mailing_Selector_Search::$_compContext (string) does not accept default value of type null.
:105 Property CRM_Mailing_Selector_Search::$_mailingClause (string) does not accept default value of type null.
:134 Parameter $action of method CRM_Mailing_Selector_Search::__construct() has invalid type const.
:145 Property CRM_Mailing_Selector_Search::$_limit (bool) does not accept int|null.
:147 Property CRM_Mailing_Selector_Search::$_compContext (string) does not accept null.
:232 Method CRM_Mailing_Selector_Search::getTotalCount() should return int but returns CRM_Core_DAO|string|null.
:305 Method CRM_Mailing_Selector_Search::getRows() should return int but returns array<int, array<int|string, mixed>>.
:329 Static property CRM_Mailing_Selector_Search::$_columnHeaders (array) in isset() is not nullable.
:391 Method CRM_Mailing_Selector_Search::getQuery() should return string but returns CRM_Contact_BAO_Query.
------ -------------------------------------------------------------------------------------------------------------------
------- -----------------------------------------------------------------------------------------------------------------------
Line CRM/Member/BAO/Membership.php
------- -----------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_Member_BAO_Membership::$_importableFields (array) does not accept default value of type null.
:152 Property CRM_Member_DAO_Membership::$membership_type_id (int|string) in isset() is not nullable.
:558 Method CRM_Member_BAO_Membership::retrieve() should return CRM_Member_BAO_Membership but returns null.
:753 Property CRM_Member_DAO_MembershipBlock::$is_active (bool|string) does not accept int.
:819 Property CRM_Member_DAO_Membership::$is_test (bool|string) does not accept int<min, -1>|int<1, max>.
:895 If condition is always false.
:1131 PHPDoc tag @param for parameter $contribution with type CRM_Contribute_DAO_Contribution is not subtype of native type
CRM_Contribute_BAO_Contribution.
:1259 Method CRM_Member_BAO_Membership::getContributionPageId() should return int but returns string|null.
:1364 Property CRM_Member_DAO_MembershipStatus::$is_current_member (bool|string) does not accept int.
:1640 Cannot call method supports() on array|int<min, -1>|int<1, max>|object.
:1909 Left side of || is always false.
:1975 Variable $modifiedID on left side of ?? always exists and is not nullable.
:2028 Variable $fields might not be defined.
:2032 Variable $fields might not be defined.
:2241 Variable $queryParams might not be defined.
:2287 Variable $queryParams might not be defined.
:2644 Offset 'start_date' on array{join_date?: mixed, end_date?: mixed}&non-empty-array on left side of ?? does not exist.
------- -----------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line CRM/Member/BAO/MembershipStatus.php
------ -------------------------------------------------------------------------------------------------
:291 Left side of && is always false.
:291 Right side of && is always false.
:297 Elseif condition is always false.
:303 Elseif condition is always false.
:311 If condition is always false.
:326 Variable $startEvent might not be defined.
:327 Variable $endEvent might not be defined.
:341 Property CRM_Member_DAO_MembershipStatus::$is_current_member (bool|string) does not accept int.
------ -------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------
Line CRM/Member/BAO/MembershipType.php
------ --------------------------------------------------------------------------------------------------------------------------
:23 Static property CRM_Member_BAO_MembershipType::$_defaultMembershipType (int) does not accept default value of type null.
:267 Property CRM_Member_DAO_MembershipType::$is_active (bool|string|null) does not accept int.
:292 Property CRM_Member_DAO_MembershipType::$is_active (bool|string|null) does not accept int.
:367 Binary operation "-" between string and 1 results in an error.
:401 Binary operation "+" between string and (float|int) results in an error.
:409 Binary operation "+" between string and (float|int) results in an error.
:418 Binary operation "+" between string and (float|int) results in an error.
:473 Binary operation "-" between string and 1 results in an error.
:474 Binary operation "+" between string and 1 results in an error.
:550 Binary operation "+" between string and 1 results in an error.
:565 Binary operation "+=" between string and 1 results in an error.
:568 Binary operation "+" between string and (float|int) results in an error.
:573 Binary operation "+" between string and (float|int) results in an error.
:577 Binary operation "+" between string and (float|int) results in an error.
------ --------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------
Line CRM/Member/BAO/Query.php
------ -------------------------------------------------------------------------
:133 Access to an undefined property object::$_mode.
:134 Access to an undefined property object::$_useDistinct.
:453 Binary operation "&" between string and 8 results in an error.
:521 Call to an undefined method CRM_Core_Form::addSearchFieldMetadata().
:522 Call to an undefined method CRM_Core_Form::addFormFieldsFromMetadata().
------ -------------------------------------------------------------------------
------ ----------------------------------------------------------------------------
Line CRM/Member/Form.php
------ ----------------------------------------------------------------------------
:182 Property CRM_Member_Form::$_id (int) in isset() is not nullable.
:224 Else branch is unreachable because previous condition is always true.
:330 Access to an undefined property CRM_Member_Form::$_memberDisplayName.
:330 Access to an undefined property CRM_Member_Form::$_memberEmail.
:331 Access to an undefined property CRM_Member_Form::$_contributorContactID.
:335 Access to an undefined property CRM_Member_Form::$_receiptContactId.
:336 Access to an undefined property CRM_Member_Form::$_contributorDisplayName.
:336 Access to an undefined property CRM_Member_Form::$_contributorEmail.
:339 Access to an undefined property CRM_Member_Form::$_receiptContactId.
:340 Access to an undefined property CRM_Member_Form::$_contributorDisplayName.
:341 Access to an undefined property CRM_Member_Form::$_contributorEmail.
:389 Access to an undefined property CRM_Member_Form::$_membershipIDs.
:525 Call to an undefined method CRM_Member_Form::submit().
------ ----------------------------------------------------------------------------
------- --------------------------------------------------------------------------------------------------------------------
Line CRM/Member/Form/Membership.php
------- --------------------------------------------------------------------------------------------------------------------
:32 Property CRM_Member_Form_Membership::$_memType (int) does not accept default value of type null.
:47 Property CRM_Member_Form_Membership::$_memberDisplayName (string) does not accept default value of type null.
:53 Property CRM_Member_Form_Membership::$_memberEmail (string) does not accept default value of type null.
:60 Property CRM_Member_Form_Membership::$_contactID (int) does not accept default value of type null.
:67 Property CRM_Member_Form_Membership::$_contributorDisplayName (string) does not accept default value of type null.
:81 Property CRM_Member_Form_Membership::$_contributorContactID (int) does not accept default value of type null.
:88 Property CRM_Member_Form_Membership::$_receiptContactId (int) does not accept default value of type null.
:136 Access to an undefined property CRM_Member_Form_Membership::$deleteMessage.
:533 Access to an undefined property object::$_mode.
:970 Access to an undefined property CRM_Core_Form::$_contributorDisplayName.
:970 Access to an undefined property CRM_Core_Form::$_contributorEmail.
:973 Access to an undefined property CRM_Core_Form::$_receiptContactId.
:989 Access to an undefined property CRM_Core_Form::$_receiptContactId.
:1090 Variable $lineItem in empty() always exists and is not falsy.
:1340 Variable $lineItem in empty() always exists and is not falsy.
:1399 Function ts invoked with 3 parameters, 1-2 required.
:1469 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:1500 Variable $endDate might not be defined.
:1527 Variable $statusMsg might not be defined.
:1528 Variable $statusMsg on left side of ?? always exists and is not nullable.
:1971 Strict comparison using === between '' and 'civicrm_membership' will always evaluate to false.
------- --------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Member/Form/MembershipBlock.php
------ -------------------------------------------------------------------------------------------------------------
:21 Property CRM_Member_Form_MembershipBlock::$_memPriceSetId (int) does not accept default value of type null.
:37 Property CRM_Contribute_Form_ContributionPage::$_id (int) in isset() is not nullable.
:84 Variable $newMembershipType might not be defined.
:146 Access to an undefined property CRM_Member_Form_MembershipBlock::$_renewOption.
:230 Variable $paymentProcessorId in empty() always exists and is not falsy.
------ -------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------
Line CRM/Member/Form/MembershipConfig.php
------ -----------------------------------------------------------------------------------------
:48 Property CRM_Member_Form_MembershipConfig::$_id (int) in isset() is not nullable.
:54 Offset 'minimum_fee' on array{} in isset() does not exist.
:58 Offset 'status' on array{} in isset() does not exist.
:66 Offset 'member_of_contact_id' on array{}|array{is_active: 1} in isset() does not exist.
:66 Result of && is always false.
------ -----------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------
Line CRM/Member/Form/MembershipRenewal.php
------ ---------------------------------------------------------------------------------------------------------------------------
:28 Property CRM_Member_Form_MembershipRenewal::$_memberDisplayName (string) does not accept default value of type null.
:35 Property CRM_Member_Form_MembershipRenewal::$_memberEmail (string) does not accept default value of type null.
:43 Property CRM_Member_Form_MembershipRenewal::$_contactID (int) does not accept default value of type null.
:50 Property CRM_Member_Form_MembershipRenewal::$_contributorDisplayName (string) does not accept default value of type null.
:57 Property CRM_Member_Form_MembershipRenewal::$_contributorEmail (string) does not accept default value of type null.
:64 Property CRM_Member_Form_MembershipRenewal::$_contributorContactID (int) does not accept default value of type null.
:71 Property CRM_Member_Form_MembershipRenewal::$_receiptContactId (int) does not accept default value of type null.
:86 Property CRM_Member_Form_MembershipRenewal::$isMailSent (string) does not accept default value of type false.
:214 Offset 'renewal_date' on non-empty-array on left side of ?? always exists and is not nullable.
:281 Binary operation "/" between string and 100 results in an error.
:325 Call to an undefined method HTML_QuickForm_element::setOptions().
:327 If condition is always true.
:493 Access to an undefined property CRM_Member_Form_MembershipRenewal::$_membershipId.
:650 Access to an undefined property CRM_Member_Form_MembershipRenewal::$_groupTree.
:663 Access to an undefined property CRM_Member_Form_MembershipRenewal::$_membershipId.
:709 Access to an undefined property CRM_Member_Form_MembershipRenewal::$_membershipId.
------ ---------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line CRM/Member/Form/MembershipStatus.php
------ -----------------------------------------------------------------------------------
:78 Access to an undefined property CRM_Member_Form_MembershipStatus::$deleteMessage.
:83 Access to an undefined property CRM_Member_Form_MembershipStatus::$_BAOName.
------ -----------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Member/Form/MembershipType.php
------ ------------------------------------------------------------------------------------
:470 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
------ ------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line CRM/Member/Form/MembershipView.php
------ -------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Member_Form_MembershipView::$_links (array) does not accept default value of type null.
:37 Property CRM_Member_Form_MembershipView::$membershipID is unused.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
:44 Property CRM_Member_Form_MembershipView::$contactID is unused.
💡 See: https://phpstan.org/developing-extensions/always-read-written-properties
:403 Variable $autoRenew might not be defined.
------ -------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------
Line CRM/Member/Form/Search.php
------ ---------------------------------------------------------------------------------------------
:44 Property CRM_Member_Form_Search::$_limit (bool) does not accept default value of type null.
:70 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:236 Call to an undefined method CRM_Core_StateMachine::getTaskFormName().
------ ---------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------
Line CRM/Member/Form/Task.php
------ ------------------------------------------------------------------
:49 Access to an undefined property CRM_Core_Form_Task::$_memberIds.
------ ------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Member/Form/Task/Batch.php
------ -------------------------------------------------------------------------------------------------------------------------------------
:83 Access to an undefined property CRM_Member_Form_Task_Batch::$_fields.
:123 Access to an undefined property CRM_Member_Form_Task_Batch::$_componentCampaigns.
:174 Return type (void) of method CRM_Member_Form_Task_Batch::setDefaultValues() should be compatible with return type (array) of method
CRM_Core_Form::setDefaultValues()
:184 Method CRM_Member_Form_Task_Batch::setDefaultValues() with return type void returns mixed but should not return anything.
:243 Variable $membershipTypeId might not be defined.
:255 Variable $membershipTypeId might not be defined.
:267 Variable $value might not be defined.
------ -------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line CRM/Member/Form/Task/PDFLetter.php
------ ----------------------------------------------------------------------------------------------------------
:33 Property CRM_Member_Form_Task_PDFLetter::$_templates (array) does not accept default value of type null.
:45 Access to an undefined property CRM_Member_Form_Task_PDFLetter::$skipDeceased.
:45 Access to an undefined property CRM_Member_Form_Task_PDFLetter::$skipOnHold.
------ ----------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line CRM/Member/Form/Task/PickProfile.php
------ -------------------------------------------------------------------------------------------
:114 Method CRM_Member_Form_Task_PickProfile::formRule() should return array but returns true.
------ -------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Member/Import/Form/DataSource.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:55 Return type (CRM_Member_Import_Parser_Membership) of method CRM_Member_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()
:56 Negated boolean expression is always false.
:61 Method CRM_Member_Import_Form_DataSource::getParser() should return CRM_Member_Import_Parser_Membership but returns CRM_Import_Parser.
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Member/Import/Form/MapField.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------
:125 Return type (CRM_Member_Import_Parser_Membership) of method CRM_Member_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()
:126 Negated boolean expression is always false.
:131 Method CRM_Member_Import_Form_MapField::getParser() should return CRM_Member_Import_Parser_Membership but returns CRM_Import_Parser.
------ ------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Member/Import/Form/Preview.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
:37 Return type (CRM_Member_Import_Parser_Membership) of method CRM_Member_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()
:38 Negated boolean expression is always false.
:43 Method CRM_Member_Import_Form_Preview::getParser() should return CRM_Member_Import_Parser_Membership but returns CRM_Import_Parser.
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------
Line CRM/Member/Import/Parser/Membership.php
------ ----------------------------------------------------------
:346 Dead catch - CRM_Core_Exception is already caught above.
------ ----------------------------------------------------------
------ -----------------------------------------
Line CRM/Member/Page/AJAX.php
------ -----------------------------------------
:47 Variable $details might not be defined.
------ -----------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Member/Page/DashBoard.php
------ ------------------------------------------------------------------------------------
:35 Access to an undefined property CRM_Member_Page_DashBoard::$showMembershipSummary.
:64 Binary operation "+" between string and 1 results in an error.
------ ------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Member/Page/MembershipStatus.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Member_Page_MembershipStatus::$_links (array) does not accept default value of type null.
:115 Offset 'start_event' on array{}|array{action: string} on left side of ?? does not exist.
:116 Offset 'end_event' on array{}|array{action: string} on left side of ?? does not exist.
:117 Offset 'start_event_adjust…' on array{}|array{action: string} on left side of ?? does not exist.
:118 Offset 'end_event_adjust…' on array{}|array{action: string} on left side of ?? does not exist.
:119 Offset 'start_event_adjust…' on array{}|array{action: string} on left side of ?? does not exist.
:120 Offset 'end_event_adjust…' on array{}|array{action: string} on left side of ?? does not exist.
:122 If condition is always false.
:125 If condition is always false.
:128 Left side of && is always false.
:128 Right side of && is always false.
:131 Left side of && is always false.
:131 Right side of && is always false.
:172 Parameter #1 $mode (null) of method CRM_Member_Page_MembershipStatus::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------
Line CRM/Member/Page/MembershipType.php
------ ------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Member_Page_MembershipType::$_links (array) does not accept default value of type null.
:83 Method CRM_Member_Page_MembershipType::run() with return type void returns mixed but should not return anything.
:140 Binary operation "." between 'edit contributions…' and array results in an error.
:143 Binary operation "." between 'delete…' and array results in an error.
------ ------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------
Line CRM/Member/Page/RecurringContributions.php
------ ------------------------------------------------------------------------------------------------------------------
:13 Property CRM_Member_Page_RecurringContributions::$membershipID (int) does not accept default value of type null.
:20 Property CRM_Member_Page_RecurringContributions::$contactID (int) does not accept default value of type null.
:40 Method CRM_Member_Page_RecurringContributions::loadRecurringContributions() is unused.
------ ------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Member/Page/Tab.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
:24 Static property CRM_Member_Page_Tab::$_links (array) does not accept default value of type null.
:27 Property CRM_Member_Page_Tab::$_permission (string) does not accept default value of type null.
:81 Variable $linkButtons on left side of ?? always exists and is not nullable.
:122 Offset 'membership_id' does not exist on non-empty-array<'action'|'active'|'auto_renew'|'campaign'|'membership_type'|'related_count'|'status',
mixed>.
:124 Cannot call method supports() on array|int<min, -1>|int<1, max>|object.
:130 Offset 'membership_id' does not exist on non-empty-array<'action'|'active'|'auto_renew'|'campaign'|'membership_type'|'related_count'|'status',
mixed>.
:153 Access to an undefined property object::$membership_type_id.
:154 Access to an undefined property object::$id.
:157 Access to an undefined property object::$id.
:164 Access to an undefined property object::$id.
:169 Offset 'contribution_recur…' on non-empty-array<'action'|'active'|'auto_renew'|'campaign'|'membership_type'|'related_count'|'status', mixed> in
empty() does not exist.
:194 Offset 'max_related' on non-empty-array<'action'|'active'|'auto_renew'|'campaign'|'membership_type'|'related_count'|'status', mixed> on left side
of ?? does not exist.
:195 Ternary operator condition is always true.
:260 Access to an undefined property CRM_Member_Page_Tab::$_action.
:263 Access to an undefined property CRM_Member_Page_Tab::$_id.
:282 Variable $membershipTypes in empty() always exists and is not falsy.
:376 Access to an undefined property CRM_Member_Page_Tab::$_id.
:390 Access to an undefined property CRM_Member_Page_Tab::$_action.
:393 Access to an undefined property CRM_Member_Page_Tab::$_action.
:663 Binary operation "." between 'edit contributions…' and array results in an error.
:668 Binary operation "." between 'delete…' and array results in an error.
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------
Line CRM/Member/Page/UserDashboard.php
------ ---------------------------------------------------------------------------------
:31 Property CRM_Member_DAO_Membership::$is_test (bool|string) does not accept int.
------ ---------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line CRM/Member/PseudoConstant.php
------ ------------------------------------------------------------------------------------------
:59 Method CRM_Member_PseudoConstant::membershipType() should return array but returns null.
------ ------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Member/Selector/Search.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Member_Selector_Search::$_links (array) does not accept default value of type null.
:72 Property CRM_Member_Selector_Search::$_limit (bool) does not accept default value of type null.
:79 Property CRM_Member_Selector_Search::$_context (string) does not accept default value of type null.
:101 Property CRM_Member_Selector_Search::$_memberClause (string) does not accept default value of type null.
:129 Parameter $action of method CRM_Member_Selector_Search::__construct() has invalid type const.
:139 Property CRM_Member_Selector_Search::$_limit (bool) does not accept int|null.
:258 Parameter #1 $action (int) of method CRM_Member_Selector_Search::getPagerParams() should be compatible with parameter $action (string) of method
CRM_Core_Selector_API::getPagerParams()
:280 Parameter #1 $action (int) of method CRM_Member_Selector_Search::getTotalCount() should be compatible with parameter $action (string) of method
CRM_Core_Selector_API::getTotalCount()
:281 Method CRM_Member_Selector_Search::getTotalCount() should return int but returns CRM_Core_DAO|string|null.
:306 Return type (array) of method CRM_Member_Selector_Search::getRows() should be compatible with return type (int) of method
CRM_Core_Selector_API::getRows()
:385 Binary operation "." between 'edit contributions…' and array results in an error.
:390 Binary operation "." between 'delete…' and array results in an error.
:467 Static property CRM_Member_Selector_Search::$_columnHeaders (array) in isset() is not nullable.
:535 Method CRM_Member_Selector_Search::getQuery() should return string but returns CRM_Contact_BAO_Query.
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line CRM/Member/StateMachine/Search.php
------ ---------------------------------------------------------------------------------------------------
:32 Parameter $action of method CRM_Member_StateMachine_Search::__construct() has invalid type const.
:52 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ ---------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Member/Tokens.php
------ --------------------------------------------------------------------------------------------------------------------------------------------
:83 Method CRM_Member_Tokens::getTokenMetadataOverrides() has invalid return type string.
:84 Method CRM_Member_Tokens::getTokenMetadataOverrides() should return array<array<string>> but returns array<string, array<string, string>>.
------ --------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------
Line CRM/Member/Utils/RelationshipProcessor.php
------ ---------------------------------------------------------------------------------------------
:22 PHPDoc tag @var has invalid value ([int]): Unexpected token "[", expected type at offset 48
------ ---------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------
Line CRM/Member/WorkflowMessage/MembershipTrait.php (in context of class CRM_Member_WorkflowMessage_MembershipOfflineReceipt)
------ --------------------------------------------------------------------------------------------------------------------------
:45 Access to an undefined property CRM_Member_WorkflowMessage_MembershipOfflineReceipt::$membershipId.
------ --------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------
Line CRM/Member/WorkflowMessage/MembershipTrait.php (in context of class CRM_Member_WorkflowMessage_MembershipOnlineReceipt)
------ -------------------------------------------------------------------------------------------------------------------------
:45 Access to an undefined property CRM_Member_WorkflowMessage_MembershipOnlineReceipt::$membershipId.
------ -------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Note/Form/Note.php
------ ---------------------------------------------------------------------
:82 Property CRM_Note_Form_Note::$_id (int) in isset() is not nullable.
------ ---------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line CRM/PCP/BAO/PCP.php
------ -------------------------------------------------------------------------------------------------
:24 Static property CRM_PCP_BAO_PCP::$_pcpLinks (array) does not accept default value of type null.
:41 Property CRM_PCP_DAO_PCP::$status_id (int|string) in isset() is not nullable.
:41 Result of && is always false.
:130 Variable $replace might not be defined.
:186 Variable $replace might not be defined.
:229 Method CRM_PCP_BAO_PCP::thermoMeter() should return float but returns string|null.
:502 Method CRM_PCP_BAO_PCP::handlePcp() should return array but returns false.
:533 Variable $urlBase might not be defined.
:536 Offset 'id' does not exist on string.
:553 Variable $endDate might not be defined.
:553 Variable $startDate might not be defined.
:556 Variable $endDate might not be defined.
:556 Variable $startDate might not be defined.
:562 Variable $startDate might not be defined.
:566 Elseif condition is always true.
:764 Method CRM_PCP_BAO_PCP::getStatus() should return int but returns string|null.
:855 Variable $query might not be defined.
:926 Method CRM_PCP_BAO_PCP::getSupporterProfileId() should return int but returns string.
:949 Method CRM_PCP_BAO_PCP::getOwnerNotificationId() should return int but returns string.
------ -------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------
Line CRM/PCP/Form/Campaign.php
------ ------------------------------------------------------------------------
:61 Access to an undefined property CRM_PCP_Form_Campaign::$_pageId.
:82 Access to an undefined property CRM_PCP_Form_Campaign::$_contactID.
:83 Access to an undefined property CRM_PCP_Form_Campaign::$_contriPageId.
:197 Access to an undefined property CRM_PCP_Form_Campaign::$_contriPageId.
:228 Access to an undefined property CRM_PCP_Form_Campaign::$_pageId.
:251 Access to an undefined property CRM_PCP_Form_Campaign::$_pageId.
:288 Variable $pageUrl might not be defined.
:289 Variable $contribPageTitle might not be defined.
:334 Access to an undefined property CRM_PCP_Form_Campaign::$_pageId.
------ ------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------
Line CRM/PCP/Form/Contribute.php
------ ----------------------------------------------------------------------------------------------------------------------------------
:29 Property CRM_PCP_Form_Contribute::$_component (int) does not accept default value of type string.
:43 Return type (void) of method CRM_PCP_Form_Contribute::setDefaultValues() should be compatible with return type (array) of method
CRM_Contribute_Form_ContributionPage::setDefaultValues()
:46 Property CRM_Contribute_Form_ContributionPage::$_id (int) in isset() is not nullable.
:66 Method CRM_PCP_Form_Contribute::setDefaultValues() with return type void returns mixed but should not return anything.
------ ----------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line CRM/PCP/Form/Event.php
------ ----------------------------------------------------------------------------------------------
:29 Property CRM_PCP_Form_Event::$_component (int) does not accept default value of type string.
:43 Property CRM_Event_Form_ManageEvent::$_id (int) in isset() is not nullable.
------ ----------------------------------------------------------------------------------------------
------ ---------------------------------------------------------
Line CRM/PCP/Form/PCP.php
------ ---------------------------------------------------------
:181 Access to an undefined property CRM_PCP_Form_PCP::$_id.
------ ---------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line CRM/PCP/Form/PCPAccount.php
------ ----------------------------------------------------------------------------------------------
:27 Property CRM_PCP_Form_PCPAccount::$_pageId (int) does not accept default value of type null.
:112 Access to an undefined property CRM_PCP_Form_PCPAccount::$_contactID.
:113 Access to an undefined property CRM_PCP_Form_PCPAccount::$_fields.
:119 Offset 'image_URL' on array{} in empty() does not exist.
:147 Access to an undefined property CRM_PCP_Form_PCPAccount::$_fields.
:149 Offset mixed on array{} in isset() does not exist.
:170 Access to an undefined property CRM_PCP_Form_PCPAccount::$_contactID.
:254 Access to an undefined property CRM_PCP_Form_PCPAccount::$_contactID.
:271 Access to an undefined property CRM_PCP_Form_PCPAccount::$_contactID.
:293 Access to an undefined property CRM_PCP_Form_PCPAccount::$_contactID.
:299 Access to an undefined property CRM_PCP_Form_PCPAccount::$_fields.
------ ----------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------
Line CRM/PCP/Page/PCP.php
------ -------------------------------------------------------------------------------------------------------------------------------
:28 Static property CRM_PCP_Page_PCP::$_links (array) does not accept default value of type null.
:274 Variable $pages might not be defined.
:274 Variable $pages might not be defined.
:278 Variable $pages might not be defined.
:290 Variable $pages might not be defined.
:291 Variable $pages might not be defined.
:361 Parameter #1 $mode (null) of method CRM_PCP_Page_PCP::userContext() should be compatible with parameter $mode (int) of method
CRM_Core_Page_Basic::userContext()
:388 Access to an undefined property CRM_PCP_Page_PCP::$_sortByCharacter.
------ -------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------
Line CRM/PCP/Page/PCPInfo.php
------ --------------------------------------------------------------------------------------------------------
:84 Variable $urlBase might not be defined.
:95 Variable $urlBase might not be defined.
:105 Variable $urlBase might not be defined.
:243 Variable $urlBase might not be defined.
:250 Variable $urlBase might not be defined.
:270 Variable $urlBase might not be defined.
:277 Variable $urlBase might not be defined.
:317 Method CRM_PCP_Page_PCPInfo::run() with return type void returns mixed but should not return anything.
:327 Access to an undefined property CRM_PCP_Page_PCPInfo::$_id.
------ --------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------
Line CRM/PCP/StateMachine/PCP.php
------ ---------------------------------------------------------------------------------------------
:33 Parameter $action of method CRM_PCP_StateMachine_PCP::__construct() has invalid type const.
:44 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ ---------------------------------------------------------------------------------------------
------- --------------------------------------------------------------------------------------------------------------------
Line CRM/Pledge/BAO/Pledge.php
------- --------------------------------------------------------------------------------------------------------------------
:24 Static property CRM_Pledge_BAO_Pledge::$_exportableFields (array) does not accept default value of type null.
:74 Method CRM_Pledge_BAO_Pledge::add() should return CRM_Pledge_DAO_Pledge but returns CRM_Core_DAO.
:93 Method CRM_Pledge_BAO_Pledge::getValues() should return array but returns null.
:242 Method CRM_Pledge_BAO_Pledge::isPaymentsRequireRecalculation() should return bool but return statement is missing.
:583 Variable $userEmail might not be defined.
:583 Variable $userName might not be defined.
:647 Negated boolean expression is always true.
:759 Method CRM_Pledge_BAO_Pledge::getContactPledgeCount() should return int but returns string|null.
:1062 Method CRM_Pledge_BAO_Pledge::pledgeHasFinancialTransactions() should return bool but returns array|int.
:1186 Variable $date might not be defined.
------- --------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Pledge/BAO/PledgeBlock.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
:180 Offset 'scheduled_date' on array{id: mixed, scheduled_amount: string, scheduled_amount_currency: mixed, scheduled_date: string} on left side of ??
always exists and is not nullable.
:190 Offset 'scheduled_date' on array{id: mixed, scheduled_amount: string, scheduled_amount_currency: mixed, scheduled_date: string} on left side of ??
always exists and is not nullable.
:206 Access to an undefined property CRM_Core_Form::$_id.
:268 Variable $paymentDate might not be defined.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------
Line CRM/Pledge/BAO/PledgePayment.php
------ ------------------------------------------------------------------------------------------------------------------------------
:145 Variable $payment might not be defined.
:256 Property CRM_Pledge_DAO_PledgePayment::$scheduled_date (string) does not accept null.
:413 Binary operation "-" between int|string|null and string|null results in an error.
:531 Variable $hour might not be defined.
:531 Variable $minute might not be defined.
:531 Variable $month might not be defined.
:531 Variable $second might not be defined.
:531 Variable $year might not be defined.
:538 Variable $month might not be defined.
:540 Variable $year might not be defined.
:572 Offset 'Overdue' on array{entity: string, action: string, debug: array, version: int, rowCount: int, \*\matchedCount: int,
\Civi\Api4\Generic\Result\indexedBy: mixed} in empty() does not exist.
:575 Offset 'Completed' on array{entity: string, action: string, debug: array, version: int, rowCount: int, \*\matchedCount: int,
\Civi\Api4\Generic\Result\indexedBy: mixed} in empty() does not exist.
:575 Result of && is always false.
:575 Strict comparison using === between 7 and 1 will always evaluate to false.
:578 Offset 'Completed' on array{entity: string, action: string, debug: array, version: int, rowCount: int, \*\matchedCount: int,
\Civi\Api4\Generic\Result\indexedBy: mixed} in empty() does not exist.
:734 Property CRM_Pledge_DAO_PledgePayment::$scheduled_date (string) does not accept null.
:868 Access to an undefined property object::$id.
:871 Access to an undefined property object::$total_amount.
:886 Access to an undefined property object::$total_amount.
------ ------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------
Line CRM/Pledge/BAO/Query.php
------ ------------------------------------------------------------------
:222 Access to an undefined property object::$_mode.
:223 Access to an undefined property object::$_useDistinct.
:472 Binary operation "&" between string and 512 results in an error.
:581 Variable $freqUnitsDisplay might not be defined.
------ ------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Pledge/Form/Pledge.php
------ ------------------------------------------------------------------------------------
:203 Access to an undefined property CRM_Pledge_Form_Pledge::$_context.
:208 Access to an undefined property CRM_Pledge_Form_Pledge::$_formType.
:224 Offset 'hidden…' on array{} in empty() does not exist.
:320 Access to an undefined property CRM_Pledge_Form_Pledge::$_fromEmails.
:535 Access to an undefined property CRM_Pledge_Form_Pledge::$userEmail.
:566 Access to an undefined property CRM_Pledge_Form_Pledge::$_context.
:567 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:578 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
------ ------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------
Line CRM/Pledge/Form/Search.php
------ ---------------------------------------------------------------------------------------------
:49 Property CRM_Pledge_Form_Search::$_limit (bool) does not accept default value of type null.
:62 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
:221 Call to an undefined method CRM_Core_StateMachine::getTaskFormName().
------ ---------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------
Line CRM/Pledge/Page/Payment.php
------ --------------------------------------------------------------------
:69 Access to an undefined property CRM_Pledge_Page_Payment::$_action.
------ --------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line CRM/Pledge/Page/Tab.php
------ -------------------------------------------------------------------------------------------------
:18 Property CRM_Pledge_Page_Tab::$_permission (string) does not accept default value of type null.
:25 Access to an undefined property CRM_Pledge_Page_Tab::$_action.
:54 Access to an undefined property CRM_Pledge_Page_Tab::$_action.
:57 Access to an undefined property CRM_Pledge_Page_Tab::$_id.
:71 Access to an undefined property CRM_Pledge_Page_Tab::$_action.
:74 Access to an undefined property CRM_Pledge_Page_Tab::$_id.
------ -------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------
Line CRM/Pledge/Selector/Search.php
------ ------------------------------------------------------------------------------------------------------------------
:30 Static property CRM_Pledge_Selector_Search::$_links (array) does not accept default value of type null.
:76 Property CRM_Pledge_Selector_Search::$_limit (bool) does not accept default value of type null.
:83 Property CRM_Pledge_Selector_Search::$_context (string) does not accept default value of type null.
:105 Property CRM_Pledge_Selector_Search::$_additionalClause (string) does not accept default value of type null.
:133 Parameter $action of method CRM_Pledge_Selector_Search::__construct() has invalid type const.
:143 Property CRM_Pledge_Selector_Search::$_limit (bool) does not accept int|null.
:240 Method CRM_Pledge_Selector_Search::getTotalCount() should return int but returns CRM_Core_DAO|string|null.
:343 Method CRM_Pledge_Selector_Search::getRows() should return int but returns array<int, array<int|string, mixed>>.
:369 Static property CRM_Pledge_Selector_Search::$_columnHeaders (array) in isset() is not nullable.
------ ------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line CRM/Pledge/StateMachine/Search.php
------ ---------------------------------------------------------------------------------------------------
:32 Parameter $action of method CRM_Pledge_StateMachine_Search::__construct() has invalid type const.
:54 Method CRM_Core_StateMachine::addSequentialPages() invoked with 2 parameters, 1 required.
------ ---------------------------------------------------------------------------------------------------
------- -------------------------------------------------------------------------------------------------------------------------
Line CRM/Price/BAO/LineItem.php
------- -------------------------------------------------------------------------------------------------------------------------
:88 Variable $entity_id might not be defined.
:89 Variable $entity_table might not be defined.
:96 Method CRM_Price_BAO_LineItem::create() should return CRM_Price_BAO_LineItem but returns CRM_Core_DAO.
:203 Negated boolean expression is always false.
:349 Left side of && is always true.
:775 Call to an undefined method CRM_Price_BAO_LineItem::getRelatedCancelFinancialTrxn().
:814 Method CRM_Price_BAO_LineItem::checkFinancialItemTotalAmountByLineItemID() should return float but returns string|null.
:817 Part $lineItemID (array) of encapsed string cannot be cast to string.
:932 Method CRM_Price_BAO_LineItem::isCancelled() should return bool but return statement is missing.
:971 If condition is always false.
:1178 Property CRM_Contribute_DAO_Contribution::$amount_level (string|null) does not accept true.
:1234 Comparison operation "==" between (array|float|int) and 0 results in an error.
------- -------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line CRM/Price/BAO/PriceField.php
------ ------------------------------------------------------------------------------------------------------------
:291 Access to an undefined property CRM_Core_Form::$_contributionAmount.
:330 Offset int|string|null on null in empty() does not exist.
:358 Offset int|string|null does not exist on null.
:463 Variable $choiceAttrs might not be defined.
:464 Call to method getElements() on an unknown class HTML_QuickForm_group.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
:608 Call to an undefined method HTML_QuickForm_element::getText().
:608 Call to an undefined method HTML_QuickForm_element::setText().
:617 Method CRM_Price_BAO_PriceField::addQuickFormElement() should return null but return statement is missing.
:618 Variable $element might not be defined.
:727 Method CRM_Price_BAO_PriceField::deleteField() should return bool but returns null.
:892 Static property CRM_Price_BAO_PriceField::$visibilityOptionsKeys (array) in isset() is not nullable.
------ ------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------
Line CRM/Price/BAO/PriceFieldValue.php
------ --------------------------------------------------------------------------------------------------------------
:61 Method CRM_Price_BAO_PriceFieldValue::create() should return CRM_Price_DAO_PriceFieldValue but returns null.
:73 If condition is always true.
:158 Method DB_DataObject::orderBy() invoked with 2 parameters, 0-1 required.
:160 Property CRM_Price_DAO_PriceFieldValue::$is_active (bool|string) does not accept int.
------ --------------------------------------------------------------------------------------------------------------
------- ------------------------------------------------------------------------------------------------------------------
Line CRM/Price/BAO/PriceSet.php
------- ------------------------------------------------------------------------------------------------------------------
:29 Static property CRM_Price_BAO_PriceSet::$_defaultPriceSet (array) does not accept default value of type null.
:61 If condition is always true.
:197 Static method CRM_Price_BAO_PriceSet::reformatUsedByFormsWithEntityData() invoked with 2 parameters, 1 required.
:254 Method CRM_Price_BAO_PriceSet::addTo() should return bool but returns CRM_Core_DAO.
:372 If condition is always true.
:574 Access to an undefined property CRM_Core_Form::$_id.
:577 Access to an undefined property CRM_Core_Form::$_participantId.
:584 Access to an undefined property CRM_Core_Form::$_id.
:589 Access to an undefined property CRM_Core_Form::$_values.
:597 Access to an undefined property CRM_Core_Form::$_priceSetId.
:599 Access to an undefined property CRM_Core_Form::$_priceSet.
:600 Access to an undefined property CRM_Core_Form::$_values.
:822 Access to an undefined property CRM_Core_Form::$_priceSet.
:824 Access to an undefined property CRM_Core_Form::$_quickConfig.
:865 Access to an undefined property CRM_Core_Form::$_values.
:1044 Variable $var might not be defined.
:1060 Binary operation "+" between string|null and 1 results in an error.
:1064 Binary operation "+" between string|null and 1 results in an error.
:1107 Right side of && is always true.
:1690 Right side of && is always true.
------- ------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line CRM/Price/Form/Field.php
------ ----------------------------------------------------------------------------------------------
:158 Property CRM_Price_Form_Field::$_sid (int) in isset() is not nullable.
:236 Property CRM_Price_Form_Field::$_useForMember (bool) does not accept int.
:461 Strict comparison using === between int|string|null and false will always evaluate to false.
:487 Strict comparison using === between int|string|null and false will always evaluate to false.
:622 Method CRM_Price_Form_Field::formRule() should return array but returns true.
:654 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
------ ----------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------
Line CRM/Price/Form/Option.php
------ -------------------------------------------------------------------------------------------------------------------
:67 Method CRM_Price_Form_Option::setDefaultValues() should return array|void but returns null.
:71 Property CRM_Price_Form_Option::$_oid (int) in isset() is not nullable.
:83 Access to an undefined property CRM_Price_Form_Option::$_sid.
:90 Access to an undefined property CRM_Price_Form_Option::$_sid.
:124 Method CRM_Price_Form_Option::buildQuickForm() with return type void returns null but should not return anything.
:149 Access to an undefined property CRM_Price_Form_Option::$_sid.
:326 Method CRM_Price_Form_Option::postProcess() with return type void returns null but should not return anything.
------ -------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Price/Page/Field.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
:58 Static property CRM_Price_Page_Field::$_actionLinks (array) in isset() is not nullable.
:161 Offset 'html_type' does not exist on array{}|array{action: string, active_on?: '', expire_on?: '', html_type_display: mixed, order: mixed, price?:
mixed, tax_amount?: mixed, tax_rate?: mixed}|array{price?: mixed, tax_rate?: mixed, tax_amount?: mixed, active_on?: '', expire_on?: ''}.
:162 Offset 'weight' does not exist on array{action: string, active_on?: '', expire_on?: '', html_type_display: mixed, order: mixed, price?: mixed,
tax_amount?: mixed, tax_rate?: mixed}|array{price?: mixed, tax_rate?: mixed, tax_amount?: mixed, active_on?: '', expire_on?: '',
html_type_display: mixed}.
:271 Static method CRM_Utils_System::appendBreadCrumb() invoked with 2 parameters, 1 required.
:304 Method CRM_Price_Page_Field::run() with return type void returns mixed but should not return anything.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------
Line CRM/Price/Page/Option.php
------ ---------------------------------------------------------------------------------------------------------
:67 Static property CRM_Price_Page_Option::$_actionLinks (array) in isset() is not nullable.
:220 Binary operation "&" between string and 8 results in an error.
:223 Static method CRM_Utils_System::appendBreadCrumb() invoked with 2 parameters, 1 required.
:227 Variable $usedBy might not be defined.
:234 Variable $usedBy might not be defined.
:312 Method CRM_Price_Page_Option::run() with return type void returns mixed but should not return anything.
------ ---------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Price/Page/Set.php
------ ------------------------------------------------------------------------------------------------------
:43 Static property CRM_Price_Page_Set::$_actionLinks (array) in isset() is not nullable.
:150 Static method CRM_Utils_System::appendBreadCrumb() invoked with 2 parameters, 1 required.
:173 Method CRM_Price_Page_Set::run() with return type void returns mixed but should not return anything.
:241 If condition is always true.
:244 Property CRM_Price_DAO_PriceSet::$is_quick_config (bool|string) does not accept int.
------ ------------------------------------------------------------------------------------------------------
------- -------------------------------------------------------------------------------------------------------------
Line CRM/Profile/Form.php
------- -------------------------------------------------------------------------------------------------------------
:102 Property CRM_Profile_Form::$_ruleGroupID (int) does not accept default value of type null.
:118 Property CRM_Profile_Form::$_ctype (string) does not accept default value of type null.
:132 Property CRM_Profile_Form::$_isContactActivityProfile (string) does not accept default value of type false.
:139 Property CRM_Profile_Form::$_activityId (string) does not accept default value of type null.
:151 Property CRM_Profile_Form::$_multiRecord (string) does not accept default value of type null.
:337 Variable $gids in empty() always exists and is not falsy.
:449 Variable $fieldIds might not be defined.
:470 Negated boolean expression is always true.
:470 Result of || is always true.
:479 Call to an undefined method object::get().
:481 Access to an undefined property object::$_id.
:509 Access to an undefined property object::$_fields.
:510 Access to an undefined property object::$_multiRecordProfile.
:570 Variable $fieldIds might not be defined.
:600 Variable $field might not be defined.
:621 Variable $field might not be defined.
:634 Offset (int|string) on array{} in isset() does not exist.
:634 Result of || is always true.
:713 Access to an undefined property CRM_Profile_Form::$_maxRecordLimit.
:713 Binary operation "&" between string and 1 results in an error.
:865 Call to an undefined method CRM_Core_DAO_UFGroup::addSelect().
:866 Call to an undefined method CRM_Core_DAO_UFGroup::addSelect().
:967 Access to an undefined property CRM_Core_Form::$_ufGroup.
:981 Access to an undefined property CRM_Core_Form::$_id.
:984 Access to an undefined property CRM_Core_Form::$_isUpdateDupe.
:987 Access to an undefined property CRM_Core_Form::$_mode.
:1015 Right side of && is always true.
:1034 Right side of && is always true.
:1232 Variable $groupSubscribed might not be defined.
:1309 Access to an undefined property CRM_Profile_Form::$_mail.
:1375 Binary operation "&" between string and 8 results in an error.
------- -------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------
Line CRM/Profile/Form/Dynamic.php
------ -----------------------------------------------------------------------
:45 Property CRM_Profile_Form::$_isUpdateDupe (int) does not accept true.
------ -----------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Profile/Form/Edit.php
------ ------------------------------------------------------------------------------------
:142 Binary operation "&" between non-falsy-string and 2 results in an error.
:208 Binary operation "&" between string and 8 results in an error.
:209 Method HTML_QuickForm_Page::getButtonName() invoked with 2 parameters, 1 required.
------ ------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------
Line CRM/Profile/Page/Dynamic.php
------ ---------------------------------------------------------------------------------------------------------------------
:70 Property CRM_Profile_Page_Dynamic::$_isContactActivityProfile (string) does not accept default value of type false.
:77 Property CRM_Profile_Page_Dynamic::$_activityId (string) does not accept default value of type null.
:95 Property CRM_Profile_Page_Dynamic::$_allFields (int) does not accept default value of type null.
:168 Method CRM_Profile_Page_Dynamic::actionLinks() should return array but returns null.
:202 Access to an undefined property CRM_Profile_Page_Dynamic::$_isPermissionedChecksum.
:353 Variable $fields might not be defined.
:376 Variable $title might not be defined.
:379 Variable $title might not be defined.
------ ---------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------
Line CRM/Profile/Page/Listings.php
------ --------------------------------------------------------------------------
:81 Property CRM_Profile_Page_Listings::$_search (int) does not accept true.
:94 Variable $gids in empty() always exists and is not falsy.
------ --------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Profile/Page/MultipleRecordFieldsListing.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
:24 Static property CRM_Profile_Page_MultipleRecordFieldsListing::$_links (array) does not accept default value of type null.
:178 Variable $multiRecordFieldsWithSummaryListing in empty() always exists and is not falsy.
:184 Access to an undefined property CRM_Profile_Page_MultipleRecordFieldsListing::$_customGroupId.
:247 Variable $customGroupId might not be defined.
:250 Variable $linkAction might not be defined.
:263 Variable $fieldIDs in empty() always exists and is not falsy.
:270 Variable $multiRecordFields might not be defined.
:285 Variable $reached might not be defined.
:301 Access to an undefined property CRM_Profile_Page_MultipleRecordFieldsListing::$_total.
:318 Variable $timeFormat might not be defined.
:331 Variable $dateFormat might not be defined.
:343 Variable $linkAction might not be defined.
:384 Access to an undefined property CRM_Profile_Page_MultipleRecordFieldsListing::$_customGroupId.
:394 Access to an undefined property CRM_Profile_Page_MultipleRecordFieldsListing::$_customGroupId.
:408 Variable $linkAction might not be defined.
:428 Variable $customGroupInfo might not be defined.
:431 Variable $linkAction might not be defined.
:444 Variable $fieldLabels might not be defined.
:445 Variable $fieldLabels might not be defined.
:493 Parameter #1 $mode (null) of method CRM_Profile_Page_MultipleRecordFieldsListing::userContext() should be compatible with parameter $mode (int) of
method CRM_Core_Page_Basic::userContext()
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line CRM/Profile/Page/Router.php
------ -----------------------------------------------------------------------------------
:33 Method CRM_Profile_Page_Router::run() should return string|void but returns null.
------ -----------------------------------------------------------------------------------
------ -----------------------------------------------------------
Line CRM/Profile/Page/View.php
------ -----------------------------------------------------------
:68 Variable $gids in empty() always exists and is not falsy.
------ -----------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Profile/Selector/Listings.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
:31 Static property CRM_Profile_Selector_Listings::$_links (array) does not accept default value of type null.
:125 Property CRM_Profile_Selector_Listings::$_params (string) does not accept array.
:133 Property CRM_Profile_Selector_Listings::$_gid (int) does not accept null.
:148 Variable $groupId might not be defined.
:276 Static property CRM_Profile_Selector_Listings::$_columnHeaders (array) in isset() is not nullable.
:338 Variable $fieldName might not be defined.
:366 Parameter #1 $action (int) of method CRM_Profile_Selector_Listings::getTotalCount() should be compatible with parameter $action (string) of method
CRM_Core_Selector_API::getTotalCount()
:386 If condition is always true.
:388 Method CRM_Profile_Selector_Listings::getTotalCount() should return int but returns string|null.
:397 Return type (string) of method CRM_Profile_Selector_Listings::getQill() should be compatible with return type (array) of method
CRM_Core_Selector_Base::getQill()
:425 Cannot access property $_vars on string.
:449 Cannot access property $_vars on string.
:482 Variable $editLink might not be defined.
:610 Left side of && is always true.
:617 Variable $key might not be defined.
:700 Negated boolean expression is always true.
:704 Method CRM_Profile_Selector_Listings::getRows() should return int but returns array<int, array<int, mixed>>.
:764 Negated boolean expression is always false.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line CRM/Queue/ErrorPolicy.php
------ ---------------------------------------------------------------------
:40 Access to an undefined property CRM_Queue_ErrorPolicy::$level.
:48 Access to an undefined property CRM_Queue_ErrorPolicy::$backup.
:57 Access to an undefined property CRM_Queue_ErrorPolicy::$level.
:65 Access to an undefined property CRM_Queue_ErrorPolicy::$errorScope.
:72 Access to an undefined property CRM_Queue_ErrorPolicy::$backup.
:95 Variable $result might not be defined.
:112 Binary operation "&" between int and string results in an error.
:129 Access to an undefined property CRM_Queue_ErrorPolicy::$level.
------ ---------------------------------------------------------------------
------ ----------------------------------------------------------------------------
Line CRM/Queue/Page/AJAX.php
------ ----------------------------------------------------------------------------
:84 Method CRM_Queue_Runner::handleEnd() invoked with 1 parameter, 0 required.
------ ----------------------------------------------------------------------------
------ ----------------------------------
Line CRM/Queue/Page/Runner.php
------ ----------------------------------
:55 Right side of && is always true.
------ ----------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Queue/Queue.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------
:49 Cannot unset offset 'status' on array{name: string, type: string, runner: string, batch_limit: int, lease_time: int|null, retry_limit: int,
retry_interval: int|null}.
------ ---------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------
Line CRM/Queue/Queue/BatchQueueInterface.php
------ -----------------------------------------------------------------------------
:28 PHPDoc tag @return with type object is incompatible with native type array.
------ -----------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line CRM/Queue/Queue/Memory.php
------ ------------------------------------------------------------------------------------
:78 Property CRM_Queue_Queue_Memory::$items (array) does not accept null.
:79 Property CRM_Queue_Queue_Memory::$releaseTimes (array) does not accept null.
:80 Property CRM_Queue_Queue_Memory::$runCounts (array) does not accept null.
:171 Method CRM_Queue_Queue_Memory::claimItem() should return object but returns false.
:175 Method CRM_Queue_Queue_Memory::claimItem() should return object but returns false.
:203 Method CRM_Queue_Queue_Memory::stealItem() should return object but returns false.
------ ------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line CRM/Queue/Queue/Sql.php
------ -----------------------------------------------------------------------------------------------
:109 Method CRM_Queue_Queue_Sql::stealItem() should return object but return statement is missing.
------ -----------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------
Line CRM/Queue/Queue/SqlParallel.php
------ -------------------------------------------------------------------------------------------------------
:116 Method CRM_Queue_Queue_SqlParallel::stealItem() should return object but return statement is missing.
------ -------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------
Line CRM/Queue/Runner.php
------ ----------------------------------------------------------------------------------------
:249 If condition is always true.
:305 If condition is always true.
:375 Property CRM_Queue_Runner::$lastTaskTitle (string) on left side of ?? is not nullable.
------ ----------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line CRM/Queue/Service.php
------ --------------------------------------------------------------------------------------
:165 Unsafe access to private property CRM_Queue_Service::$commonFields through static::.
------ --------------------------------------------------------------------------------------
------ ------------------------------------------------------
Line CRM/Queue/TaskRunner.php
------ ------------------------------------------------------
:42 Variable $outcome in PHPDoc tag @var does not exist.
------ ------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/BAO/Hook.php
------ --------------------------------------------------------------------------------------------------------------------------------
:27 Property CRM_Report_BAO_Hook::$_queryObjects (array<CRM_Report_BAO_HookInterface>) does not accept default value of type null.
------ --------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/BAO/ReportInstance.php
------ ---------------------------------------------------------------------------------------------------------------------------------------
:33 Method CRM_Report_BAO_ReportInstance::add() should return CRM_Report_DAO_ReportInstance but returns null.
:83 Elseif condition is always false.
:215 Method CRM_Report_BAO_ReportInstance::create() should return CRM_Report_BAO_ReportInstance but returns CRM_Report_DAO_ReportInstance.
:291 Method CRM_Report_BAO_ReportInstance::contactIsOwner() should return true but returns false.
:304 Left side of || is always true.
------ ---------------------------------------------------------------------------------------------------------------------------------------
------- ------------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/Form.php
------- ------------------------------------------------------------------------------------------------------------------------------
:283 Property CRM_Report_Form::$_limit (string) does not accept default value of type null.
:293 Property CRM_Report_Form::$_limitValue (int) does not accept default value of type null.
:301 Property CRM_Report_Form::$_offsetValue (int) does not accept default value of type null.
:329 Property CRM_Report_Form::$_resultSet (bool) does not accept default value of type array.
:604 Property CRM_Report_Form::$_customGroupExtends (null) in empty() is always falsy.
:604 Result of && is always false.
:605 Property CRM_Report_Form::$_customGroupExtends (null) does not accept array.
:644 Negated boolean expression is always true.
:669 Offset 'title' does not exist on array{}.
:670 Offset 'permission' on array{} in empty() does not exist.
:670 Result of && is always false.
:679 Offset 'form_values' on array{} on left side of ?? does not exist.
:680 If condition is always false.
:756 Result of && is always false.
:757 Result of && is always false.
:758 Negated boolean expression is always false.
:1097 Cannot call method freeze() on object|true.
:1124 Access to an undefined property HTML_QuickForm_element::$_elements.
:1528 Access to an undefined property CRM_Report_Form::$sqlFormattedArray.
:1529 Cannot assign new offset to string.
:1535 Variable $sql on left side of ?? always exists and is not nullable.
:1569 Left side of && is always true.
:1811 Property CRM_Report_Form::$_customGroupExtends (null) in empty() is always falsy.
:1811 Result of && is always false.
:1811 Result of && is always false.
:2044 Comparison operation ">" between int<1, max> and 0 is always true.
:2045 Comparison operation ">" between int<1, max> and 0 is always true.
:2259 Variable $clauseSeparator might not be defined.
:2290 Variable $to on left side of ?? always exists and is not nullable.
:2352 Property CRM_Report_Form::$_customGroupExtends (null) in empty() is always falsy.
:2356 Unreachable statement - code above always terminates.
:2501 Property CRM_Report_Form::$_chartId (int) does not accept string.
:2603 Method CRM_Report_Form::alterStateProvinceID() should return array but return statement is missing.
:2623 Method CRM_Report_Form::alterCountryID() should return array but return statement is missing.
:2624 Method CRM_Report_Form::alterCountryID() should return array but returns null.
:2642 Static method CRM_Core_PseudoConstant::county() invoked with 2 parameters, 0-1 required.
:2643 Method CRM_Report_Form::alterCountyID() should return array but return statement is missing.
:2884 Method CRM_Report_Form::selectClause() should return bool but returns string.
:3056 Call to an undefined method CRM_Report_Form::from().
:3200 Else branch is unreachable because previous condition is always true.
:3418 Variable $combinations might not be defined.
:3552 Property CRM_Report_Form::$_resultSet (bool) does not accept array|null.
:3664 Property CRM_Report_Form::$_limit (string) does not accept null.
:3697 Method CRM_Report_Form::limit() should return array but return statement is missing.
:3719 Right side of && is always true.
:3731 Property CRM_Core_Form::$controller (CRM_Core_Controller) in empty() is not falsy.
:3761 Property CRM_Contact_DAO_Group::$is_active (bool|string) does not accept int.
:3976 Property CRM_Report_Form::$_customGroupExtends (null) in empty() is always falsy.
:3979 Unreachable statement - code above always terminates.
:4134 Property CRM_Report_Form::$_customGroupExtends (null) in empty() is always falsy.
:4137 Unreachable statement - code above always terminates.
:4187 Offset 'fields' does not exist on non-falsy-string.
:4196 Offset 'fields' on non-falsy-string in empty() does not exist.
:4205 Offset 'group_bys' does not exist on non-falsy-string.
:4215 Offset 'fields' does not exist on non-falsy-string.
:4412 Access to an undefined property CRM_Report_Form::$campaigns.
:5358 Cannot assign new offset to string.
:5643 Access to an undefined property CRM_Report_Form::$_customGroupExtended.
:5999 Method CRM_Report_Form::getSelectClauseWithGroupConcatIfNotGroupedBy() should return string but return statement is missing.
:6006 Offset 'dbAlias' does not exist on string.
:6008 Offset 'dbAlias' does not exist on string.
:6067 Access to an undefined property CRM_Report_Form::$outputHandler.
:6078 Property CRM_Report_Form::$_outputMode (string) on left side of ?? is not nullable.
:6084 Access to an undefined property CRM_Report_Form::$outputHandler.
:6087 Access to an undefined property CRM_Report_Form::$outputHandler.
:6092 Access to an undefined property CRM_Report_Form::$outputHandler.
:6095 Access to an undefined property CRM_Report_Form::$outputHandler.
:6097 Access to an undefined property CRM_Report_Form::$outputHandler.
------- ------------------------------------------------------------------------------------------------------------------------------
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/Form/Activity.php
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
:20 Property CRM_Report_Form_Activity::$_customGroupExtends (null) does not accept default value of type array<int, string>.
:46 Access to an undefined property CRM_Report_Form_Activity::$_resetDateFilter.
:68 Access to an undefined property CRM_Report_Form_Activity::$activityTypes.
:343 Access to an undefined property CRM_Report_Form_Activity::$engagementLevels.
:343 Ternary operator condition is always true.
:567 Access to an undefined property CRM_Report_Form_Activity::$activityTypes.
:569 Access to an undefined property CRM_Report_Form_Activity::$activityTypes.
:626 Default value of the parameter #1 $tableAlias (string) of method CRM_Report_Form_Activity::buildACLClause() is incompatible with type array.
:626 Parameter #1 $tableAlias (array) of method CRM_Report_Form_Activity::buildACLClause() should be compatible with parameter $tableAlias (string) of
method CRM_Report_Form::buildACLClause()
:948 Variable $value in isset() always exists and is not nullable.
:970 Variable $value in isset() always exists and is not nullable.
:1015 Variable $onHoverAct might not be defined.
:1023 Access to an undefined property CRM_Report_Form_Activity::$campaigns.
:1030 Access to an undefined property CRM_Report_Form_Activity::$engagementLevels.
:1158 Variable $recordTypeID might not be defined.
------- ---------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/Form/Campaign/SurveyDetails.php
------ ----------------------------------------------------------------------------------------------------------------------------------------
:27 Property CRM_Report_Form_Campaign_SurveyDetails::$_customGroupExtends (null) does not accept default value of type array<int, string>.
:285 Access to an undefined property CRM_Report_Form_Campaign_SurveyDetails::$_surveyResponseFields.
:346 Variable $clauses in empty() always exists and is not falsy.
:682 Access to an undefined property CRM_Report_Form_Campaign_SurveyDetails::$_surveyResponseFields.
------ ----------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/Form/Case/Detail.php
------ -----------------------------------------------------------------------------------------------------------------------------
:31 Property CRM_Report_Form_Case_Detail::$_customGroupExtends (null) does not accept default value of type array<int, string>.
:41 Access to an undefined property CRM_Report_Form_Case_Detail::$case_statuses.
:42 Access to an undefined property CRM_Report_Form_Case_Detail::$case_types.
:45 Access to an undefined property CRM_Report_Form_Case_Detail::$rel_types.
:48 Access to an undefined property CRM_Report_Form_Case_Detail::$caseActivityTypes.
:168 Access to an undefined property CRM_Report_Form_Case_Detail::$rel_types.
:319 Access to an undefined property CRM_Report_Form_Case_Detail::$caseActivityTypes.
:523 Access to an undefined property CRM_Report_Form_Case_Detail::$caseActivityTypes.
:599 Access to an undefined property CRM_Report_Form_Case_Detail::$case_statuses.
:606 Access to an undefined property CRM_Report_Form_Case_Detail::$case_types.
:627 Access to an undefined property CRM_Report_Form_Case_Detail::$rel_types.
------ -----------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/Form/Case/Summary.php
------ ------------------------------------------------------------------------------------------------------------------------------
:23 Property CRM_Report_Form_Case_Summary::$_customGroupExtends (null) does not accept default value of type array<int, string>.
:29 Access to an undefined property CRM_Report_Form_Case_Summary::$case_types.
:30 Access to an undefined property CRM_Report_Form_Case_Summary::$case_statuses.
:33 Access to an undefined property CRM_Report_Form_Case_Summary::$rel_types.
:160 Access to an undefined property CRM_Report_Form_Case_Summary::$rel_types.
:325 Access to an undefined property CRM_Report_Form_Case_Summary::$case_statuses.
:338 Access to an undefined property CRM_Report_Form_Case_Summary::$case_types.
------ ------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------
Line CRM/Report/Form/Case/TimeSpent.php
------ -------------------------------------------------------------------------------------
:24 Access to an undefined property CRM_Report_Form_Case_TimeSpent::$activityTypes.
:26 Access to an undefined property CRM_Report_Form_Case_TimeSpent::$activityStatuses.
:173 Access to an undefined property CRM_Report_Form_Case_TimeSpent::$has_grouping.
:174 Access to an undefined property CRM_Report_Form_Case_TimeSpent::$has_activity_type.
:290 Access to an undefined property CRM_Report_Form_Case_TimeSpent::$has_grouping.
:295 Access to an undefined property CRM_Report_Form_Case_TimeSpent::$has_activity_type.
------ -------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/Form/Contact/CurrentEmployer.php
------ -----------------------------------------------------------------------------------------------------------------------------------------
:33 Property CRM_Report_Form_Contact_CurrentEmployer::$_customGroupExtends (null) does not accept default value of type array<int, string>.
------ -----------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/Form/Contact/Detail.php
------ --------------------------------------------------------------------------------------------------------------------------------
:21 Property CRM_Report_Form_Contact_Detail::$_customGroupExtends (null) does not accept default value of type array<int, string>.
:377 Access to an undefined property CRM_Report_Form_Contact_Detail::$_component.
:393 Access to an undefined property CRM_Report_Form_Contact_Detail::$_columnHeadersComponent.
:417 Access to an undefined property CRM_Report_Form_Contact_Detail::$_columnHeadersComponent.
:432 Access to an undefined property CRM_Report_Form_Contact_Detail::$_selectComponent.
:463 Access to an undefined property CRM_Report_Form_Contact_Detail::$_component.
:468 Access to an undefined property $this(CRM_Report_Form_Contact_Detail)::$_formComponent.
:476 Access to an undefined property $this(CRM_Report_Form_Contact_Detail)::$_formComponent.
:484 Access to an undefined property $this(CRM_Report_Form_Contact_Detail)::$_formComponent.
:575 Access to an undefined property $this(CRM_Report_Form_Contact_Detail)::$_formComponent.
:590 Access to an undefined property $this(CRM_Report_Form_Contact_Detail)::$_formComponent.
:648 Access to an undefined property CRM_Report_Form_Contact_Detail::$_contactSelected.
:651 Access to an undefined property CRM_Report_Form_Contact_Detail::$_component.
:656 Access to an undefined property $this(CRM_Report_Form_Contact_Detail)::$_formComponent.
:666 Access to an undefined property $this(CRM_Report_Form_Contact_Detail)::$_columnHeadersComponent.
:689 Access to an undefined property $this(CRM_Report_Form_Contact_Detail)::$_formComponent.
:699 Access to an undefined property $this(CRM_Report_Form_Contact_Detail)::$_columnHeadersComponent.
:739 Access to an undefined property $this(CRM_Report_Form_Contact_Detail)::$_formComponent.
:756 Access to an undefined property $this(CRM_Report_Form_Contact_Detail)::$_columnHeadersComponent.
:765 Variable $row might not be defined.
:768 Variable $row might not be defined.
:771 Variable $row might not be defined.
:812 Method CRM_Report_Form_Contact_Detail::limit() should return array but return statement is missing.
:828 Access to an undefined property CRM_Report_Form_Contact_Detail::$_contactSelected.
:842 Access to an undefined property $this(CRM_Report_Form_Contact_Detail)::$_columnHeadersComponent.
------ --------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------
Line CRM/Report/Form/Contact/Log.php
------ ------------------------------------------------------------------------------
:26 Access to an undefined property CRM_Report_Form_Contact_Log::$activityTypes.
:275 Access to an undefined property CRM_Report_Form_Contact_Log::$activityTypes.
------ ------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------
Line CRM/Report/Form/Contact/LoggingDetail.php
------ ------------------------------------------------------------------------------
:26 Property CRM_Logging_ReportDetail::$detail (int) does not accept string.
:41 Binary operation "." between array and non-falsy-string results in an error.
------ ------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/Form/Contact/Relationship.php
------ --------------------------------------------------------------------------------------------------------------------------------------
:24 Property CRM_Report_Form_Contact_Relationship::$_customGroupExtends (null) does not accept default value of type array<int, string>.
:653 Variable $originalRelationshipTypeIdValue in empty() is never defined.
:778 PHPDoc tag @param has invalid value ([int] $key): Unexpected token "[", expected type at offset 79
:778 PHPDoc tag @return has invalid value ([string]): Unexpected token "[", expected type at offset 103
:801 Method CRM_Report_Form_Contact_Relationship::buildValidityQuery() should return array but returns string|null.
------ --------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/Form/Contact/Summary.php
------ ---------------------------------------------------------------------------------------------------------------------------------
:25 Property CRM_Report_Form_Contact_Summary::$_customGroupExtends (null) does not accept default value of type array<int, string>.
------ ---------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/Form/Contribute/Bookkeeping.php
------ ----------------------------------------------------------------------------------------------------------------------------------------
:21 Property CRM_Report_Form_Contribute_Bookkeeping::$_customGroupExtends (null) does not accept default value of type array<int, string>.
:385 Property CRM_Report_Form::$_from (string) does not accept null.
------ ----------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------
Line CRM/Report/Form/Contribute/DeferredRevenue.php
------ -----------------------------------------------------------------------------------------------------------------
:356 Method CRM_Report_Form_Contribute_DeferredRevenue::limit() should return array but return statement is missing.
:356 Property CRM_Report_Form::$_limit (string) does not accept null.
------ -----------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/Form/Contribute/Detail.php
------ -----------------------------------------------------------------------------------------------------------------------------------
:25 Property CRM_Report_Form_Contribute_Detail::$_customGroupExtends (null) does not accept default value of type array<int, string>.
:756 Access to an undefined property CRM_Report_Form_Contribute_Detail::$campaigns.
:911 If condition is always true.
:911 Variable $showsumcontribs might not be defined.
:918 If condition is always true.
:918 Variable $showsumcontribs might not be defined.
:924 If condition is always true.
:924 Variable $showsumcontribs might not be defined.
------ -----------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------
Line CRM/Report/Form/Contribute/History.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------
:23 Property CRM_Report_Form_Contribute_History::$_customGroupExtends (null) does not accept default value of type array<int, string>.
:387 Access to an undefined property CRM_Report_Form_Contribute_History::$_relationshipFrom.
:400 Access to an undefined property CRM_Report_Form_Contribute_History::$_relationshipWhere.
:401 Access to an undefined property CRM_Report_Form_Contribute_History::$_contributionClauses.
:756 Access to an undefined property CRM_Report_Form_Contribute_History::$_relationshipFrom.
:758 Access to an undefined property CRM_Report_Form_Contribute_History::$_relationshipWhere.
:790 Parameter #2 $fieldName (null) of method CRM_Report_Form_Contribute_History::getOperationPair() should be compatible with parameter $fieldName
(string) of method CRM_Report_Form::getOperationPair()
:791 Left side of || is always false.
:791 Right side of || is always false.
------ ------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line CRM/Report/Form/Contribute/HouseholdSummary.php
------ ------------------------------------------------------------------------------------------------------
:74 Access to an undefined property CRM_Report_Form_Contribute_HouseholdSummary::$relationTypes.
:75 Access to an undefined property CRM_Report_Form_Contribute_HouseholdSummary::$relationTypes.
:241 Access to an undefined property CRM_Report_Form_Contribute_HouseholdSummary::$householdContact.
:243 Access to an undefined property CRM_Report_Form_Contribute_HouseholdSummary::$otherContact.
:246 Access to an undefined property CRM_Report_Form_Contribute_HouseholdSummary::$otherContact.
:271 Access to an undefined property CRM_Report_Form_Contribute_HouseholdSummary::$relationshipId.
:305 Access to an undefined property CRM_Report_Form_Contribute_HouseholdSummary::$householdContact.
:306 Access to an undefined property CRM_Report_Form_Contribute_HouseholdSummary::$otherContact.
:314 Access to an undefined property CRM_Report_Form_Contribute_HouseholdSummary::$householdContact.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment