Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche authored and github-actions[bot] committed Dec 2, 2024
1 parent 3c5294d commit 2e0650f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Commands/TestCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ protected function checkFlareKey(): self

public function checkFlareLogger(): bool
{
if(! app()->make('log') instanceof LogManager) {
if (! app()->make('log') instanceof LogManager) {
return true;
}

$configuredCorrectly = $this->shouldUseReportableCallbackLogger()
? $this->isValidReportableCallbackFlareLogger()
: $this->isValidConfigFlareLogger();

if($configuredCorrectly === false) {
if ($configuredCorrectly === false) {
return false;
}

Expand Down Expand Up @@ -124,15 +124,15 @@ protected function isValidReportableCallbackFlareLogger(): bool

$hasReportableCallbackFlareLogger = $this->hasReportableCallbackFlareLogger();

if(empty($configLoggerFailures) && $hasReportableCallbackFlareLogger) {
if (empty($configLoggerFailures) && $hasReportableCallbackFlareLogger) {
$this->info('❌ The Flare logger was defined in your Laravel `logging.php` config file and `bootstrap/app.php` file which can cause duplicate errors. Please remove the Flare logger from your `logging.php` config file.');
}

if ($hasReportableCallbackFlareLogger) {
return true;
}

if(empty($configLoggerFailures)) {
if (empty($configLoggerFailures)) {
return true;
}

Expand Down

0 comments on commit 2e0650f

Please sign in to comment.