* CMS have a different pattern to their default file path and URL.
*
* @todo Use Civi::paths instead?
+ * @return string
*/
public function getFilePathMarker() {
$config = CRM_Core_Config::singleton();
* is browseable or visible to search engines; it means it can be
* requested directly.
*
- * @return array
- * Array of messages
+ * @return CRM_Utils_Check_Message[]
* @see CRM-14091
*/
public function checkLogFileIsNotAccessible() {
* Being retrievable doesn't mean the files are browseable or visible
* to search engines; it only means they can be requested directly.
*
- * @return array
- * Array of messages
+ * @return CRM_Utils_Check_Message[]
* @see CRM-14091
*
* @todo Test with WordPress, Joomla.
* MAY trigger false positives (if you have files named 'a', 'e'
* we'll probably match that).
*
- * @return array
- * Array of messages
+ * @return CRM_Utils_Check_Message[]
* @see CRM-14091
*
* @todo Test with WordPress, Joomla.
* These files have generally been deleted but Civi source tree but could be
* left online if one does a faulty upgrade.
*
- * @return array of messages
+ * @return CRM_Utils_Check_Message[]
*/
public function checkFilesAreNotPresent() {
$packages_path = rtrim(\Civi::paths()->getPath('[civicrm.packages]/'), '/' . DIRECTORY_SEPARATOR);
/**
* Discourage use of remote profile forms.
+ * @return CRM_Utils_Check_Message[]
*/
public function checkRemoteProfile() {
$messages = [];
}
/**
- * Check that the sysadmin has not modified the Cxn
- * security setup.
+ * Check that the sysadmin has not modified the Cxn security setup.
+ * @return CRM_Utils_Check_Message[]
*/
public function checkCxnOverrides() {
$list = [];