chamilo/chamilo-lms

View on GitHub
public/main/inc/email_editor.php

Summary

Maintainability
A
0 mins
Test Coverage

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            $email_administrator,

Spaces must be used for alignment; tabs are not allowed
Open

 * @author    Yannick Warnier <ywarnier@beeznest.org>

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            [

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            ]

Multi-line function call not indented correctly; expected 8 spaces but found 12
Open

            );

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

                    'name' => api_get_person_name($_user['firstname'], $_user['lastname']),

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

        $email_administrator = $values['dest'];

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            $text,

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            get_lang('Anonymous')

Multi-line function call not indented correctly; expected 12 spaces but found 8
Open

        );

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            $title,

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            $text,

Multi-line function call not indented correctly; expected 12 spaces but found 8
Open

        );

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            api_get_person_name($_user['firstname'], $_user['lastname']),

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            $title,

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            '',

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            '',

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

        if (!empty($_user['mail'])) {

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

                    'name' => api_get_person_name($_user['firstname'], $_user['lastname']),

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                WEB_PATH

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

                $_user['mail'],

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            $email_administrator,

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

            $email_administrator,

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

            api_get_person_name($_user['firstname'], $_user['lastname']),

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

            api_get_person_name($_user['firstname'], $_user['lastname']),

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

$_user = api_get_user_info();

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

                    'mail' => $_user['mail'],

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

            $email_administrator,

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            $text,

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            $email_administrator,

Multi-line function call not indented correctly; expected 12 spaces but found 8
Open

        );

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            $title,

Multi-line function call not indented correctly; expected 8 spaces but found 12
Open

            );

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        );

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            '',

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            [

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            '',

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            $title,

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        );

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            ]

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                WEB_PATH

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            $email_administrator,

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            api_get_person_name($_user['firstname'], $_user['lastname']),

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            $text,

Multi-line function call not indented correctly; expected 16 spaces but found 12
Open

            get_lang('Anonymous')

Multi-line function call not indented correctly; expected 12 spaces but found 8
Open

        );

There are no issues that match your filters.

Category
Status