[CRM-9034] Fixes for many strict PHP warnings. Created: 14/Oct/11  Updated: 31/Jan/12  Resolved: 31/Jan/12

Status: Closed
Project: CiviCRM
Component/s: Core CiviCRM
Affects Version/s: 4.1.0
Fix Version/s: Future Version

Type: Bug Priority: Minor
Reporter: Bob Vincent Assignee: Donald A. Lobo
Resolution: Won't Fix Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: Text File buildQuickForm.patch     Text File civicrm-cumulative-2012-01-31.patch     Text File civicrm-strict-warnings-2.patch     Text File civicrm-strict-warnings-3.patch     Text File civicrm-strict-warnings-4.patch     Text File civicrm-strict-warnings.patch     Text File fix-civicrm-strict-warnings-5.patch    
Sub-Tasks:
Key
Summary
Type
Status
Assignee
CRM-9043 Remove static calls to buildQuickForm Sub-task Closed Donald A. Lobo  
CRM-9539 Remove static calls to getTableName() Sub-task Closed Donald A. Lobo  
CRM-9540 The PHP array_unique() function does ... Sub-task Closed Donald A. Lobo  
CRM-9541 The second parameter to CRM_Utils_Arr... Sub-task Closed Donald A. Lobo  
CRM-9543 CRM_Core_Page_Basic() should be compa... Sub-task Closed Donald A. Lobo  
CRM-9548 First parameter to CRM_Core_Action::r... Sub-task Closed Donald A. Lobo  
CRM-9550 Correct CRM_Admin_Page_MessageTemplat... Sub-task Closed Donald A. Lobo  
CRM-9551 Default value of first parameter to C... Sub-task Closed Donald A. Lobo  
CRM-9553 CRM_Contact_BAO_Relationship_getConta... Sub-task Closed Donald A. Lobo  
CRM-9554 CRM_Utils_System::permissionDenied() ... Sub-task Closed Donald A. Lobo  
CRM-9555 CRM_Core_ShowHideBlocks::links() shou... Sub-task Closed Donald A. Lobo  
CRM-9566 Remove static call to CRM_Core_Form::... Sub-task Closed Donald A. Lobo  
CRM-9567 Remove static calls to HTML_QuickForm... Sub-task Closed Donald A. Lobo  
CRM-9576 The function CRM_Import_DataSource_SQ... Sub-task Closed Donald A. Lobo  
Is MIH?: No
Sprint: No

 Description   
Attached is a series of patches against today's SVN checkout that fixes many PHP strict warnings which would otherwise appear on the CiviCRM startup page.

 Comments   
Comment by Bob Vincent [ 14/Oct/11 ]
Found and fixed a couple more.
Comment by Bob Vincent [ 15/Oct/11 ]
Found and fixed some more. Note that later patches are meant to replace earlier ones, not add to them.
Comment by Bob Vincent [ 15/Oct/11 ]
More fixes, and also creating a subtask for removal of static buildQuickForm calls.
Comment by Bob Vincent [ 16/Oct/11 ]
More fixes.
Comment by Bob Vincent [ 26/Jan/12 ]
More fixes.
Comment by Bob Vincent [ 31/Jan/12 ]
Attached cumulative working patch relative to svn trunk: civicrm-cumulative-2012-01-31.patch
Comment by Bob Vincent [ 31/Jan/12 ]
According to Dlobo, nobody has time to work on svn trunk, so this is a dead issue.
Generated at Tue Apr 21 09:42:56 UTC 2015 using JIRA 6.2#6252-sha1:aa343257d4ce030d9cb8c531be520be9fac1c996.