From 95ea96beae31b4dd733c35e09a8c964a6839bb1b Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 6 Jan 2015 23:27:10 +1300 Subject: [PATCH] fix run-on formatting --- CRM/Activity/Form/Task/Email.php | 3 ++- CRM/Admin/Page/Persistent.php | 3 ++- CRM/Campaign/Form/Gotv.php | 3 ++- CRM/Campaign/Form/Search.php | 3 ++- CRM/Campaign/Form/Search/Campaign.php | 3 ++- CRM/Campaign/Form/Search/Petition.php | 3 ++- CRM/Campaign/Form/Search/Survey.php | 3 ++- CRM/Campaign/Form/SurveyType.php | 3 ++- CRM/Campaign/Form/Task.php | 3 ++- CRM/Campaign/Form/Task/Release.php | 3 ++- CRM/Campaign/StateMachine/Search.php | 3 ++- CRM/Case/Form/Report.php | 3 ++- CRM/Case/Form/Task/Delete.php | 3 ++- CRM/Case/Form/Task/Restore.php | 3 ++- CRM/Case/StateMachine/Search.php | 3 ++- CRM/Contact/Form/Task/SaveSearch.php | 3 ++- CRM/Contact/StateMachine/Search.php | 3 ++- CRM/Contribute/Form/Search.php | 3 ++- CRM/Contribute/Form/Task/Delete.php | 3 ++- CRM/Contribute/Form/Task/Email.php | 3 ++- CRM/Contribute/Form/Task/PDF.php | 3 ++- CRM/Contribute/Page/ContributionRecur.php | 3 ++- CRM/Contribute/StateMachine/Search.php | 3 ++- CRM/Core/Form/Renderer.php | 3 ++- CRM/Event/Form/Task/Email.php | 3 ++- CRM/Event/Form/Task/SaveSearch.php | 3 ++- CRM/Extension/Manager/Interface.php | 3 ++- CRM/Grant/Form/Search.php | 3 ++- CRM/Grant/Form/Task.php | 3 ++- CRM/Grant/Form/Task/Delete.php | 3 ++- CRM/Grant/Page/Tab.php | 3 ++- CRM/Grant/StateMachine/Search.php | 3 ++- CRM/Member/StateMachine/Search.php | 3 ++- CRM/Pledge/Form/Task/Delete.php | 3 ++- CRM/Pledge/StateMachine/Search.php | 3 ++- CRM/Price/Form/DeleteField.php | 3 ++- CRM/Price/Form/DeleteSet.php | 5 +++-- CRM/Price/Form/Preview.php | 3 ++- CRM/Price/Page/Field.php | 3 ++- CRM/Price/Page/Option.php | 3 ++- CRM/Price/Page/Set.php | 3 ++- CRM/Report/BAO/HookInterface.php | 3 ++- CRM/UF/Page/Field.php | 3 ++- CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php | 3 ++- CRM/Utils/Token.php | 3 ++- .../WebTest/Contribute/UpdateContributionTest.php | 12 ++++++++---- tests/phpunit/api/v3/AllTests.php | 3 ++- tools/CRM/Auction/Form/Auction.php | 3 ++- tools/CRM/Auction/Form/Item.php | 3 ++- tools/CRM/Auction/Page/Item.php | 3 ++- tools/CRM/Auction/Page/Manage.php | 3 ++- tools/CRM/Auction/Page/ManageItem.php | 3 ++- 52 files changed, 111 insertions(+), 56 deletions(-) diff --git a/CRM/Activity/Form/Task/Email.php b/CRM/Activity/Form/Task/Email.php index 8fa654f060..8be1cb2922 100644 --- a/CRM/Activity/Form/Task/Email.php +++ b/CRM/Activity/Form/Task/Email.php @@ -60,7 +60,8 @@ class CRM_Activity_Form_Task_Email extends CRM_Activity_Form_Task { * Build all the data structures needed to build the form * * @return void - */ function preProcess() { + */ + function preProcess() { CRM_Contact_Form_Task_EmailCommon::preProcessFromAddress($this); parent::preProcess(); diff --git a/CRM/Admin/Page/Persistent.php b/CRM/Admin/Page/Persistent.php index bfe8426fd0..4df76d2b8c 100644 --- a/CRM/Admin/Page/Persistent.php +++ b/CRM/Admin/Page/Persistent.php @@ -51,7 +51,8 @@ class CRM_Admin_Page_Persistent extends CRM_Core_Page { * Get action Links * * @return array (reference) of action links - */ function &stringActionLinks() { + */ + function &stringActionLinks() { // check if variable _actionsLinks is populated if (!isset(self::$_stringActionLinks)) { diff --git a/CRM/Campaign/Form/Gotv.php b/CRM/Campaign/Form/Gotv.php index 8e555a6d46..dd2fb7833b 100755 --- a/CRM/Campaign/Form/Gotv.php +++ b/CRM/Campaign/Form/Gotv.php @@ -53,7 +53,8 @@ class CRM_Campaign_Form_Gotv extends CRM_Core_Form { * Processing needed for buildForm and later * * @return void - */ function preProcess() { + */ + function preProcess() { $this->_search = CRM_Utils_Array::value('search', $_GET); $this->_force = CRM_Utils_Request::retrieve('force', 'Boolean', $this, FALSE); $this->_surveyId = CRM_Utils_Request::retrieve('sid', 'Positive', $this); diff --git a/CRM/Campaign/Form/Search.php b/CRM/Campaign/Form/Search.php index 152611610b..ea22e89e47 100755 --- a/CRM/Campaign/Form/Search.php +++ b/CRM/Campaign/Form/Search.php @@ -74,7 +74,8 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search { * Processing needed for buildForm and later * * @return void - */ function preProcess() { + */ + function preProcess() { $this->_done = FALSE; $this->_defaults = array(); diff --git a/CRM/Campaign/Form/Search/Campaign.php b/CRM/Campaign/Form/Search/Campaign.php index 6250cae60c..971acddc33 100755 --- a/CRM/Campaign/Form/Search/Campaign.php +++ b/CRM/Campaign/Form/Search/Campaign.php @@ -49,7 +49,8 @@ class CRM_Campaign_Form_Search_Campaign extends CRM_Core_Form { * Processing needed for buildForm and later * * @return void - */ function preProcess() { + */ + function preProcess() { $this->_search = CRM_Utils_Array::value('search', $_GET); $this->_force = CRM_Utils_Request::retrieve('force', 'Boolean', $this, FALSE, FALSE); $this->_searchTab = CRM_Utils_Request::retrieve('type', 'String', $this, FALSE, 'campaign'); diff --git a/CRM/Campaign/Form/Search/Petition.php b/CRM/Campaign/Form/Search/Petition.php index 54c3a60f63..975cca62b1 100755 --- a/CRM/Campaign/Form/Search/Petition.php +++ b/CRM/Campaign/Form/Search/Petition.php @@ -49,7 +49,8 @@ class CRM_Campaign_Form_Search_Petition extends CRM_Core_Form { * Processing needed for buildForm and later * * @return void - */ function preProcess() { + */ + function preProcess() { $this->_search = CRM_Utils_Array::value('search', $_GET); $this->_force = CRM_Utils_Request::retrieve('force', 'Boolean', $this, FALSE, FALSE); $this->_searchTab = CRM_Utils_Request::retrieve('type', 'String', $this, FALSE, 'petition'); diff --git a/CRM/Campaign/Form/Search/Survey.php b/CRM/Campaign/Form/Search/Survey.php index d093baf2e5..044ba72e00 100755 --- a/CRM/Campaign/Form/Search/Survey.php +++ b/CRM/Campaign/Form/Search/Survey.php @@ -49,7 +49,8 @@ class CRM_Campaign_Form_Search_Survey extends CRM_Core_Form { * Processing needed for buildForm and later * * @return void - */ function preProcess() { + */ + function preProcess() { $this->_search = CRM_Utils_Array::value('search', $_GET); $this->_force = CRM_Utils_Request::retrieve('force', 'Boolean', $this, FALSE, FALSE); $this->_searchTab = CRM_Utils_Request::retrieve('type', 'String', $this, FALSE, 'survey'); diff --git a/CRM/Campaign/Form/SurveyType.php b/CRM/Campaign/Form/SurveyType.php index 20d523493b..36a1409b1d 100644 --- a/CRM/Campaign/Form/SurveyType.php +++ b/CRM/Campaign/Form/SurveyType.php @@ -68,7 +68,8 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form { * @param null * * @return void - */ function preProcess() { + */ + function preProcess() { $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this); if ($this->_action & (CRM_Core_Action::UPDATE | CRM_Core_Action::DELETE)) { diff --git a/CRM/Campaign/Form/Task.php b/CRM/Campaign/Form/Task.php index d6dc930204..be6cfefe4a 100755 --- a/CRM/Campaign/Form/Task.php +++ b/CRM/Campaign/Form/Task.php @@ -80,7 +80,8 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form { * @param * * @return void - */ function preProcess() { + */ + function preProcess() { $values = $this->controller->exportValues('Search'); $this->_task = $values['task']; diff --git a/CRM/Campaign/Form/Task/Release.php b/CRM/Campaign/Form/Task/Release.php index 3478941223..661a84f0ff 100644 --- a/CRM/Campaign/Form/Task/Release.php +++ b/CRM/Campaign/Form/Task/Release.php @@ -66,7 +66,8 @@ class CRM_Campaign_Form_Task_Release extends CRM_Campaign_Form_Task { * Build all the data structures needed to build the form * * @return void - */ function preProcess() { + */ + function preProcess() { $this->_interviewToRelease = $this->get('interviewToRelease'); if ($this->_interviewToRelease) { //user came from interview form. diff --git a/CRM/Campaign/StateMachine/Search.php b/CRM/Campaign/StateMachine/Search.php index 6c26d07125..073a4c11e2 100755 --- a/CRM/Campaign/StateMachine/Search.php +++ b/CRM/Campaign/StateMachine/Search.php @@ -43,7 +43,8 @@ class CRM_Campaign_StateMachine_Search extends CRM_Core_StateMachine { /** * Class constructor - */ function __construct($controller, $action = CRM_Core_Action::NONE) { + */ + function __construct($controller, $action = CRM_Core_Action::NONE) { parent::__construct($controller, $action); $this->_pages = array(); diff --git a/CRM/Case/Form/Report.php b/CRM/Case/Form/Report.php index 8b2f51d4b3..10798d66ab 100644 --- a/CRM/Case/Form/Report.php +++ b/CRM/Case/Form/Report.php @@ -60,7 +60,8 @@ class CRM_Case_Form_Report extends CRM_Core_Form { * Build the form object * * @return void - */ function preProcess() { + */ + function preProcess() { $this->_caseID = CRM_Utils_Request::retrieve('caseid', 'Integer', $this, TRUE); $this->_clientID = CRM_Utils_Request::retrieve('cid', 'Integer', $this, TRUE); $this->_activitySetName = CRM_Utils_Request::retrieve('asn', 'String', $this, TRUE); diff --git a/CRM/Case/Form/Task/Delete.php b/CRM/Case/Form/Task/Delete.php index 5af39b4abc..274fcdf798 100644 --- a/CRM/Case/Form/Task/Delete.php +++ b/CRM/Case/Form/Task/Delete.php @@ -59,7 +59,8 @@ class CRM_Case_Form_Task_Delete extends CRM_Case_Form_Task { * Build all the data structures needed to build the form * * @return void - */ function preProcess() { + */ + function preProcess() { //check for delete if (!CRM_Core_Permission::checkActionPermission('CiviCase', CRM_Core_Action::DELETE)) { CRM_Core_Error::fatal(ts('You do not have permission to access this page.')); diff --git a/CRM/Case/Form/Task/Restore.php b/CRM/Case/Form/Task/Restore.php index 5ace8e0c14..2709c8171d 100644 --- a/CRM/Case/Form/Task/Restore.php +++ b/CRM/Case/Form/Task/Restore.php @@ -52,7 +52,8 @@ class CRM_Case_Form_Task_Restore extends CRM_Case_Form_Task { * Build all the data structures needed to build the form * * @return void - */ function preProcess() { + */ + function preProcess() { parent::preProcess(); } diff --git a/CRM/Case/StateMachine/Search.php b/CRM/Case/StateMachine/Search.php index 3a8871f689..4ae5693139 100644 --- a/CRM/Case/StateMachine/Search.php +++ b/CRM/Case/StateMachine/Search.php @@ -43,7 +43,8 @@ class CRM_Case_StateMachine_Search extends CRM_Core_StateMachine { /** * Class constructor - */ function __construct($controller, $action = CRM_Core_Action::NONE) { + */ + function __construct($controller, $action = CRM_Core_Action::NONE) { parent::__construct($controller, $action); $this->_pages = array(); diff --git a/CRM/Contact/Form/Task/SaveSearch.php b/CRM/Contact/Form/Task/SaveSearch.php index fe0860ca99..179b6cb59c 100644 --- a/CRM/Contact/Form/Task/SaveSearch.php +++ b/CRM/Contact/Form/Task/SaveSearch.php @@ -50,7 +50,8 @@ class CRM_Contact_Form_Task_SaveSearch extends CRM_Contact_Form_Task { * Build all the data structures needed to build the form * * @return void - */ function preProcess() { + */ + function preProcess() { $this->_id = NULL; // get the submitted values of the search form diff --git a/CRM/Contact/StateMachine/Search.php b/CRM/Contact/StateMachine/Search.php index 75f2137c51..595b4ea1aa 100644 --- a/CRM/Contact/StateMachine/Search.php +++ b/CRM/Contact/StateMachine/Search.php @@ -43,7 +43,8 @@ class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine { /** * Class constructor - */ function __construct($controller, $action = CRM_Core_Action::NONE) { + */ + function __construct($controller, $action = CRM_Core_Action::NONE) { parent::__construct($controller, $action); $this->_pages = array(); diff --git a/CRM/Contribute/Form/Search.php b/CRM/Contribute/Form/Search.php index 212bccfe39..d96afcca7e 100644 --- a/CRM/Contribute/Form/Search.php +++ b/CRM/Contribute/Form/Search.php @@ -75,7 +75,8 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search { * Processing needed for buildForm and later * * @return void - */ function preProcess() { + */ + function preProcess() { $this->set('searchFormName', 'Search'); /** diff --git a/CRM/Contribute/Form/Task/Delete.php b/CRM/Contribute/Form/Task/Delete.php index 5d97cc70f0..cf40e241ed 100644 --- a/CRM/Contribute/Form/Task/Delete.php +++ b/CRM/Contribute/Form/Task/Delete.php @@ -52,7 +52,8 @@ class CRM_Contribute_Form_Task_Delete extends CRM_Contribute_Form_Task { * Build all the data structures needed to build the form * * @return void - */ function preProcess() { + */ + function preProcess() { //check for delete if (!CRM_Core_Permission::checkActionPermission('CiviContribute', CRM_Core_Action::DELETE)) { CRM_Core_Error::fatal(ts('You do not have permission to access this page.')); diff --git a/CRM/Contribute/Form/Task/Email.php b/CRM/Contribute/Form/Task/Email.php index 09c454d78a..61a8c04d8c 100644 --- a/CRM/Contribute/Form/Task/Email.php +++ b/CRM/Contribute/Form/Task/Email.php @@ -60,7 +60,8 @@ class CRM_Contribute_Form_Task_Email extends CRM_Contribute_Form_Task { * Build all the data structures needed to build the form * * @return void - */ function preProcess() { + */ + function preProcess() { CRM_Contact_Form_Task_EmailCommon::preProcessFromAddress($this); parent::preProcess(); diff --git a/CRM/Contribute/Form/Task/PDF.php b/CRM/Contribute/Form/Task/PDF.php index 088eac40ee..a7b626f170 100644 --- a/CRM/Contribute/Form/Task/PDF.php +++ b/CRM/Contribute/Form/Task/PDF.php @@ -52,7 +52,8 @@ class CRM_Contribute_Form_Task_PDF extends CRM_Contribute_Form_Task { * Build all the data structures needed to build the form * * @return void - */ function preProcess() { + */ + function preProcess() { $id = CRM_Utils_Request::retrieve('id', 'Positive', $this, FALSE ); diff --git a/CRM/Contribute/Page/ContributionRecur.php b/CRM/Contribute/Page/ContributionRecur.php index d152ca6dd2..d5a6f0f992 100644 --- a/CRM/Contribute/Page/ContributionRecur.php +++ b/CRM/Contribute/Page/ContributionRecur.php @@ -47,7 +47,8 @@ class CRM_Contribute_Page_ContributionRecur extends CRM_Core_Page { * View details of a recurring contribution * * @return void - */ function view() { + */ + function view() { $recur = new CRM_Contribute_DAO_ContributionRecur(); $recur->id = $this->_id; if ($recur->find(TRUE)) { diff --git a/CRM/Contribute/StateMachine/Search.php b/CRM/Contribute/StateMachine/Search.php index cbdde68ea0..39f570dc05 100644 --- a/CRM/Contribute/StateMachine/Search.php +++ b/CRM/Contribute/StateMachine/Search.php @@ -43,7 +43,8 @@ class CRM_Contribute_StateMachine_Search extends CRM_Core_StateMachine { /** * Class constructor - */ function __construct($controller, $action = CRM_Core_Action::NONE) { + */ + function __construct($controller, $action = CRM_Core_Action::NONE) { parent::__construct($controller, $action); $this->_pages = array(); diff --git a/CRM/Core/Form/Renderer.php b/CRM/Core/Form/Renderer.php index 59f76db3fc..9a50bf101f 100644 --- a/CRM/Core/Form/Renderer.php +++ b/CRM/Core/Form/Renderer.php @@ -69,7 +69,8 @@ class CRM_Core_Form_Renderer extends HTML_QuickForm_Renderer_ArraySmarty { /** * Constructor * - */ function __construct() { + */ + function __construct() { $template = CRM_Core_Smarty::singleton(); parent::__construct($template); } diff --git a/CRM/Event/Form/Task/Email.php b/CRM/Event/Form/Task/Email.php index 7789495918..37f62567b1 100644 --- a/CRM/Event/Form/Task/Email.php +++ b/CRM/Event/Form/Task/Email.php @@ -66,7 +66,8 @@ class CRM_Event_Form_Task_Email extends CRM_Event_Form_Task { * Build all the data structures needed to build the form * * @return void - */ function preProcess() { + */ + function preProcess() { CRM_Contact_Form_Task_EmailCommon::preProcessFromAddress($this); parent::preProcess(); diff --git a/CRM/Event/Form/Task/SaveSearch.php b/CRM/Event/Form/Task/SaveSearch.php index 0c342e98bc..0d260c82c5 100644 --- a/CRM/Event/Form/Task/SaveSearch.php +++ b/CRM/Event/Form/Task/SaveSearch.php @@ -51,7 +51,8 @@ class CRM_Event_Form_Task_SaveSearch extends CRM_Event_Form_Task { * Build all the data structures needed to build the form * * @return void - */ function preProcess() { + */ + function preProcess() { parent::preProcess(); $this->_id = NULL; } diff --git a/CRM/Extension/Manager/Interface.php b/CRM/Extension/Manager/Interface.php index a91d4ff5e9..aee4f7501b 100644 --- a/CRM/Extension/Manager/Interface.php +++ b/CRM/Extension/Manager/Interface.php @@ -122,5 +122,6 @@ interface CRM_Extension_Manager_Interface { * @param CRM_Extension_Info $newInfo * * @return mixed - */public function onPostReplace(CRM_Extension_Info $oldInfo, CRM_Extension_Info $newInfo); + */ + public function onPostReplace(CRM_Extension_Info $oldInfo, CRM_Extension_Info $newInfo); } diff --git a/CRM/Grant/Form/Search.php b/CRM/Grant/Form/Search.php index 43b83cfd32..964695f8b2 100644 --- a/CRM/Grant/Form/Search.php +++ b/CRM/Grant/Form/Search.php @@ -75,7 +75,8 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search { * Processing needed for buildForm and later * * @return void - */ function preProcess() { + */ + function preProcess() { /** * set the button names diff --git a/CRM/Grant/Form/Task.php b/CRM/Grant/Form/Task.php index c88d5bfd6d..8d5da0dd7e 100644 --- a/CRM/Grant/Form/Task.php +++ b/CRM/Grant/Form/Task.php @@ -73,7 +73,8 @@ class CRM_Grant_Form_Task extends CRM_Core_Form { * @param * * @return void - */ function preProcess() { + */ + function preProcess() { self::preProcessCommon($this); } diff --git a/CRM/Grant/Form/Task/Delete.php b/CRM/Grant/Form/Task/Delete.php index a02846d046..30f55d2d99 100644 --- a/CRM/Grant/Form/Task/Delete.php +++ b/CRM/Grant/Form/Task/Delete.php @@ -52,7 +52,8 @@ class CRM_Grant_Form_Task_Delete extends CRM_Grant_Form_Task { * Build all the data structures needed to build the form * * @return void - */ function preProcess() { + */ + function preProcess() { parent::preProcess(); //check permission for delete. diff --git a/CRM/Grant/Page/Tab.php b/CRM/Grant/Page/Tab.php index a3fb660197..31f02fde24 100644 --- a/CRM/Grant/Page/Tab.php +++ b/CRM/Grant/Page/Tab.php @@ -53,7 +53,8 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View { * This function is called when action is browse * * return null - */ function browse() { + */ + function browse() { $controller = new CRM_Core_Controller_Simple('CRM_Grant_Form_Search', ts('Grants'), $this->_action); $controller->setEmbedded(TRUE); $controller->reset(); diff --git a/CRM/Grant/StateMachine/Search.php b/CRM/Grant/StateMachine/Search.php index 553b599d90..9810c79f6f 100644 --- a/CRM/Grant/StateMachine/Search.php +++ b/CRM/Grant/StateMachine/Search.php @@ -43,7 +43,8 @@ class CRM_Grant_StateMachine_Search extends CRM_Core_StateMachine { /** * Class constructor - */ function __construct($controller, $action = CRM_Core_Action::NONE) { + */ + function __construct($controller, $action = CRM_Core_Action::NONE) { parent::__construct($controller, $action); $this->_pages = array(); diff --git a/CRM/Member/StateMachine/Search.php b/CRM/Member/StateMachine/Search.php index fd88d3eee2..acd917b0c4 100644 --- a/CRM/Member/StateMachine/Search.php +++ b/CRM/Member/StateMachine/Search.php @@ -43,7 +43,8 @@ class CRM_Member_StateMachine_Search extends CRM_Core_StateMachine { /** * Class constructor - */ function __construct($controller, $action = CRM_Core_Action::NONE) { + */ + function __construct($controller, $action = CRM_Core_Action::NONE) { parent::__construct($controller, $action); $this->_pages = array(); diff --git a/CRM/Pledge/Form/Task/Delete.php b/CRM/Pledge/Form/Task/Delete.php index 0f08009b99..45ca526dc8 100644 --- a/CRM/Pledge/Form/Task/Delete.php +++ b/CRM/Pledge/Form/Task/Delete.php @@ -52,7 +52,8 @@ class CRM_Pledge_Form_Task_Delete extends CRM_Pledge_Form_Task { * Build all the data structures needed to build the form * * @return void - */ function preProcess() { + */ + function preProcess() { //check for delete if (!CRM_Core_Permission::checkActionPermission('CiviPledge', CRM_Core_Action::DELETE)) { CRM_Core_Error::fatal(ts('You do not have permission to access this page.')); diff --git a/CRM/Pledge/StateMachine/Search.php b/CRM/Pledge/StateMachine/Search.php index d6b2a72174..f34a4dc24d 100644 --- a/CRM/Pledge/StateMachine/Search.php +++ b/CRM/Pledge/StateMachine/Search.php @@ -43,7 +43,8 @@ class CRM_Pledge_StateMachine_Search extends CRM_Core_StateMachine { /** * Class constructor - */ function __construct($controller, $action = CRM_Core_Action::NONE) { + */ + function __construct($controller, $action = CRM_Core_Action::NONE) { parent::__construct($controller, $action); $this->_pages = array(); diff --git a/CRM/Price/Form/DeleteField.php b/CRM/Price/Form/DeleteField.php index 6020fe37aa..9818907759 100644 --- a/CRM/Price/Form/DeleteField.php +++ b/CRM/Price/Form/DeleteField.php @@ -59,7 +59,8 @@ class CRM_Price_Form_DeleteField extends CRM_Core_Form { * * @return void * @acess protected - */ function preProcess() { + */ + function preProcess() { $this->_fid = $this->get('fid'); $this->_title = CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceField', diff --git a/CRM/Price/Form/DeleteSet.php b/CRM/Price/Form/DeleteSet.php index 4ec420c6fd..a1446e3055 100644 --- a/CRM/Price/Form/DeleteSet.php +++ b/CRM/Price/Form/DeleteSet.php @@ -56,8 +56,9 @@ class CRM_Price_Form_DeleteSet extends CRM_Core_Form { * Set up variables to build the form * * @return void - * @acess protected - */ function preProcess() { + * @access protected + */ + function preProcess() { $this->_sid = $this->get('sid'); $this->_title = CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceSet', diff --git a/CRM/Price/Form/Preview.php b/CRM/Price/Form/Preview.php index 9ee1134af5..934bb003d6 100644 --- a/CRM/Price/Form/Preview.php +++ b/CRM/Price/Form/Preview.php @@ -58,7 +58,8 @@ class CRM_Price_Form_Preview extends CRM_Core_Form { * @param null * * @return void - */ function preProcess() { + */ + function preProcess() { // get the controller vars $groupId = $this->get('groupId'); $fieldId = $this->get('fieldId'); diff --git a/CRM/Price/Page/Field.php b/CRM/Price/Page/Field.php index accd62c98e..e15d91de71 100644 --- a/CRM/Price/Page/Field.php +++ b/CRM/Price/Page/Field.php @@ -72,7 +72,8 @@ class CRM_Price_Page_Field extends CRM_Core_Page { * @param null * * @return array array of action links that we need to display for the browse screen - */ function &actionLinks() { + */ + function &actionLinks() { if (!isset(self::$_actionLinks)) { self::$_actionLinks = array( CRM_Core_Action::UPDATE => array( diff --git a/CRM/Price/Page/Option.php b/CRM/Price/Page/Option.php index a706a05710..759361b015 100644 --- a/CRM/Price/Page/Option.php +++ b/CRM/Price/Page/Option.php @@ -79,7 +79,8 @@ class CRM_Price_Page_Option extends CRM_Core_Page { * @param null * * @return array array of action links that we need to display for the browse screen - */ function &actionLinks() { + */ + function &actionLinks() { if (!isset(self::$_actionLinks)) { self::$_actionLinks = array( CRM_Core_Action::UPDATE => array( diff --git a/CRM/Price/Page/Set.php b/CRM/Price/Page/Set.php index cf4af06ee7..28de94b593 100644 --- a/CRM/Price/Page/Set.php +++ b/CRM/Price/Page/Set.php @@ -56,7 +56,8 @@ class CRM_Price_Page_Set extends CRM_Core_Page { * @param null * * @return array array of action links that we need to display for the browse screen - */ function &actionLinks() { + */ + function &actionLinks() { // check if variable _actionsLinks is populated if (!isset(self::$_actionLinks)) { // helper variable for nicer formatting diff --git a/CRM/Report/BAO/HookInterface.php b/CRM/Report/BAO/HookInterface.php index fd533db21e..c6782e7583 100644 --- a/CRM/Report/BAO/HookInterface.php +++ b/CRM/Report/BAO/HookInterface.php @@ -53,7 +53,8 @@ class CRM_Report_BAO_HookInterface { * @param $table * * @return array - */public function logDiffClause(&$reportObj, $table) { + */ + public function logDiffClause(&$reportObj, $table) { return array(); } } diff --git a/CRM/UF/Page/Field.php b/CRM/UF/Page/Field.php index 9d4af63bdd..2caeddf47c 100644 --- a/CRM/UF/Page/Field.php +++ b/CRM/UF/Page/Field.php @@ -64,7 +64,8 @@ class CRM_UF_Page_Field extends CRM_Core_Page { * * @return array $_actionLinks * - */ function &actionLinks() { + */ + function &actionLinks() { if (!isset(self::$_actionLinks)) { self::$_actionLinks = array( CRM_Core_Action::UPDATE => array( diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php index 1665ef9c8d..2c6a4eceab 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php @@ -1012,7 +1012,8 @@ return $pricesetFieldCount[$sid]; * @param $ids * * @return array - */public static function getMembershipCount($ids) { + */ + public static function getMembershipCount($ids) { $queryString = " SELECT count( pfv.id ) AS count, pfv.id AS id FROM civicrm_price_field_value pfv diff --git a/CRM/Utils/Token.php b/CRM/Utils/Token.php index 4d1499dc83..79175125ed 100644 --- a/CRM/Utils/Token.php +++ b/CRM/Utils/Token.php @@ -797,7 +797,8 @@ class CRM_Utils_Token { * @param bool $escapeSmarty * * @return mixed|string - */public static function getHookTokenReplacement( + */ + public static function getHookTokenReplacement( $token, &$contact, $category, diff --git a/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php b/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php index 26b0d75619..f59904a5ad 100755 --- a/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php @@ -374,7 +374,8 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase { * @param string $select * * @return null|string - */function _getPremiumActualCost($entityId, $from = NULL, $to = NULL, $cost = NULL, $entityTable = NULL, $select = "ft.total_amount AS amount") { + */ + function _getPremiumActualCost($entityId, $from = NULL, $to = NULL, $cost = NULL, $entityTable = NULL, $select = "ft.total_amount AS amount") { $financialAccount = CRM_Contribute_PseudoConstant::financialAccount(); $query = "SELECT {$select} @@ -403,7 +404,8 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase { * @param int $contId * * @return null|string - */function _getFinancialTrxnAmount($contId) { + */ + function _getFinancialTrxnAmount($contId) { $query = "SELECT SUM( ft.total_amount ) AS total FROM civicrm_financial_trxn AS ft @@ -418,7 +420,8 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase { * @param int $contId * * @return null|string - */function _getFinancialItemAmount($contId) { + */ + function _getFinancialItemAmount($contId) { $lineItem = key(CRM_Price_BAO_LineItem::getLineItems($contId, 'contribution')); $query = "SELECT SUM(amount) @@ -433,7 +436,8 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase { * @param int $contId * * @return null|string - */function _getTotalContributedAmount($contId) { + */ + function _getTotalContributedAmount($contId) { $query = "SELECT SUM(amount) FROM civicrm_entity_financial_trxn diff --git a/tests/phpunit/api/v3/AllTests.php b/tests/phpunit/api/v3/AllTests.php index ef9a754caf..af92f1b55b 100644 --- a/tests/phpunit/api/v3/AllTests.php +++ b/tests/phpunit/api/v3/AllTests.php @@ -45,7 +45,8 @@ class api_v3_AllTests extends CiviTestSuite { /** * Simple name based constructor - */ function __construct($theClass = '', $name = '') { + */ + function __construct($theClass = '', $name = '') { parent::__construct($theClass, $name); } diff --git a/tools/CRM/Auction/Form/Auction.php b/tools/CRM/Auction/Form/Auction.php index 924ed2a844..6aae416921 100644 --- a/tools/CRM/Auction/Form/Auction.php +++ b/tools/CRM/Auction/Form/Auction.php @@ -60,7 +60,8 @@ class CRM_Auction_Form_Auction extends CRM_Core_Form { * * @return void * @access public - */ function preProcess() { + */ + function preProcess() { $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE); $this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this); diff --git a/tools/CRM/Auction/Form/Item.php b/tools/CRM/Auction/Form/Item.php index c8a8563d18..202eeaaf40 100644 --- a/tools/CRM/Auction/Form/Item.php +++ b/tools/CRM/Auction/Form/Item.php @@ -68,7 +68,8 @@ class CRM_Auction_Form_Item extends CRM_Core_Form { * * @return void * @access public - */ function preProcess() { + */ + function preProcess() { $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'add'); $this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this); diff --git a/tools/CRM/Auction/Page/Item.php b/tools/CRM/Auction/Page/Item.php index c3a8694841..eda19ca9f3 100644 --- a/tools/CRM/Auction/Page/Item.php +++ b/tools/CRM/Auction/Page/Item.php @@ -61,7 +61,8 @@ class CRM_Auction_Page_Item extends CRM_Core_Page { * @return void * @access public * - */ function run() { + */ + function run() { // get the requested action $action = CRM_Utils_Request::retrieve('action', 'String', // default to 'browse' diff --git a/tools/CRM/Auction/Page/Manage.php b/tools/CRM/Auction/Page/Manage.php index e2d95c1013..d5a89c4fda 100644 --- a/tools/CRM/Auction/Page/Manage.php +++ b/tools/CRM/Auction/Page/Manage.php @@ -58,7 +58,8 @@ class CRM_Auction_Page_Manage extends CRM_Core_Page { * Get action Links * * @return array (reference) of action links - */ function &links() { + */ + function &links() { if (!(self::$_actionLinks)) { // helper variable for nicer formatting $disableExtra = ts('Are you sure you want to disable this Auction?'); diff --git a/tools/CRM/Auction/Page/ManageItem.php b/tools/CRM/Auction/Page/ManageItem.php index 74111faa4c..6da9723ce9 100644 --- a/tools/CRM/Auction/Page/ManageItem.php +++ b/tools/CRM/Auction/Page/ManageItem.php @@ -65,7 +65,8 @@ class CRM_Auction_Page_ManageItem extends CRM_Core_Page { * Get action Links * * @return array (reference) of action links - */ function &links() { + */ + function &links() { if (!(self::$_actionLinks)) { // helper variable for nicer formatting $disableExtra = ts('Are you sure you want to disable this Item?'); -- 2.25.1