Skip to content
Snippets Groups Projects
Commit 9d451db8 authored by eileen's avatar eileen
Browse files

Further phpcs mandated fixes

I removed the poorly formatted comment as it seemed out of date anyway
parent 5ba7d840
Branches
Tags
No related merge requests found
......@@ -120,13 +120,14 @@ class CRM_Core_BAO_ActionSchedule extends CRM_Core_DAO_ActionSchedule {
* @param bool $namesOnly
* Return simple list of names.
*
* @param \Civi\ActionSchedule\Mapping|NULL $filterMapping
* @param \Civi\ActionSchedule\Mapping|null $filterMapping
* Filter by the schedule's mapping type.
* @param int $filterValue
* Filter by the schedule's entity_value.
*
* @return array
* (reference) reminder list
* @throws \CRM_Core_Exception
*/
public static function &getList($namesOnly = FALSE, $filterMapping = NULL, $filterValue = NULL) {
$query = "
......
......@@ -62,21 +62,3 @@ function _civicrm_api3_permissions($entity, $action, &$params) {
return isset($perm[$action]) ? $perm[$action] : $perm['default'];
}
# FIXME: not sure how to permission the following API 3 calls:
# contribution_transact (make online contributions)
# entity_tag_display
# group_contact_pending
# group_contact_update_status
# mailing_event_bounce
# mailing_event_click
# mailing_event_confirm
# mailing_event_forward
# mailing_event_open
# mailing_event_reply
# mailing_group_event_domain_unsubscribe
# mailing_group_event_resubscribe
# mailing_group_event_subscribe
# mailing_group_event_unsubscribe
# membership_status_calc
# survey_respondant_count
......@@ -52,7 +52,7 @@
* **************************
*/
class CRM_Core_Payment_FirstData extends CRM_Core_Payment {
# (not used, implicit in the API, might need to convert?)
// (not used, implicit in the API, might need to convert?)
const CHARSET = 'UFT-8';
/**
......@@ -122,7 +122,7 @@ class CRM_Core_Payment_FirstData extends CRM_Core_Payment {
$requestFields['email'] = $params['email'];
$requestFields['ip'] = $params['ip_address'];
$requestFields['transactionorigin'] = "Eci";
#32 character string
// 32 character string
$requestFields['invoice_number'] = $params['invoiceID'];
$requestFields['ordertype'] = 'Sale';
$requestFields['comments'] = $params['description'];
......@@ -179,9 +179,9 @@ class CRM_Core_Payment_FirstData extends CRM_Core_Payment {
* define variables for connecting with the gateway
**********************************************************/
# Name and location of certificate file
// Name and location of certificate file
$key = $this->_paymentProcessor['password'];
# Your store number
// Your store number
$requestFields["configfile"] = $this->_paymentProcessor['user_name'];
$port = "1129";
$host = $this->_paymentProcessor['url_site'] . ":" . $port . "/LSGSXML";
......
......@@ -99,7 +99,7 @@ require_once 'eWAY/eWAY_GatewayResponse.php';
* Class CRM_Core_Payment_eWAY.
*/
class CRM_Core_Payment_eWAY extends CRM_Core_Payment {
# (not used, implicit in the API, might need to convert?)
// (not used, implicit in the API, might need to convert?)
const CHARSET = 'UTF-8';
/**
......
......@@ -5,7 +5,9 @@
*/
class CRM_Core_Reference_OptionValue extends CRM_Core_Reference_Basic {
/**
* @var string option-group-name
* Option group name.
*
* @var string
*/
protected $targetOptionGroupName;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment