YetiForceCompany/YetiForceCRM

View on GitHub
modules/ModComments/ConfigTemplate.php

Summary

Maintainability
A
0 mins
Test Coverage
F
50%

Spaces must be used to indent lines; tabs are not allowed
Open

    ],

Spaces must be used to indent lines; tabs are not allowed
Open

        'validation' => function () {

Spaces must be used to indent lines; tabs are not allowed
Open

            $arg = func_get_arg(0);

Spaces must be used to indent lines; tabs are not allowed
Open

        'default' => ['current'],

Spaces must be used to indent lines; tabs are not allowed
Open

        'description' => "Date display mode in comments, values available: \n`user` -  based on user settings, the view_date_format field \n`displayDate` - date and time in user format.",

Spaces must be used to indent lines; tabs are not allowed
Open

            $arg = func_get_arg(0);

Spaces must be used to indent lines; tabs are not allowed
Open

        },

Spaces must be used to indent lines; tabs are not allowed
Open

        'default' => 'user',

Spaces must be used to indent lines; tabs are not allowed
Open

    ],

Spaces must be used to indent lines; tabs are not allowed
Open

        'docTags' => ['var' => 'string[]'],

Spaces must be used to indent lines; tabs are not allowed
Open

            return \is_array($arg) && !array_diff($arg, ['user', 'displayDate']);

Spaces must be used to indent lines; tabs are not allowed
Open

        'description' => "Default record loading.\nValues available: ['current', 'related'].",

Spaces must be used to indent lines; tabs are not allowed
Open

    'dateFormat' => [

Line exceeds 120 characters; contains 187 characters
Open

        'description' => "Date display mode in comments, values available: \n`user` -  based on user settings, the view_date_format field \n`displayDate` - date and time in user format.",

Spaces must be used to indent lines; tabs are not allowed
Open

        },

Spaces must be used to indent lines; tabs are not allowed
Open

        'docTags' => ['var' => 'string'],

Spaces must be used to indent lines; tabs are not allowed
Open

    'defaultSource' => [

Spaces must be used to indent lines; tabs are not allowed
Open

            return \is_array($arg) && !array_diff($arg, ['current', 'related']);

Spaces must be used to indent lines; tabs are not allowed
Open

        'validation' => function () {

There are no issues that match your filters.

Category
Status