Skip to main content

Questions tagged [coding-standards]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
2 answers

What is the recommended level of PHP for CiviCRM? There seems to be some inconsistencies

See the wiki which says the minimum level is 5.4+ But see this linked page from the wiki which recommends 5.6 with a bare minimum of 5.3.10. See also the system status for release 4.7 which says ...
Andy Clark's user avatar
  • 4,845
9 votes
1 answer

What versions of PHP are used in CiviCRM's internal QA?

The wiki currently states that CiviCRM has bare minimum (5.3.10) and recommended (>= 5.4) PHP requirements. Knowing what CiviCRM has been tested with can help identify what should be expected to work ...
Chris Burgess's user avatar
5 votes
2 answers

Class naming and namespaces: best practice as an extension author?

Noting these related questions (1 2 3) and these two wiki pages (1 2) and the psr-0 standard, I remain a bit lost about current best practice in CiviCRM extensions! So if I have an extenstion org....
ErichBSchulz's user avatar
  • 1,571
1 vote
3 answers

best practice for using core base functions (CRM_Utils_System_Base) from an extension?

CRM_Utils_System_Base defines a great set of key functions that look like they should work in any system. What is the correct way to access this functionality within an extension? FYI these are the ...
ErichBSchulz's user avatar
  • 1,571