From: eileen Date: Wed, 9 Sep 2020 21:17:02 +0000 (+1200) Subject: Re-run civix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d9cc2e0d83b18bb4a7053437d1f90be62dc9e55e;p=civicrm-core.git Re-run civix --- diff --git a/ext/afform/core/afform.civix.php b/ext/afform/core/afform.civix.php index 17db0361bd..a43b055281 100644 --- a/ext/afform/core/afform.civix.php +++ b/ext/afform/core/afform.civix.php @@ -193,8 +193,9 @@ function _afform_civix_civicrm_disable() { * @param $op string, the type of operation being performed; 'check' or 'enqueue' * @param $queue CRM_Queue_Queue, (for 'enqueue') the modifiable list of pending up upgrade tasks * - * @return mixed based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending) - * for 'enqueue', returns void + * @return mixed + * based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending) + * for 'enqueue', returns void * * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_upgrade */ @@ -225,7 +226,7 @@ function _afform_civix_upgrader() { * @param string $dir base dir * @param string $pattern , glob pattern, eg "*.txt" * - * @return array(string) + * @return array */ function _afform_civix_find_files($dir, $pattern) { if (is_callable(['CRM_Utils_File', 'findFiles'])) { @@ -244,7 +245,7 @@ function _afform_civix_find_files($dir, $pattern) { if ($dh = opendir($subdir)) { while (FALSE !== ($entry = readdir($dh))) { $path = $subdir . DIRECTORY_SEPARATOR . $entry; - if ($entry{0} == '.') { + if ($entry[0] == '.') { } elseif (is_dir($path)) { $todos[] = $path; @@ -255,6 +256,7 @@ function _afform_civix_find_files($dir, $pattern) { } return $result; } + /** * (Delegated) Implements hook_civicrm_managed(). * @@ -362,7 +364,7 @@ function _afform_civix_civicrm_themes(&$themes) { * @link http://php.net/glob * @param string $pattern * - * @return array, possibly empty + * @return array */ function _afform_civix_glob($pattern) { $result = glob($pattern); @@ -470,8 +472,6 @@ function _afform_civix_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) { * * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes */ - function _afform_civix_civicrm_entityTypes(&$entityTypes) { - $entityTypes = array_merge($entityTypes, array ( - )); + $entityTypes = array_merge($entityTypes, []); } diff --git a/ext/afform/gui/afform_gui.civix.php b/ext/afform/gui/afform_gui.civix.php index c8a4f361cd..b384f42b27 100644 --- a/ext/afform/gui/afform_gui.civix.php +++ b/ext/afform/gui/afform_gui.civix.php @@ -193,8 +193,9 @@ function _afform_gui_civix_civicrm_disable() { * @param $op string, the type of operation being performed; 'check' or 'enqueue' * @param $queue CRM_Queue_Queue, (for 'enqueue') the modifiable list of pending up upgrade tasks * - * @return mixed based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending) - * for 'enqueue', returns void + * @return mixed + * based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending) + * for 'enqueue', returns void * * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_upgrade */ @@ -225,7 +226,7 @@ function _afform_gui_civix_upgrader() { * @param string $dir base dir * @param string $pattern , glob pattern, eg "*.txt" * - * @return array(string) + * @return array */ function _afform_gui_civix_find_files($dir, $pattern) { if (is_callable(['CRM_Utils_File', 'findFiles'])) { @@ -244,7 +245,7 @@ function _afform_gui_civix_find_files($dir, $pattern) { if ($dh = opendir($subdir)) { while (FALSE !== ($entry = readdir($dh))) { $path = $subdir . DIRECTORY_SEPARATOR . $entry; - if ($entry{0} == '.') { + if ($entry[0] == '.') { } elseif (is_dir($path)) { $todos[] = $path; @@ -255,6 +256,7 @@ function _afform_gui_civix_find_files($dir, $pattern) { } return $result; } + /** * (Delegated) Implements hook_civicrm_managed(). * @@ -362,7 +364,7 @@ function _afform_gui_civix_civicrm_themes(&$themes) { * @link http://php.net/glob * @param string $pattern * - * @return array, possibly empty + * @return array */ function _afform_gui_civix_glob($pattern) { $result = glob($pattern); @@ -470,8 +472,6 @@ function _afform_gui_civix_civicrm_alterSettingsFolders(&$metaDataFolders = NULL * * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes */ - function _afform_gui_civix_civicrm_entityTypes(&$entityTypes) { - $entityTypes = array_merge($entityTypes, array ( - )); + $entityTypes = array_merge($entityTypes, []); } diff --git a/ext/afform/html/afform_html.civix.php b/ext/afform/html/afform_html.civix.php index 3e06b60817..948f0ce17b 100644 --- a/ext/afform/html/afform_html.civix.php +++ b/ext/afform/html/afform_html.civix.php @@ -193,8 +193,9 @@ function _afform_html_civix_civicrm_disable() { * @param $op string, the type of operation being performed; 'check' or 'enqueue' * @param $queue CRM_Queue_Queue, (for 'enqueue') the modifiable list of pending up upgrade tasks * - * @return mixed based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending) - * for 'enqueue', returns void + * @return mixed + * based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending) + * for 'enqueue', returns void * * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_upgrade */ @@ -225,7 +226,7 @@ function _afform_html_civix_upgrader() { * @param string $dir base dir * @param string $pattern , glob pattern, eg "*.txt" * - * @return array(string) + * @return array */ function _afform_html_civix_find_files($dir, $pattern) { if (is_callable(['CRM_Utils_File', 'findFiles'])) { @@ -244,7 +245,7 @@ function _afform_html_civix_find_files($dir, $pattern) { if ($dh = opendir($subdir)) { while (FALSE !== ($entry = readdir($dh))) { $path = $subdir . DIRECTORY_SEPARATOR . $entry; - if ($entry{0} == '.') { + if ($entry[0] == '.') { } elseif (is_dir($path)) { $todos[] = $path; @@ -255,6 +256,7 @@ function _afform_html_civix_find_files($dir, $pattern) { } return $result; } + /** * (Delegated) Implements hook_civicrm_managed(). * @@ -362,7 +364,7 @@ function _afform_html_civix_civicrm_themes(&$themes) { * @link http://php.net/glob * @param string $pattern * - * @return array, possibly empty + * @return array */ function _afform_html_civix_glob($pattern) { $result = glob($pattern); @@ -470,8 +472,6 @@ function _afform_html_civix_civicrm_alterSettingsFolders(&$metaDataFolders = NUL * * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes */ - function _afform_html_civix_civicrm_entityTypes(&$entityTypes) { - $entityTypes = array_merge($entityTypes, array ( - )); + $entityTypes = array_merge($entityTypes, []); } diff --git a/ext/afform/mock/afform_mock.civix.php b/ext/afform/mock/afform_mock.civix.php index 04c6b632f1..32aad3e556 100644 --- a/ext/afform/mock/afform_mock.civix.php +++ b/ext/afform/mock/afform_mock.civix.php @@ -193,8 +193,9 @@ function _afform_mock_civix_civicrm_disable() { * @param $op string, the type of operation being performed; 'check' or 'enqueue' * @param $queue CRM_Queue_Queue, (for 'enqueue') the modifiable list of pending up upgrade tasks * - * @return mixed based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending) - * for 'enqueue', returns void + * @return mixed + * based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending) + * for 'enqueue', returns void * * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_upgrade */ @@ -225,7 +226,7 @@ function _afform_mock_civix_upgrader() { * @param string $dir base dir * @param string $pattern , glob pattern, eg "*.txt" * - * @return array(string) + * @return array */ function _afform_mock_civix_find_files($dir, $pattern) { if (is_callable(['CRM_Utils_File', 'findFiles'])) { @@ -244,7 +245,7 @@ function _afform_mock_civix_find_files($dir, $pattern) { if ($dh = opendir($subdir)) { while (FALSE !== ($entry = readdir($dh))) { $path = $subdir . DIRECTORY_SEPARATOR . $entry; - if ($entry{0} == '.') { + if ($entry[0] == '.') { } elseif (is_dir($path)) { $todos[] = $path; @@ -255,6 +256,7 @@ function _afform_mock_civix_find_files($dir, $pattern) { } return $result; } + /** * (Delegated) Implements hook_civicrm_managed(). * @@ -362,7 +364,7 @@ function _afform_mock_civix_civicrm_themes(&$themes) { * @link http://php.net/glob * @param string $pattern * - * @return array, possibly empty + * @return array */ function _afform_mock_civix_glob($pattern) { $result = glob($pattern); @@ -470,8 +472,6 @@ function _afform_mock_civix_civicrm_alterSettingsFolders(&$metaDataFolders = NUL * * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes */ - function _afform_mock_civix_civicrm_entityTypes(&$entityTypes) { - $entityTypes = array_merge($entityTypes, array ( - )); + $entityTypes = array_merge($entityTypes, []); }