Make PHP-CS super-happy :)

This commit is contained in:
Philipp 2025-01-02 00:14:25 +01:00
parent 3e5872d0b1
commit f2ce5647f2
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
6 changed files with 44 additions and 41 deletions

View file

@ -23,15 +23,12 @@ use Friendica\Core\Hook;
use Friendica\Core\Renderer;
use Friendica\Core\Session\Capability\IHandleUserSessions;
use Friendica\Core\Worker\Repository\Process as ProcessRepository;
use Friendica\Database\DBA;
use Friendica\Database\Definition\DbaDefinition;
use Friendica\Database\Definition\ViewDefinition;
use Friendica\Module\Maintenance;
use Friendica\Protocol\ATProtocol\Jetstream;
use Friendica\Security\Authentication;
use Friendica\Core\Config\Capability\IManageConfigValues;
use Friendica\Core\L10n;
use Friendica\Core\Logger;
use Friendica\Core\Logger\Capability\LogChannel;
use Friendica\Core\PConfig\Capability\IManagePersonalConfigValues;
use Friendica\Core\System;

View file

@ -99,7 +99,8 @@ HELP;
$this->config->reload();
if (empty($this->config->get('system', 'pidfile'))) {
throw new RuntimeException(<<< TXT
throw new RuntimeException(
<<< TXT
Please set system.pidfile in config/local.config.php. For example:
'system' => [

View file

@ -1,6 +1,6 @@
<?php
// Copyright (C) 2010-2024, the Friendica project
// Copyright (C) 2010-2025, the Friendica project
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
//
// SPDX-License-Identifier: AGPL-3.0-or-later

View file

@ -1,5 +1,10 @@
<?php
// Copyright (C) 2010-2025, the Friendica project
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
//
// SPDX-License-Identifier: AGPL-3.0-or-later
namespace Friendica\System;
use Friendica\Database\Database;