8000 Apply fixes from StyleCI · mohammedaktaa/paste.laravel.io@35d1d00 · GitHub
[go: up one dir, main page]

Skip to content

Commit 35d1d00

Browse files
driesvintsStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent c54710f commit 35d1d00

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

app/Console/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected function schedule(Schedule $schedule)
3535
*/
3636
protected function commands()
3737
{
38-
$this->load(__DIR__ . '/Commands');
38+
$this->load(__DIR__.'/Commands');
3939

4040
require base_path('routes/console.php');
4141
}

bootstrap/app.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
$app = new Illuminate\Foundation\Application(
15-
dirname(__DIR__)
15+
dirname(__DIR__),
1616
);
1717

1818
/*
@@ -28,17 +28,17 @@
2828

2929
$app->singleton(
3030
Illuminate\Contracts\Http\Kernel::class,
31-
App\Http\Kernel::class
31+
App\Http\Kernel::class,
3232
);
3333

3434
$app->singleton(
3535
Illuminate\Contracts\Console\Kernel::class,
36-
App\Console\Kernel::class
36+
App\Console\Kernel::class,
3737
);
3838

3939
$app->singleton(
4040
Illuminate\Contracts\Debug\ExceptionHandler::class,
41-
App\Exceptions\Handler::class
41+
App\Exceptions\Handler::class,
4242
);
4343

4444
/*

config/cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888

8989
'prefix' => env(
9090
'CACHE_PREFIX',
91-
str_slug(env('APP_NAME', 'laravel'), '_') . '_cache'
91+
str_slug(env('APP_NAME', 'laravel'), '_').'_cache',
9292
),
9393

9494
];

config/filesystems.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
'public' => [
5252
'driver' => 'local',
5353
'root' => storage_path('app/public'),
54-
'url' => env('APP_URL') . '/storage',
54+
'url' => env('APP_URL').'/storage',
5555
'visibility' => 'public',
5656
],
5757

config/session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124

125125
'cookie' => env(
126126
'SESSION_COOKIE',
127-
str_slug(env('APP_NAME', 'laravel'), '_') . '_session'
127+
str_slug(env('APP_NAME', 'laravel'), '_').'_session',
128128
),
129129

130130
/*

public/index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
|
2020
*/
2121

22-
require __DIR__ . '/../vendor/autoload.php';
22+
require __DIR__.'/../vendor/autoload.php';
2323

2424
/*
2525
|--------------------------------------------------------------------------
@@ -33,7 +33,7 @@
3333
|
3434
*/
3535

36-
$app = require_once __DIR__ . '/../bootstrap/app.php';
36+
$app = require_once __DIR__.'/../bootstrap/app.php';
3737

3838
/*
3939
|--------------------------------------------------------------------------
@@ -50,7 +50,7 @@
5050
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
5151

5252
$response = $kernel->handle(
53-
$request = Illuminate\Http\Request::capture()
53+
$request = Illuminate\Http\Request::capture(),
5454
);
5555

5656
$response->send();

server.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
* @author Taylor Otwell <taylor@laravel.com>
77
*/
88
$uri = urldecode(
9-
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
9+
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH),
1010
);
1111

1212
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
1313
// built-in PHP web server. This provides a convenient way to test a Laravel
1414
// application without having installed a "real" web server software here.
15-
if ($uri !== '/' && file_exists(__DIR__ . '/public' . $uri)) {
15+
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
1616
return false;
1717
}
1818

19-
require_once __DIR__ . '/public/index.php';
19+
require_once __DIR__.'/public/index.php';

tests/CreatesApplication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ trait CreatesAppl B19C ication
1313
*/
1414
public function createApplication()
1515
{
16-
$app = require __DIR__ . '/../bootstrap/app.php';
16+
$app = require __DIR__.'/../bootstrap/app.php';
1717

1818
$app->make(Kernel::class)->bootstrap();
1919

tests/Feature/LimitCodeLengthTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class LimitCodeLengthTest extends TestCase
99
/** @test */
1010
public function it_disallows_long_code_posts()
1111
{
12-
$code = file_get_contents(__DIR__ . '/../artifacts/long_text.txt');
12+
$code = file_get_contents(__DIR__.'/../artifacts/long_text.txt');
1313

1414
$this->post('/', compact('code'))
1515
->assertSessionHasErrors('code')

0 commit comments

Comments
 (0)
0