Skip to content

Commit

Permalink
fix phpstan "Implicit array creation" in plugin config files
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Apr 5, 2024
1 parent f6da052 commit 61f1019
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/acl/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// Default look of access rights table
// In advanced mode all access rights are displayed separately
// In simple mode access rights are grouped into four groups: read, write, delete, full
Expand Down
2 changes: 2 additions & 0 deletions plugins/additional_message_headers/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// Header name to header value definitions.
// Values can use variables: %u - username, %l - local part of username, %d - domain part of username
$config['additional_message_headers'] = [];
Expand Down
2 changes: 2 additions & 0 deletions plugins/database_attachments/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// By default this plugin stores attachments in filesystem
// and copies them into sql database.
// You can change it to use 'memcache', 'memcached', 'redis' or 'apc'.
Expand Down
2 changes: 2 additions & 0 deletions plugins/emoticons/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// Enable emoticons in plain text messages preview
$config['emoticons_display'] = false;

Expand Down
2 changes: 2 additions & 0 deletions plugins/enigma/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// Enigma Plugin options
// --------------------

Expand Down
2 changes: 2 additions & 0 deletions plugins/help/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// Help content iframe source
// %l will be replaced by the language code resolved using the 'help_language_map' option
// If you are serving roundcube via https, then change this URL to https also.
Expand Down
2 changes: 2 additions & 0 deletions plugins/http_authentication/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// HTTP Basic Authentication Plugin options
// ----------------------------------------
// Default mail host to log-in using user/password from HTTP Authentication.
Expand Down
2 changes: 2 additions & 0 deletions plugins/jqueryui/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// if you want to load localization strings for specific sub-libraries of jquery-ui, configure them here
$config['jquery_ui_i18n'] = ['datepicker'];

Expand Down
2 changes: 2 additions & 0 deletions plugins/krb_authentication/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// Kerberos/GSSAPI Authentication Plugin options
// ---------------------------------------------

Expand Down
2 changes: 2 additions & 0 deletions plugins/managesieve/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// Managesieve server host (and optional port). Default: localhost.
// Replacement variables supported in host name:
// %h - user's IMAP hostname
Expand Down
2 changes: 2 additions & 0 deletions plugins/markasjunk/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// Learning driver
// Use an external process such as sa-learn to learn from spam/ham messages. Default: null.
// Please see the README for more information
Expand Down
2 changes: 2 additions & 0 deletions plugins/new_user_identity/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// The id of the address book to use to automatically set a
// user's full name in their new identity. (This should be an
// string, which refers to the $config['ldap_public'] array.)
Expand Down
2 changes: 2 additions & 0 deletions plugins/newmail_notifier/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// Enables basic notification
$config['newmail_notifier_basic'] = false;

Expand Down
2 changes: 2 additions & 0 deletions plugins/password/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// Password Plugin options
// -----------------------
// A driver to use for password change. Default: "sql".
Expand Down
2 changes: 2 additions & 0 deletions plugins/reconnect/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php

$config = [];

// Maximum attempts to connect the IMAP server
$config['reconnect_imap_max_attempts'] = 5;
2 changes: 2 additions & 0 deletions plugins/redundant_attachments/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// By default this plugin stores attachments in filesystem and copies them into sql database.
// In environments with replicated database it is possible to use memcache or redis
// as a fallback when write-master is unavailable.
Expand Down
2 changes: 2 additions & 0 deletions plugins/squirrelmail_usercopy/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// Driver - 'file' or 'sql'
$config['squirrelmail_driver'] = 'sql';

Expand Down
2 changes: 2 additions & 0 deletions plugins/zipdownload/config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$config = [];

// ZipDownload configuration file

// Zip attachments
Expand Down

0 comments on commit 61f1019

Please sign in to comment.