Skip to content

Commit

Permalink
Shift core files
Browse files Browse the repository at this point in the history
  • Loading branch information
laravel-shift committed Sep 2, 2017
1 parent 7b5cc42 commit 41f1983
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 28 deletions.
4 changes: 3 additions & 1 deletion artisan
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env php
<?php

define('LARAVEL_START', microtime(true));

/*
|--------------------------------------------------------------------------
| Register The Auto Loader
Expand All @@ -13,7 +15,7 @@
|
*/

require __DIR__.'/bootstrap/autoload.php';
require __DIR__.'/vendor/autoload.php';

$app = require_once __DIR__.'/bootstrap/app.php';

Expand Down
17 changes: 0 additions & 17 deletions bootstrap/autoload.php

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
<?php

use Faker\Generator as Faker;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding your
| database. Just tell the factory how a default model should look.
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generate new
| model instances for testing / seeding your application's database.
|
*/

/** @var \Illuminate\Database\Eloquent\Factory $factory */
$factory->define(App\User::class, function (Faker\Generator $faker) {
$factory->define(App\User::class, function (Faker $faker) {
static $password;

return [
Expand Down
3 changes: 2 additions & 1 deletion public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
Expand Down
4 changes: 3 additions & 1 deletion public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
* @author Taylor Otwell <[email protected]>
*/

define('LARAVEL_START', microtime(true));

/*
|--------------------------------------------------------------------------
| Register The Auto Loader
Expand All @@ -19,7 +21,7 @@
|
*/

require __DIR__.'/../bootstrap/autoload.php';
require __DIR__.'/../vendor/autoload.php';

/*
|--------------------------------------------------------------------------
Expand Down
4 changes: 1 addition & 3 deletions tests/Feature/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
namespace Tests\Feature;

use Tests\TestCase;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Illuminate\Foundation\Testing\RefreshDatabase;

class ExampleTest extends TestCase
{
Expand Down

0 comments on commit 41f1983

Please sign in to comment.