PSR-2 for app.

This commit is contained in:
Taylor Otwell
2015-02-22 20:47:03 -06:00
parent 76d4c11c0f
commit f424b87a63
51 changed files with 1798 additions and 1811 deletions

View File

@@ -1,19 +1,19 @@
<?php
class TestCase extends Illuminate\Foundation\Testing\TestCase {
class TestCase extends Illuminate\Foundation\Testing\TestCase
{
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->make('Illuminate\Contracts\Console\Kernel')->bootstrap();
return $app;
}
$app->make('Illuminate\Contracts\Console\Kernel')->bootstrap();
return $app;
}
}