mirror of
https://github.com/friendica/friendica
synced 2025-01-09 11:24:43 +00:00
Execute COMMAND=fix TARGET_BRANCH=develop bin/dev/fix-codestyle.sh
This commit is contained in:
parent
0ff7a1c72b
commit
ad549cc5d6
1 changed files with 3 additions and 3 deletions
|
@ -64,7 +64,7 @@ class App
|
||||||
{
|
{
|
||||||
const PLATFORM = 'Friendica';
|
const PLATFORM = 'Friendica';
|
||||||
const CODENAME = 'Interrupted Fern';
|
const CODENAME = 'Interrupted Fern';
|
||||||
const VERSION = '2025.02-dev';
|
const VERSION = '2025.02-dev';
|
||||||
|
|
||||||
public static function fromDice(Dice $dice): self
|
public static function fromDice(Dice $dice): self
|
||||||
{
|
{
|
||||||
|
@ -537,7 +537,7 @@ class App
|
||||||
$requeststring = ($serverVars['REQUEST_METHOD'] ?? '') . ' ' . ($serverVars['REQUEST_URI'] ?? '') . ' ' . ($serverVars['SERVER_PROTOCOL'] ?? '');
|
$requeststring = ($serverVars['REQUEST_METHOD'] ?? '') . ' ' . ($serverVars['REQUEST_URI'] ?? '') . ' ' . ($serverVars['SERVER_PROTOCOL'] ?? '');
|
||||||
$this->logger->debug('Request received', ['address' => $serverVars['REMOTE_ADDR'] ?? '', 'request' => $requeststring, 'referer' => $serverVars['HTTP_REFERER'] ?? '', 'user-agent' => $serverVars['HTTP_USER_AGENT'] ?? '']);
|
$this->logger->debug('Request received', ['address' => $serverVars['REMOTE_ADDR'] ?? '', 'request' => $requeststring, 'referer' => $serverVars['HTTP_REFERER'] ?? '', 'user-agent' => $serverVars['HTTP_USER_AGENT'] ?? '']);
|
||||||
$request_start = microtime(true);
|
$request_start = microtime(true);
|
||||||
$request = $_REQUEST;
|
$request = $_REQUEST;
|
||||||
|
|
||||||
$this->profiler->set($start_time, 'start');
|
$this->profiler->set($start_time, 'start');
|
||||||
$this->profiler->set(microtime(true), 'classinit');
|
$this->profiler->set(microtime(true), 'classinit');
|
||||||
|
@ -701,7 +701,7 @@ class App
|
||||||
$router = $this->container->create(Router::class);
|
$router = $this->container->create(Router::class);
|
||||||
|
|
||||||
$moduleClass = $moduleClass ?? $router->getModuleClass();
|
$moduleClass = $moduleClass ?? $router->getModuleClass();
|
||||||
$parameters = $router->getParameters();
|
$parameters = $router->getParameters();
|
||||||
|
|
||||||
$dice_profiler_threshold = $this->config->get('system', 'dice_profiler_threshold', 0);
|
$dice_profiler_threshold = $this->config->get('system', 'dice_profiler_threshold', 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue