automated phpcs fixes

This commit is contained in:
Dennis Eichhorn 2023-05-31 13:21:46 +00:00
parent 024298e0bd
commit 697a820407
6 changed files with 17 additions and 20 deletions

View File

@ -66,7 +66,6 @@ class BalanceL11n implements \JsonSerializable
*/ */
public string $description = ''; public string $description = '';
/** /**
* Get language * Get language
* *

View File

@ -66,7 +66,6 @@ class CostCenterL11n implements \JsonSerializable
*/ */
public string $description = ''; public string $description = '';
/** /**
* Get language * Get language
* *

View File

@ -66,7 +66,6 @@ class CostObjectL11n implements \JsonSerializable
*/ */
public string $description = ''; public string $description = '';
/** /**
* Get language * Get language
* *

View File

@ -198,4 +198,4 @@ $footerView->setResults(1);
</div> </div>
</div> </div>
<?php include 'account-list.tpl.php'; ?> <?php include __DIR__ . '/account-list.tpl.php'; ?>

View File

@ -381,7 +381,7 @@ function phpServe() : void
// Execute the command and store the process ID // Execute the command and store the process ID
$output = []; $output = [];
echo \sprintf('Starting server...') . \PHP_EOL; echo 'Starting server...' . \PHP_EOL;
echo \sprintf(' Current directory: %s', \getcwd()) . \PHP_EOL; echo \sprintf(' Current directory: %s', \getcwd()) . \PHP_EOL;
echo \sprintf(' %s', $command); echo \sprintf(' %s', $command);
\exec($command, $output); \exec($command, $output);
@ -406,7 +406,7 @@ function phpServe() : void
// Kill the web server when the process ends // Kill the web server when the process ends
\register_shutdown_function(function() use ($killCommand, $pid) : void { \register_shutdown_function(function() use ($killCommand, $pid) : void {
echo \PHP_EOL . \sprintf('Stopping server...') . \PHP_EOL; echo \PHP_EOL . 'Stopping server...' . \PHP_EOL;
echo \sprintf(' %s - Killing process with ID %d', \date('r'), $pid) . \PHP_EOL; echo \sprintf(' %s - Killing process with ID %d', \date('r'), $pid) . \PHP_EOL;
\exec($killCommand . $pid); \exec($killCommand . $pid);
}); });