refactor: move application provider namespace

This commit is contained in:
fiachra mcdermott 2021-06-21 18:20:40 -07:00
parent c4c8c0b22a
commit c0e99e1851
9 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,7 @@ namespace Psalm\LaravelPlugin\Handlers\Application;
use Illuminate\Foundation\AliasLoader; use Illuminate\Foundation\AliasLoader;
use Illuminate\Support\Facades\RateLimiter; use Illuminate\Support\Facades\RateLimiter;
use Psalm\LaravelPlugin\Providers\ApplicationInterfaceProvider; use Psalm\LaravelPlugin\Providers\ApplicationInterfaceProvider;
use Psalm\LaravelPlugin\Util\ApplicationProvider; use Psalm\LaravelPlugin\Providers\ApplicationProvider;
use Psalm\Plugin\EventHandler\AfterClassLikeVisitInterface; use Psalm\Plugin\EventHandler\AfterClassLikeVisitInterface;
use Psalm\Plugin\EventHandler\Event\AfterClassLikeVisitEvent; use Psalm\Plugin\EventHandler\Event\AfterClassLikeVisitEvent;
use function in_array; use function in_array;

View File

@ -3,7 +3,7 @@
namespace Psalm\LaravelPlugin\Handlers\Application; namespace Psalm\LaravelPlugin\Handlers\Application;
use Psalm\LaravelPlugin\Providers\ApplicationInterfaceProvider; use Psalm\LaravelPlugin\Providers\ApplicationInterfaceProvider;
use Psalm\LaravelPlugin\Util\ApplicationProvider; use Psalm\LaravelPlugin\Providers\ApplicationProvider;
use Psalm\LaravelPlugin\Util\ContainerResolver; use Psalm\LaravelPlugin\Util\ContainerResolver;
use Psalm\Plugin\EventHandler\Event\MethodExistenceProviderEvent; use Psalm\Plugin\EventHandler\Event\MethodExistenceProviderEvent;
use Psalm\Plugin\EventHandler\Event\MethodParamsProviderEvent; use Psalm\Plugin\EventHandler\Event\MethodParamsProviderEvent;

View File

@ -10,7 +10,7 @@ use Psalm\LaravelPlugin\ReturnTypeProvider\ModelReturnTypeProvider;
use Psalm\LaravelPlugin\ReturnTypeProvider\PathHelpersReturnTypeProvider; use Psalm\LaravelPlugin\ReturnTypeProvider\PathHelpersReturnTypeProvider;
use Psalm\LaravelPlugin\ReturnTypeProvider\RelationReturnTypeProvider; use Psalm\LaravelPlugin\ReturnTypeProvider\RelationReturnTypeProvider;
use Psalm\LaravelPlugin\ReturnTypeProvider\UrlReturnTypeProvider; use Psalm\LaravelPlugin\ReturnTypeProvider\UrlReturnTypeProvider;
use Psalm\LaravelPlugin\Util\ApplicationProvider; use Psalm\LaravelPlugin\Providers\ApplicationProvider;
use Psalm\Plugin\PluginEntryPointInterface; use Psalm\Plugin\PluginEntryPointInterface;
use Psalm\Plugin\RegistrationInterface; use Psalm\Plugin\RegistrationInterface;
use SimpleXMLElement; use SimpleXMLElement;

View File

@ -1,6 +1,6 @@
<?php declare(strict_types=1); <?php declare(strict_types=1);
namespace Psalm\LaravelPlugin\Util; namespace Psalm\LaravelPlugin\Providers;
use Illuminate\Foundation\Application as LaravelApplication; use Illuminate\Foundation\Application as LaravelApplication;
use Orchestra\Testbench\Concerns\CreatesApplication; use Orchestra\Testbench\Concerns\CreatesApplication;

View File

@ -3,7 +3,7 @@
namespace Psalm\LaravelPlugin\Providers; namespace Psalm\LaravelPlugin\Providers;
use Psalm\LaravelPlugin\Fakes\FakeFilesystem; use Psalm\LaravelPlugin\Fakes\FakeFilesystem;
use Psalm\LaravelPlugin\Util\ApplicationProvider; use Psalm\LaravelPlugin\Providers\ApplicationProvider;
use function unlink; use function unlink;
final class FacadeStubProvider implements GeneratesStubs final class FacadeStubProvider implements GeneratesStubs

View File

@ -5,7 +5,7 @@ namespace Psalm\LaravelPlugin\Providers;
use Barryvdh\LaravelIdeHelper\Console\MetaCommand; use Barryvdh\LaravelIdeHelper\Console\MetaCommand;
use Psalm\LaravelPlugin\Fakes\FakeFilesystem; use Psalm\LaravelPlugin\Fakes\FakeFilesystem;
use Psalm\LaravelPlugin\Fakes\FakeMetaCommand; use Psalm\LaravelPlugin\Fakes\FakeMetaCommand;
use Psalm\LaravelPlugin\Util\ApplicationProvider; use Psalm\LaravelPlugin\Providers\ApplicationProvider;
final class MetaStubProvider implements GeneratesStubs final class MetaStubProvider implements GeneratesStubs
{ {

View File

@ -5,7 +5,7 @@ namespace Psalm\LaravelPlugin\Providers;
use Psalm\LaravelPlugin\Fakes\FakeFilesystem; use Psalm\LaravelPlugin\Fakes\FakeFilesystem;
use Psalm\LaravelPlugin\Fakes\FakeModelsCommand; use Psalm\LaravelPlugin\Fakes\FakeModelsCommand;
use Psalm\LaravelPlugin\Handlers\Eloquent\Schema\SchemaAggregator; use Psalm\LaravelPlugin\Handlers\Eloquent\Schema\SchemaAggregator;
use Psalm\LaravelPlugin\Util\ApplicationProvider; use Psalm\LaravelPlugin\Providers\ApplicationProvider;
use function glob; use function glob;
use function dirname; use function dirname;

View File

@ -5,7 +5,7 @@ namespace Psalm\LaravelPlugin\ReturnTypeProvider;
use Psalm\CodeLocation; use Psalm\CodeLocation;
use Psalm\Context; use Psalm\Context;
use Psalm\Internal\MethodIdentifier; use Psalm\Internal\MethodIdentifier;
use Psalm\LaravelPlugin\Util\ApplicationProvider; use Psalm\LaravelPlugin\Providers\ApplicationProvider;
use Psalm\LaravelPlugin\Util\ContainerResolver; use Psalm\LaravelPlugin\Util\ContainerResolver;
use Psalm\Plugin\Hook\FunctionReturnTypeProviderInterface; use Psalm\Plugin\Hook\FunctionReturnTypeProviderInterface;
use Psalm\Plugin\Hook\MethodReturnTypeProviderInterface; use Psalm\Plugin\Hook\MethodReturnTypeProviderInterface;

View File

@ -4,7 +4,7 @@ namespace Psalm\LaravelPlugin\ReturnTypeProvider;
use Psalm\CodeLocation; use Psalm\CodeLocation;
use Psalm\Context; use Psalm\Context;
use Psalm\LaravelPlugin\Util\ApplicationProvider; use Psalm\LaravelPlugin\Providers\ApplicationProvider;
use Psalm\Plugin\Hook\FunctionReturnTypeProviderInterface; use Psalm\Plugin\Hook\FunctionReturnTypeProviderInterface;
use Psalm\Plugin\Hook\MethodReturnTypeProviderInterface; use Psalm\Plugin\Hook\MethodReturnTypeProviderInterface;
use Psalm\StatementsSource; use Psalm\StatementsSource;