Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.x] Sort missed stub imports #29958

Merged
merged 1 commit into from
Sep 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use NamespacedDummyModel;
use Faker\Generator as Faker;
use NamespacedDummyModel;

$factory->define(DummyModel::class, function (Faker $faker) {
return [
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Console/stubs/policy.plain.stub
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace DummyNamespace;

use NamespacedDummyUserModel;
use Illuminate\Auth\Access\HandlesAuthorization;
use NamespacedDummyUserModel;

class DummyClass
{
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Foundation/Console/stubs/policy.stub
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace DummyNamespace;

use NamespacedDummyUserModel;
use NamespacedDummyModel;
use Illuminate\Auth\Access\HandlesAuthorization;
use NamespacedDummyModel;
use NamespacedDummyUserModel;

class DummyClass
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace DummyNamespace;

use DummyRootNamespaceHttp\Controllers\Controller;
use DummyFullModelClass;
use DummyRootNamespaceHttp\Controllers\Controller;
use Illuminate\Http\Request;

class DummyClass extends Controller
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Console/stubs/controller.model.stub
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace DummyNamespace;

use DummyRootNamespaceHttp\Controllers\Controller;
use DummyFullModelClass;
use DummyRootNamespaceHttp\Controllers\Controller;
use Illuminate\Http\Request;

class DummyClass extends Controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace DummyNamespace;

use DummyRootNamespaceHttp\Controllers\Controller;
use DummyFullModelClass;
use ParentDummyFullModelClass;
use DummyRootNamespaceHttp\Controllers\Controller;
use Illuminate\Http\Request;
use ParentDummyFullModelClass;

class DummyClass extends Controller
{
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Routing/Console/stubs/controller.nested.stub
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace DummyNamespace;

use DummyRootNamespaceHttp\Controllers\Controller;
use DummyFullModelClass;
use ParentDummyFullModelClass;
use DummyRootNamespaceHttp\Controllers\Controller;
use Illuminate\Http\Request;
use ParentDummyFullModelClass;

class DummyClass extends Controller
{
Expand Down