Skip to content

Commit e12cb13

Browse files
committed
Apply fixes from StyleCI
1 parent 1c1766f commit e12cb13

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

tests/Foundation/FoundationApplicationTest.php

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use Illuminate\Foundation\Application;
88
use Illuminate\Foundation\Bootstrap\RegisterFacades;
99
use Illuminate\Foundation\Events\LocaleUpdated;
10-
use Illuminate\Support\Facades\App;
1110
use Illuminate\Support\ServiceProvider;
1211
use Mockery as m;
1312
use PHPUnit\Framework\TestCase;
@@ -501,22 +500,22 @@ public function testEnvPathsAreAbsoluteInWindows()
501500
);
502501
}
503502

504-
/** @test */
505-
public function testMacroable(): void
506-
{
507-
$app = new Application;
508-
$app['env'] = 'foo';
503+
/** @test */
504+
public function testMacroable(): void
505+
{
506+
$app = new Application;
507+
$app['env'] = 'foo';
509508

510-
$app->macro('foo', function() {
511-
return $this->environment('foo');
512-
});
509+
$app->macro('foo', function () {
510+
return $this->environment('foo');
511+
});
513512

514-
$this->assertTrue($app->foo());
513+
$this->assertTrue($app->foo());
515514

516-
$app['env'] = 'bar';
515+
$app['env'] = 'bar';
517516

518-
$this->assertFalse($app->foo());
519-
}
517+
$this->assertFalse($app->foo());
518+
}
520519
}
521520

522521
class ApplicationBasicServiceProviderStub extends ServiceProvider

0 commit comments

Comments
 (0)