Commit 2ddf39f2 authored by Dries Vints's avatar Dries Vints

Remove classes from aliases list

Eloquent and Seeder were used to extend from which is a bad practice.
The SoftDeletingTrait should be imported just like the UserTrait and the RemindableTrait.
Str was also removed because it's just a shortcut for the namespace. People can always re-add it if they like.
I wasn't entirely sure what FormRequest was doing here but I have a feeling it's going to be used for the same reasons as one of the above classes. So I removed it as well.
parent aa9015ca
...@@ -159,40 +159,35 @@ return [ ...@@ -159,40 +159,35 @@ return [
'aliases' => [ 'aliases' => [
'App' => 'Illuminate\Support\Facades\App', 'App' => 'Illuminate\Support\Facades\App',
'Artisan' => 'Illuminate\Support\Facades\Artisan', 'Artisan' => 'Illuminate\Support\Facades\Artisan',
'Auth' => 'Illuminate\Support\Facades\Auth', 'Auth' => 'Illuminate\Support\Facades\Auth',
'Blade' => 'Illuminate\Support\Facades\Blade', 'Blade' => 'Illuminate\Support\Facades\Blade',
'Cache' => 'Illuminate\Support\Facades\Cache', 'Cache' => 'Illuminate\Support\Facades\Cache',
'Config' => 'Illuminate\Support\Facades\Config', 'Config' => 'Illuminate\Support\Facades\Config',
'Cookie' => 'Illuminate\Support\Facades\Cookie', 'Cookie' => 'Illuminate\Support\Facades\Cookie',
'Crypt' => 'Illuminate\Support\Facades\Crypt', 'Crypt' => 'Illuminate\Support\Facades\Crypt',
'DB' => 'Illuminate\Support\Facades\DB', 'DB' => 'Illuminate\Support\Facades\DB',
'Eloquent' => 'Illuminate\Database\Eloquent\Model', 'Event' => 'Illuminate\Support\Facades\Event',
'Event' => 'Illuminate\Support\Facades\Event', 'File' => 'Illuminate\Support\Facades\File',
'File' => 'Illuminate\Support\Facades\File', 'Hash' => 'Illuminate\Support\Facades\Hash',
'FormRequest' => 'Illuminate\Foundation\Http\FormRequest', 'Input' => 'Illuminate\Support\Facades\Input',
'Hash' => 'Illuminate\Support\Facades\Hash', 'Lang' => 'Illuminate\Support\Facades\Lang',
'Input' => 'Illuminate\Support\Facades\Input', 'Log' => 'Illuminate\Support\Facades\Log',
'Lang' => 'Illuminate\Support\Facades\Lang', 'Mail' => 'Illuminate\Support\Facades\Mail',
'Log' => 'Illuminate\Support\Facades\Log', 'Paginator' => 'Illuminate\Support\Facades\Paginator',
'Mail' => 'Illuminate\Support\Facades\Mail', 'Password' => 'Illuminate\Support\Facades\Password',
'Paginator' => 'Illuminate\Support\Facades\Paginator', 'Queue' => 'Illuminate\Support\Facades\Queue',
'Password' => 'Illuminate\Support\Facades\Password', 'Redirect' => 'Illuminate\Support\Facades\Redirect',
'Queue' => 'Illuminate\Support\Facades\Queue', 'Redis' => 'Illuminate\Support\Facades\Redis',
'Redirect' => 'Illuminate\Support\Facades\Redirect', 'Request' => 'Illuminate\Support\Facades\Request',
'Redis' => 'Illuminate\Support\Facades\Redis', 'Response' => 'Illuminate\Support\Facades\Response',
'Request' => 'Illuminate\Support\Facades\Request', 'Route' => 'Illuminate\Support\Facades\Route',
'Response' => 'Illuminate\Support\Facades\Response', 'Schema' => 'Illuminate\Support\Facades\Schema',
'Route' => 'Illuminate\Support\Facades\Route', 'Session' => 'Illuminate\Support\Facades\Session',
'Schema' => 'Illuminate\Support\Facades\Schema', 'URL' => 'Illuminate\Support\Facades\URL',
'Seeder' => 'Illuminate\Database\Seeder', 'Validator' => 'Illuminate\Support\Facades\Validator',
'Session' => 'Illuminate\Support\Facades\Session', 'View' => 'Illuminate\Support\Facades\View',
'SoftDeletingTrait' => 'Illuminate\Database\Eloquent\SoftDeletingTrait',
'Str' => 'Illuminate\Support\Str',
'URL' => 'Illuminate\Support\Facades\URL',
'Validator' => 'Illuminate\Support\Facades\Validator',
'View' => 'Illuminate\Support\Facades\View',
], ],
......
<?php <?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder { class DatabaseSeeder extends Seeder {
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment