use correct namespace
This commit is contained in:
parent
1875861735
commit
b0d5bdefa5
5 changed files with 6 additions and 8 deletions
|
@ -16,8 +16,7 @@
|
|||
declare(strict_types = 1);
|
||||
|
||||
use CRM_Twingle_ExtensionUtil as E;
|
||||
use CRM\Twingle\Exceptions\ProfileException as ProfileException;
|
||||
use CRM\Twingle\Exceptions\ProfileValidationError as ProfileValidationError;
|
||||
use Civi\Twingle\Exceptions\ProfileException as ProfileException;
|
||||
|
||||
/**
|
||||
* Form controller class
|
||||
|
@ -560,7 +559,7 @@ class CRM_Twingle_Form_Profile extends CRM_Core_Form {
|
|||
E::ts('Could not parse custom field mapping.')
|
||||
);
|
||||
}
|
||||
list($twingle_field_name, $custom_field_name) = $custom_field_map;
|
||||
[$twingle_field_name, $custom_field_name] = $custom_field_map;
|
||||
$custom_field_id = substr($custom_field_name, strlen('custom_'));
|
||||
|
||||
// Check for custom field existence
|
||||
|
|
|
@ -16,8 +16,7 @@
|
|||
declare(strict_types = 1);
|
||||
|
||||
use CRM_Twingle_ExtensionUtil as E;
|
||||
use CRM\Twingle\Exceptions\ProfileException as ProfileException;
|
||||
use CRM\Twingle\Exceptions\ProfileValidationError as ProfileValidationError;
|
||||
use Civi\Twingle\Exceptions\ProfileException as ProfileException;
|
||||
|
||||
/**
|
||||
* Profiles define how incoming submissions from the Twingle API are
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace CRM\Twingle\Exceptions;
|
||||
namespace Civi\Twingle\Exceptions;
|
||||
|
||||
use CRM_Twingle_ExtensionUtil as E;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace CRM\Twingle\Exceptions;
|
||||
namespace Civi\Twingle\Exceptions;
|
||||
|
||||
/**
|
||||
* A simple custom exception that indicates a problem within the
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace CRM\Twingle\Exceptions;
|
||||
namespace Civi\Twingle\Exceptions;
|
||||
|
||||
/**
|
||||
* A simple custom error indicating a problem with the validation of the
|
Loading…
Add table
Add a link
Reference in a new issue