modules/ModComments/ConfigTemplate.php
Spaces must be used to indent lines; tabs are not allowed Open
Open
],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => function () {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$arg = func_get_arg(0);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => ['current'],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
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.",
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$arg = func_get_arg(0);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
},
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => 'user',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'docTags' => ['var' => 'string[]'],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return \is_array($arg) && !array_diff($arg, ['user', 'displayDate']);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => "Default record loading.\nValues available: ['current', 'related'].",
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'dateFormat' => [
- Exclude checks
Line exceeds 120 characters; contains 187 characters Open
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.",
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
},
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'docTags' => ['var' => 'string'],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'defaultSource' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return \is_array($arg) && !array_diff($arg, ['current', 'related']);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => function () {
- Exclude checks