Skip to content

Commit 6720e49

Browse files
Tabs to spaces
1 parent 740f69f commit 6720e49

File tree

7 files changed

+68
-68
lines changed

7 files changed

+68
-68
lines changed

app/Exceptions/Handler.php

+31-31
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,38 @@
55

66
class Handler extends ExceptionHandler {
77

8-
/**
9-
* A list of the exception types that should not be reported.
10-
*
11-
* @var array
12-
*/
13-
protected $dontReport = [
14-
'Symfony\Component\HttpKernel\Exception\HttpException'
15-
];
8+
/**
9+
* A list of the exception types that should not be reported.
10+
*
11+
* @var array
12+
*/
13+
protected $dontReport = [
14+
'Symfony\Component\HttpKernel\Exception\HttpException'
15+
];
1616

17-
/**
18-
* Report or log an exception.
19-
*
20-
* This is a great spot to send exceptions to Sentry, Bugsnag, etc.
21-
*
22-
* @param \Exception $e
23-
* @return void
24-
*/
25-
public function report(Exception $e)
26-
{
27-
return parent::report($e);
28-
}
17+
/**
18+
* Report or log an exception.
19+
*
20+
* This is a great spot to send exceptions to Sentry, Bugsnag, etc.
21+
*
22+
* @param \Exception $e
23+
* @return void
24+
*/
25+
public function report(Exception $e)
26+
{
27+
return parent::report($e);
28+
}
2929

30-
/**
31-
* Render an exception into an HTTP response.
32-
*
33-
* @param \Illuminate\Http\Request $request
34-
* @param \Exception $e
35-
* @return \Illuminate\Http\Response
36-
*/
37-
public function render($request, Exception $e)
38-
{
39-
return parent::render($request, $e);
40-
}
30+
/**
31+
* Render an exception into an HTTP response.
32+
*
33+
* @param \Illuminate\Http\Request $request
34+
* @param \Exception $e
35+
* @return \Illuminate\Http\Response
36+
*/
37+
public function render($request, Exception $e)
38+
{
39+
return parent::render($request, $e);
40+
}
4141

4242
}

app/Http/Middleware/ExampleMiddleware.php

+11-11
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44

55
class ExampleMiddleware {
66

7-
/**
8-
* Handle an incoming request.
9-
*
10-
* @param \Illuminate\Http\Request $request
11-
* @param \Closure $next
12-
* @return mixed
13-
*/
14-
public function handle($request, Closure $next)
15-
{
16-
return $next($request);
17-
}
7+
/**
8+
* Handle an incoming request.
9+
*
10+
* @param \Illuminate\Http\Request $request
11+
* @param \Closure $next
12+
* @return mixed
13+
*/
14+
public function handle($request, Closure $next)
15+
{
16+
return $next($request);
17+
}
1818

1919
}

app/Http/routes.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
*/
1313

1414
$app->get('/', function() use ($app) {
15-
return $app->welcome();
15+
return $app->welcome();
1616
});

artisan

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $app = require __DIR__.'/bootstrap/app.php';
2929
*/
3030

3131
$kernel = $app->make(
32-
'Illuminate\Contracts\Console\Kernel'
32+
'Illuminate\Contracts\Console\Kernel'
3333
);
3434

3535
exit($kernel->handle(new ArgvInput, new ConsoleOutput));

bootstrap/app.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
*/
3434

3535
$app->singleton(
36-
'Illuminate\Contracts\Debug\ExceptionHandler',
37-
'App\Exceptions\Handler'
36+
'Illuminate\Contracts\Debug\ExceptionHandler',
37+
'App\Exceptions\Handler'
3838
);
3939

4040
$app->singleton(
41-
'Illuminate\Contracts\Console\Kernel',
42-
'App\Console\Kernel'
41+
'Illuminate\Contracts\Console\Kernel',
42+
'App\Console\Kernel'
4343
);
4444

4545
/*

tests/ExampleTest.php

+11-11
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
class ExampleTest extends TestCase {
44

5-
/**
6-
* A basic test example.
7-
*
8-
* @return void
9-
*/
10-
public function testBasicExample()
11-
{
12-
$response = $this->call('GET', '/');
5+
/**
6+
* A basic test example.
7+
*
8+
* @return void
9+
*/
10+
public function testBasicExample()
11+
{
12+
$response = $this->call('GET', '/');
1313

14-
$this->assertResponseOk();
15-
$this->assertEquals('Hello World', $response->getContent());
16-
}
14+
$this->assertResponseOk();
15+
$this->assertEquals('Hello World', $response->getContent());
16+
}
1717

1818
}

tests/TestCase.php

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
class TestCase extends Laravel\Lumen\Testing\TestCase {
44

5-
/**
6-
* Creates the application.
7-
*
8-
* @return \Laravel\Lumen\Application
9-
*/
10-
public function createApplication()
11-
{
12-
return require __DIR__.'/../bootstrap/app.php';
13-
}
5+
/**
6+
* Creates the application.
7+
*
8+
* @return \Laravel\Lumen\Application
9+
*/
10+
public function createApplication()
11+
{
12+
return require __DIR__.'/../bootstrap/app.php';
13+
}
1414

1515
}

0 commit comments

Comments
 (0)