style: apply K&R + tab formatting across the codebase (make cs-fix)

Mechanical, behaviour-preserving reformat produced by 'make cs-fix' under
the new build/phpcs.xml.dist ruleset: K&R braces, tab indentation, and the
other whitespace normalisations. No logic changes.
This commit is contained in:
Divarion_D
2026-09-13 14:14:23 +03:00
parent 5843f18bb7
commit 758a9cab0b
513 changed files with 35922 additions and 36029 deletions
@@ -18,18 +18,18 @@ use XcVm\Domain\Server\ServerRepository;
*/
class RtmpMonitorController extends BaseAdminController {
public function index() {
$this->requirePermission();
public function index() {
$this->requirePermission();
global $rServers;
global $rServers;
if (!RequestManager::has('server') || !isset($rServers[RequestManager::get('server')])) {
RequestManager::update('server', SERVER_ID);
}
if (!RequestManager::has('server') || !isset($rServers[RequestManager::get('server')])) {
RequestManager::update('server', SERVER_ID);
}
$rRTMPInfo = ServerRepository::getRTMPStats(RequestManager::get('server'));
$rRTMPInfo = ServerRepository::getRTMPStats(RequestManager::get('server'));
$this->setTitle('RTMP Monitor');
$this->render('rtmp_monitor', compact('rRTMPInfo'));
}
$this->setTitle('RTMP Monitor');
$this->render('rtmp_monitor', compact('rRTMPInfo'));
}
}