Skip to content

Commit

Permalink
First pass at PHP 8.2.x compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
christianwach committed Feb 8, 2024
1 parent f3c23d4 commit b1e299b
Show file tree
Hide file tree
Showing 18 changed files with 686 additions and 87 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,51 @@ class CiviCRM_Profile_Sync_ACF_ACFE_Form_Action_Activity extends CiviCRM_Profile
*/
public $field_name = 'cwps_activity_action_';

/**
* Public Activity Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $public_activity_fields;

/**
* Activity Fields for Contacts.
*
* @since 0.5
* @access public
* @var array
*/
public $fields_for_contacts;

/**
* Custom Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $custom_fields;

/**
* Custom Field IDs.
*
* @since 0.5
* @access public
* @var array
*/
public $custom_field_ids;

/**
* Attachment Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $attachment_fields;

/**
* Public Activity Fields to add.
*
Expand Down
36 changes: 36 additions & 0 deletions includes/acf/acfe/form-actions/cwps-acf-acfe-form-action-case.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,42 @@ class CiviCRM_Profile_Sync_ACF_ACFE_Form_Action_Case extends CiviCRM_Profile_Syn
*/
public $field_name = 'cwps_case_action_';

/**
* Public Case Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $public_case_fields;

/**
* Fields for Contacts.
*
* @since 0.5
* @access public
* @var array
*/
public $fields_for_contacts;

/**
* Custom Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $custom_fields;

/**
* Custom Field IDs.
*
* @since 0.5
* @access public
* @var array
*/
public $custom_field_ids;

/**
* Public Case Fields to add.
*
Expand Down
180 changes: 180 additions & 0 deletions includes/acf/acfe/form-actions/cwps-acf-acfe-form-action-contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,186 @@ class CiviCRM_Profile_Sync_ACF_ACFE_Form_Action_Contact extends CiviCRM_Profile_
*/
public $field_name = 'cwps_contact_action_';

/**
* Public Contact Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $public_contact_fields;

/**
* Custom Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $custom_fields;

/**
* Custom Field IDs.
*
* @since 0.5
* @access public
* @var array
*/
public $custom_field_ids;

/**
* Location Types.
*
* @since 0.5
* @access public
* @var array
*/
public $location_types;

/**
* Default Location Type.
*
* @since 0.5
* @access public
* @var string
*/
public $location_type_default;

/**
* Email Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $email_fields;

/**
* Website Types.
*
* @since 0.5
* @access public
* @var array
*/
public $website_types;

/**
* Website Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $website_fields;

/**
* Address Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $address_fields;

/**
* Address Custom Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $address_custom_fields;

/**
* Phone Types.
*
* @since 0.5
* @access public
* @var array
*/
public $phone_types;

/**
* Phone Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $phone_fields;

/**
* IM Providers.
*
* @since 0.5
* @access public
* @var array
*/
public $im_providers;

/**
* IM Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $im_fields;

/**
* Membership Types.
*
* @since 0.5
* @access public
* @var array
*/
public $membership_types;

/**
* Note Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $note_fields;

/**
* Attachment Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $attachment_fields;

/**
* Relationship Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $relationship_fields;

/**
* Relationship Choices.
*
* @since 0.5
* @access public
* @var array
*/
public $relationship_choices;

/**
* Relationship Custom Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $relationship_custom_fields;

/**
* Public Contact Fields to add.
*
Expand Down
18 changes: 18 additions & 0 deletions includes/acf/acfe/form-actions/cwps-acf-acfe-form-action-email.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,24 @@ class CiviCRM_Profile_Sync_ACF_ACFE_Form_Action_Email extends CiviCRM_Profile_Sy
*/
public $field_name = 'cwps_civicrm_email_action_';

/**
* Mapped Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $mapped_email_fields;

/**
* Email Contact Fields.
*
* @since 0.5
* @access public
* @var array
*/
public $contact_fields;

/**
* Constructor.
*
Expand Down
Loading

0 comments on commit b1e299b

Please sign in to comment.