Apply fixes from StyleCI (#12117)

* Apply fixes from StyleCI

* Disable style check
This commit is contained in:
Jellyfrog
2020-09-21 14:54:51 +02:00
committed by GitHub
parent 8ec9183df5
commit 77c531527c
752 changed files with 6238 additions and 5833 deletions

View File

@@ -8,19 +8,18 @@
* @subpackage webinterface
* @copyright (C) 2006 - 2012 Adam Armstrong
*/
ini_set('allow_url_fopen', 0);
$init_modules = array('web', 'auth');
$init_modules = ['web', 'auth'];
require realpath(__DIR__ . '/..') . '/includes/init.php';
$urlargs = array(
$urlargs = [
'type' => 'bill_historictransfer',
'id' => $_GET['bill_id'],
'width' => $_GET['x'],
'height' => $_GET['y'],
'imgtype' => $_GET['type']
);
'imgtype' => $_GET['type'],
];
if (is_numeric($_GET['bill_hist_id'])) {
$urlargs['bill_hist_id'] = $_GET['bill_hist_id'];
} elseif (is_numeric($_GET['from']) && is_numeric($_GET['to'])) {