@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | 'empty' => '', |
| 45 | 45 | ] |
| 46 | 46 | )->fetch_callback( |
| 47 | - function ($row) use (&$credits) { |
|
| 47 | + function($row) use (&$credits) { |
|
| 48 | 48 | global $txt; |
| 49 | 49 | |
| 50 | 50 | $credit_info = Util::unserialize($row['credits']); |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | '<a href="https://github.com/googlefonts/noto-emoji">Noto Emoji</a> | © Googlefonts | Licensed under <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>', |
| 108 | 108 | '<a href="https://openmoji.org">OpenMoji</a> | © OpenMoji | Licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0</a>', |
| 109 | 109 | '<a href="https://github.com/KDE/oxygen-icons">Oxygen Icons</a> | These icons are licensed under <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA 3.0</a>', |
| 110 | - '<a href="https://github.com/twitter/twemoji">Twitter Emoji</a> | © Twitter, Inc and other contributors | Licensed under <a href="https://github.com/twitter/twemoji/blob/master/LICENSE/">MIT</a>',], |
|
| 110 | + '<a href="https://github.com/twitter/twemoji">Twitter Emoji</a> | © Twitter, Inc and other contributors | Licensed under <a href="https://github.com/twitter/twemoji/blob/master/LICENSE/">MIT</a>', ], |
|
| 111 | 111 | 'fonts' => [ |
| 112 | 112 | '<a href="https://www.fontsquirrel.com/fonts/open-sans">Open Sans</a> | © Ascender Fonts | <a href="https://opensource.org/licenses/Apache-2.0">Apache License, Version 2.0', |
| 113 | 113 | ], |
@@ -277,7 +277,7 @@ discard block |
||
| 277 | 277 | 'all_year_dec' => '0004-12-31', |
| 278 | 278 | ] |
| 279 | 279 | )->fetch_callback( |
| 280 | - function ($row) use (&$holidays, $low_date, $high_date) { |
|
| 280 | + function($row) use (&$holidays, $low_date, $high_date) { |
|
| 281 | 281 | if (!str_starts_with($low_date, substr($high_date, 0, 4))) |
| 282 | 282 | { |
| 283 | 283 | $event_year = substr($row['event_date'], 5) < substr($high_date, 5) ? substr($high_date, 0, 4) : substr($low_date, 0, 4); |
@@ -1339,7 +1339,7 @@ discard block |
||
| 1339 | 1339 | 'selected_holiday' => $id_holiday, |
| 1340 | 1340 | ] |
| 1341 | 1341 | )->fetch_callback( |
| 1342 | - function ($row) use (&$holiday) { |
|
| 1342 | + function($row) use (&$holiday) { |
|
| 1343 | 1343 | $holiday = [ |
| 1344 | 1344 | 'id' => $row['id_holiday'], |
| 1345 | 1345 | 'day' => (int) $row['day'], |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | 'not_installed' => 0, |
| 168 | 168 | ] |
| 169 | 169 | )->fetch_callback( |
| 170 | - function ($row) use (&$found, &$installed) { |
|
| 170 | + function($row) use (&$found, &$installed) { |
|
| 171 | 171 | // Already found this? If so don't add it twice! |
| 172 | 172 | if (in_array((int) $row['package_id'], $found, true)) |
| 173 | 173 | { |
@@ -1522,7 +1522,7 @@ discard block |
||
| 1522 | 1522 | $fileFunc = FileFunctions::instance(); |
| 1523 | 1523 | |
| 1524 | 1524 | // The files that reside outside of sources, in the base, we add manually |
| 1525 | - $base_files = ['index.php', 'SSI.php', 'subscriptions.php', 'email_imap_cron.php', 'emailpost.php', 'emailtopic.php']; |
|
| 1525 | + $base_files = ['index.php', 'SSI.php', 'subscriptions.php', 'email_imap_cron.php', 'emailpost.php', 'emailtopic.php']; |
|
| 1526 | 1526 | foreach ($base_files as $file) |
| 1527 | 1527 | { |
| 1528 | 1528 | if ($fileFunc->fileExists(BOARDDIR . '/' . $file)) |
@@ -1548,7 +1548,7 @@ discard block |
||
| 1548 | 1548 | 'theme_dir' => 'theme_dir', |
| 1549 | 1549 | ] |
| 1550 | 1550 | )->fetch_callback( |
| 1551 | - function ($row) use (&$dirs, $use_relative_paths) { |
|
| 1551 | + function($row) use (&$dirs, $use_relative_paths) { |
|
| 1552 | 1552 | $dirs[$row['value']] = $use_relative_paths ? 'themes/' . basename($row['value']) . '/' : str_replace('\\', '/', $row['value'] . '/'); |
| 1553 | 1553 | } |
| 1554 | 1554 | ); |
@@ -1768,7 +1768,7 @@ discard block |
||
| 1768 | 1768 | 'install_id' => $install_id, |
| 1769 | 1769 | ] |
| 1770 | 1770 | )->fetch_callback( |
| 1771 | - function ($row) use (&$result) { |
|
| 1771 | + function($row) use (&$result) { |
|
| 1772 | 1772 | $result = [ |
| 1773 | 1773 | 'old_themes' => explode(',', $row['themes_installed']), |
| 1774 | 1774 | 'old_version' => $row['version'], |
@@ -1838,7 +1838,7 @@ discard block |
||
| 1838 | 1838 | 'current_package' => $id, |
| 1839 | 1839 | ] |
| 1840 | 1840 | )->fetch_callback( |
| 1841 | - function ($row) use (&$version) { |
|
| 1841 | + function($row) use (&$version) { |
|
| 1842 | 1842 | $version = $row['version']; |
| 1843 | 1843 | } |
| 1844 | 1844 | ); |