Apply fixes from StyleCI

This commit is contained in:
Nabeel Shahzad
2018-08-26 18:51:47 +00:00
committed by StyleCI Bot
parent e95b3eb366
commit 3c32f2d89d
38 changed files with 61 additions and 51 deletions

View File

@@ -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 {

View File

@@ -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');

View File

@@ -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)

View File

@@ -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>');