Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit b58e4ab

Browse files
CS fixes
1 parent 8cbf9d7 commit b58e4ab

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Command/ServerRunCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
143143
$message = sprintf('Server listening on all interfaces, port %s -- see http://%s', $config->getPort(), $displayAddress);
144144
}
145145
$io->success($message);
146-
if (ini_get('xdebug.profiler_enable_trigger')) {
146+
if (\ini_get('xdebug.profiler_enable_trigger')) {
147147
$io->comment('Xdebug profiler trigger enabled.');
148148
}
149149
$io->comment('Quit the server with CONTROL-C.');

Command/ServerStartCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
154154
$message = sprintf('Server listening on all interfaces, port %s -- see http://%s', $config->getPort(), $displayAddress);
155155
}
156156
$io->success($message);
157-
if (ini_get('xdebug.profiler_enable_trigger')) {
157+
if (\ini_get('xdebug.profiler_enable_trigger')) {
158158
$io->comment('Xdebug profiler trigger enabled.');
159159
}
160160
}

WebServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private function createServerProcess(WebServerConfig $config): Process
156156
throw new \RuntimeException('Unable to find the PHP binary.');
157157
}
158158

159-
$xdebugArgs = ini_get('xdebug.profiler_enable_trigger') ? ['-dxdebug.profiler_enable_trigger=1'] : [];
159+
$xdebugArgs = \ini_get('xdebug.profiler_enable_trigger') ? ['-dxdebug.profiler_enable_trigger=1'] : [];
160160

161161
$process = new Process(array_merge([$binary], $finder->findArguments(), $xdebugArgs, ['-dvariables_order=EGPCS', '-S', $config->getAddress(), $config->getRouter()]));
162162
$process->setWorkingDirectory($config->getDocumentRoot());

0 commit comments

Comments
 (0)