modules/Calendar/ConfigTemplate.php
syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']'
Open
Open
'sanitization' => fn () => (int) func_get_arg(0),
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => '\App\Validator::bool',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => 10,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Limits the number of events displayed on a day. Boolean, Integer. default: false',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => '\App\Validator::integer',
- 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' => true,
- 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
'sanitization' => '\App\Purifier::bool',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return 'Extended' === $arg || 'Standard' === $arg;
- 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
],
- 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
'sanitization' => '\App\Purifier::bool',
- 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
],
- 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
'description' => 'Display days below the form in quick create',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Max number of records to update status in cron',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => false,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Max number of notifications to display, 0 - no limits',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Right calendar panel visible by default: true - show right panel, false - hide right panel',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => '\App\Validator::bool',
- 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
'validation' => '\App\Validator::naturalNumber',
- 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
],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'SHOW_TIMELINE_DAY' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'SHOW_QUICK_CREATE_BY_STATUS' => [
- 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
'validation' => '\App\Validator::bool',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'AUTO_REFRESH_REMINDERS' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'SHOW_DAYS_QUICKCREATE' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'sanitization' => fn () => (int) 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
'description' => 'Show activity status buttons in edit form',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Shows number of the week in the year view: true - show, false - hide',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'SHOW_TIMELINE_WEEK' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Show calendar timeline in monthly view: false = dayGridWeek, true = timeGridWeek',
- 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
return 'list' === $arg || 'switch' === $arg;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => [],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'sanitization' => '\App\Purifier::bool',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => '\App\Validator::bool',
- Exclude checks
Line exceeds 120 characters; contains 223 characters Open
Open
'description' => 'Exclude certain days-of-the-week from being displayed. The value is an array of day-of-week indices to hide. Each index is zero-base (Sunday=0) and ranges from 0-6. By default, no days are hidden',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => ' Auto refresh reminders',
- 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
'validation' => '\App\Validator::bool',
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
'description' => 'Calendar view - allowed values: Extended, Standard, refresh menu files after you change this value',
- 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
'sanitization' => '\App\Purifier::bool',
- Exclude checks
Line exceeds 120 characters; contains 153 characters Open
Open
'description' => 'Shows the switch button or filter list in the calendar widget: switch - Switch "To realize" and "History", list - filter list',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'SHOW_LIST_BUTTON' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'SHOW_COMPANIES_IN_QUICKCREATE' => [
- 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
],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'SHOW_ONLY_CURRENT_RECORDS_COUNT' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => 'Extended',
- 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
'SHOW_EDIT_FORM' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Show default edit form',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => true,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => true,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => 'list',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => true,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Exclude certain days-of-the-week from being displayed. The value is an array of day-of-week indices to hide. Each index is zero-base (Sunday=0) and ranges from 0-6. By default, no days are hidden',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => 5000,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'maxNumberCalendarNotifications' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'SHOW_ACTIVITYTYPES_AS_BUTTONS' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'EVENT_LIMIT' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'SHOW_RIGHT_PANEL' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => true,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'CRON_MAX_NUMBERS_ACTIVITY_STATE' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Calendar view - allowed values: Extended, Standard, refresh menu files after you change this value',
- 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
'description' => 'Show the Calendar quick create window after changing the status: array - PLL_COMPLETED, PLL_CANCELLED',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Button referring to the list view that includes filters: true - show, false - hide',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => false,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'sanitization' => '\App\Purifier::bool',
- 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
'EXPORT_SUPPORTED_FILE_FORMATS' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => '\App\Validator::bool',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => true,
- 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
'description' => 'Show companies and processes in quickcreate',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'SEND_REMINDER_INVITATION' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'sanitization' => '\App\Purifier::bool',
- 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
'sanitization' => '\App\Purifier::bool',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => 20,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => '\App\Validator::naturalNumber',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'WEEK_COUNT' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => '\App\Validator::bool',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'DASHBOARD_CALENDAR_WIDGET_FILTER_TYPE' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
],
- Exclude checks
Line exceeds 120 characters; contains 129 characters Open
Open
'description' => 'Show the Calendar quick create window after changing the status: array - PLL_COMPLETED, PLL_CANCELLED',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return \is_array($arg) && empty(array_diff($arg, ['PLL_COMPLETED', 'PLL_CANCELLED']));
- 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
'validation' => '\App\Validator::bool',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'HIDDEN_DAYS_IN_CALENDAR_VIEW' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => [0, 6],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return 'Extended' === $arg || 'Standard' === $arg;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'CALENDAR_VIEW' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Shows activity types as buttons',
- 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
'description' => 'Show calendar timeline in day view: false = dayGridDay, true = timeGridDay',
- 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
'validation' => function () {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => true,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => true,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => true,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => ['LBL_CSV' => 'csv', 'LBL_XML' => 'xml', 'LBL_ICAL' => 'ical'],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Shows the switch button or filter list in the calendar widget: switch - Switch "To realize" and "History", list - filter list',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'sanitization' => '\App\Purifier::bool',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Send mail notification to participants',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Show number of current records in record preview for related modules',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Supported file types for data export.',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'showPinUser' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'sanitization' => '\App\Purifier::bool',
- 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' => true,
- 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
'validation' => '\App\Validator::bool',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => true,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => '\App\Validator::bool',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => false,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => false,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'AUTOFILL_TIME' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'sanitization' => '\App\Purifier::bool',
- 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
],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'SHOW_ACTIVITY_BUTTONS_IN_EDIT_FORM' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => false,
- 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
'description' => 'Select event free time automatically',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'ALL_DAY_SLOT' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Shows "all day" row in timeGridWeek and timeGridDay view',
- 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
'description' => 'Whether to display the add to favorite users button',
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
'sanitization' => fn () => (int) func_get_arg(0),
- Exclude checks