chamilo/chamilo-lms

View on GitHub
public/main/help/faq.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "faq_content" is not in valid camel caps format
Open

    $faq_content = @(string) file_get_contents(api_get_path(SYS_APP_PATH).'home/faq.html');
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "faq_content" is not in valid camel caps format
Open

    $faq_content = api_to_system_encoding($faq_content, api_detect_encoding(strip_tags($faq_content)));
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "faq_file" is not in valid camel caps format
Open

        $fpath = api_get_path(SYS_APP_PATH).'home/'.$faq_file;
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "faq_content" is not in valid camel caps format
Open

    $faq_content = @(string) file_get_contents(api_get_path(SYS_APP_PATH).'home/'.$faq_file);
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "faq_file" is not in valid camel caps format
Open

    $faq_content = @(string) file_get_contents(api_get_path(SYS_APP_PATH).'home/'.$faq_file);
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "faq_content" is not in valid camel caps format
Open

    $faq_content = api_to_system_encoding($faq_content, api_detect_encoding(strip_tags($faq_content)));
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "faq_file" is not in valid camel caps format
Open

            $fp = fopen(api_get_path(SYS_APP_PATH).'home/'.$faq_file, 'w');
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "help_name" is not in valid camel caps format
Open

$help_name = isset($_GET['open']) ? Security::remove_XSS($_GET['open']) : null;
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "faq_content" is not in valid camel caps format
Open

    $faq_content = api_to_system_encoding($faq_content, api_detect_encoding(strip_tags($faq_content)));
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "faq_content" is not in valid camel caps format
Open

    echo $faq_content;
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "faq_file" is not in valid camel caps format
Open

$faq_file = 'faq.html';
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "faq_content" is not in valid camel caps format
Open

    $faq_content = api_to_system_encoding($faq_content, api_detect_encoding(strip_tags($faq_content)));
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "faq_content" is not in valid camel caps format
Open

    $form->setDefaults(['faq_content' => $faq_content]);
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "faq_content" is not in valid camel caps format
Open

    $faq_content = api_to_system_encoding($faq_content, api_detect_encoding(strip_tags($faq_content)));
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

Variable "faq_content" is not in valid camel caps format
Open

    $faq_content = api_to_system_encoding($faq_content, api_detect_encoding(strip_tags($faq_content)));
Severity: Minor
Found in public/main/help/faq.php by phpcodesniffer

There are no issues that match your filters.

Category
Status