Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up to newer coder style #69

Merged
merged 1 commit into from
Apr 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/civicrm_engage/Engage/Report/Form/CallList.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
* Generate a phone call list report
*/
class Engage_Report_Form_CallList extends Engage_Report_Form_List {

public function __construct() {

parent::__construct();
Expand Down
2 changes: 2 additions & 0 deletions modules/civicrm_engage/Engage/Report/Form/List.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,14 @@ class Engage_Report_Form_List extends CRM_Report_Form {
* Constituent individual table name has changed
* between versions of civicrm. Populate this field
* dynamically to ensure backward compatability
* @var bool
*/
protected $_constituentIndividualTable = FALSE;

/**
* Langauage field might be primary or secondary
* depending on version...
* @var bool
*/
protected $_langaugeName = FALSE;

Expand Down
3 changes: 2 additions & 1 deletion modules/civicrm_engage/Engage/Report/Form/WalkList.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
* Generate a walk list
*/
class Engage_Report_Form_WalkList extends Engage_Report_Form_List {

public function __construct() {

parent::__construct();
Expand Down Expand Up @@ -436,7 +437,7 @@ public function executePrintmode($rows) {
$dob = $value['civicrm_contact_birth_date'];
$age = empty($dob) ? 0 : $this->dob2age($dob);
if (!empty($value['civicrm_contact_gender_id'])) {
$sex = $gender[CRM_Utils_Array::value('civicrm_contact_gender_id', $value)];
$sex = $gender[CRM_Utils_Array::value('civicrm_contact_gender_id', $value)];
}
$sex = empty($sex) ? '' : $sex;
$lang = strtoupper(substr($value[$this->_demoTable . '_' . $this->_demoLangCol], 0, 2));
Expand Down
1 change: 1 addition & 0 deletions tests/phpunit/CiviBackdrop/HookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @group e2e
*/
class HookTest extends \PHPUnit_Framework_TestCase implements EndToEndInterface {

public function testFoo() {
$arg1 = 'hello';
$arg2 = array(
Expand Down