Skip to content

Instantly share code, notes, and snippets.

FILE: ...est/sites/all/modules/civicrm/Civi/Core/DAO/Event/PostUpdate.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
37 | ERROR | [x] Expected "DAOObject" but found "DAO Object" for
| | @var tag in member variable comment
46 | ERROR | [x] Expected 1 blank line after function; 0 found
47 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
FILE: ...est/sites/all/modules/civicrm/Civi/Core/DAO/Event/PostUpdate.php
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
34 | ERROR | [x] Namespaced classes/interfaces/traits should be
--- ../../../packages/Mail.php 2018-12-13 13:10:16.296029724 +1100
+++ Mail.php 2018-12-30 10:27:31.580583861 +1100
@@ -1,32 +1,34 @@
<?php
/**
- * PEAR's Mail:: interface.
+ * PEAR's Mail:: interface.
*
- * PHP versions 4 and 5
+ * PHP version 5
diff --git a/HTML/QuickForm/Renderer/Array.php b/home/seamus/HTML_QuickForm-3.2.15/QuickForm/Renderer/Array.php
index f2e51ce..eaa325f 100644
--- a/HTML/QuickForm/Renderer/Array.php
+++ b/home/seamus/HTML_QuickForm-3.2.15/QuickForm/Renderer/Array.php
@@ -168,9 +168,9 @@ class HTML_QuickForm_Renderer_Array extends HTML_QuickForm_Renderer
* @param bool true: render an array of labels to many labels, $key 0 to 'label' and the oterh to "label_$key"
* @access public
*/
- function __construct($collectHidden = false, $staticLabels = false)
+ function HTML_QuickForm_Renderer_Array($collectHidden = false, $staticLabels = false)

Keybase proof

I hereby claim:

  • I am seamuslee001 on github.
  • I am seamus_lee (https://keybase.io/seamus_lee) on keybase.
  • I have a public key ASDclNtf2KoFoRYQ3VbPjGQGnZwREUT1ZOsRwxmvYbnQiQo

To claim this, I am signing this object:

diff --git a/api/v3/Navigation.php b/api/v3/Navigation.php
index c117fe8..b16b9a6 100644
--- a/api/v3/Navigation.php
+++ b/api/v3/Navigation.php
@@ -106,6 +106,7 @@ function _civicrm_api3_navigation_create_spec(&$params) {
* API result array.
*/
function civicrm_api3_navigation_create($params) {
+ civicrm_api3_verify_one_mandatory($params, NULL, array('name'));
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);