Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
e95b3eb366
commit
3c32f2d89d
@@ -249,7 +249,7 @@ class AcarsReplay extends Command
|
||||
if ($this->option('write-all')) {
|
||||
$this->info('In "dump-all" mode, just writing it all in');
|
||||
} else {
|
||||
/** @noinspection NestedPositiveIfStatementsInspection */
|
||||
/* @noinspection NestedPositiveIfStatementsInspection */
|
||||
if (!$manual_mode) {
|
||||
$this->info('Going to send updates every 10s');
|
||||
} else {
|
||||
|
||||
@@ -33,7 +33,7 @@ class ComposerCommand extends Command
|
||||
protected function postUpdate(): void
|
||||
{
|
||||
if (config('app.env') === 'dev') {
|
||||
/** @noinspection NestedPositiveIfStatementsInspection */
|
||||
/* @noinspection NestedPositiveIfStatementsInspection */
|
||||
if (class_exists(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class)) {
|
||||
Artisan::call('ide-helper:generate');
|
||||
Artisan::call('ide-helper:meta');
|
||||
|
||||
@@ -16,6 +16,7 @@ class Version extends Command
|
||||
* Create the version number that gets written out
|
||||
*
|
||||
* @param mixed $cfg
|
||||
*
|
||||
* @return bool|string
|
||||
*/
|
||||
protected function createVersionNumber($cfg)
|
||||
|
||||
@@ -56,7 +56,7 @@ class Importer
|
||||
* CONSTANTS
|
||||
*/
|
||||
public const BATCH_READ_ROWS = 300;
|
||||
public const SUBFLEET_NAME = 'Imported Aircraft';
|
||||
public const SUBFLEET_NAME = 'Imported Aircraft';
|
||||
|
||||
/**
|
||||
* Importer constructor.
|
||||
@@ -145,7 +145,7 @@ class Importer
|
||||
protected function info($message)
|
||||
{
|
||||
if (\is_array($message)) {
|
||||
/** @noinspection ForgottenDebugOutputInspection */
|
||||
/* @noinspection ForgottenDebugOutputInspection */
|
||||
print_r($message);
|
||||
} else {
|
||||
$this->log->writeln('<info>'.$message.'</info>');
|
||||
|
||||
Reference in New Issue
Block a user