Skip to content

Commit

Permalink
Merge branch 'master' of github.com:DarkaOnLine/SwaggerLume
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkaOnLine committed Mar 26, 2020
2 parents 6efb744 + 704340b commit f519147
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/Console/GenerateDocsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace SwaggerLume\Console;

use SwaggerLume\Generator;
use Illuminate\Console\Command;
use SwaggerLume\Generator;

class GenerateDocsCommand extends Command
{
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Controllers/SwaggerLumeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace SwaggerLume\Http\Controllers;

use SwaggerLume\Generator;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Request;
use Laravel\Lumen\Routing\Controller as BaseController;
use SwaggerLume\Generator;

class SwaggerLumeController extends BaseController
{
Expand Down
6 changes: 3 additions & 3 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace SwaggerLume;

use SwaggerLume\Console\PublishCommand;
use Illuminate\Support\ServiceProvider as BaseProvider;
use SwaggerLume\Console\GenerateDocsCommand;
use SwaggerLume\Console\PublishViewsCommand;
use SwaggerLume\Console\PublishCommand;
use SwaggerLume\Console\PublishConfigCommand;
use Illuminate\Support\ServiceProvider as BaseProvider;
use SwaggerLume\Console\PublishViewsCommand;

class ServiceProvider extends BaseProvider
{
Expand Down
2 changes: 1 addition & 1 deletion tests/CommandsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class CommandsTest extends LumenTestCase
{
public function setUp() :void
public function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/ConsoleKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Tests;

use Laravel\Lumen\Console\Kernel;
use Illuminate\Console\Scheduling\Schedule;
use Laravel\Lumen\Console\Kernel;

class ConsoleKernel extends Kernel
{
Expand Down
6 changes: 3 additions & 3 deletions tests/ExceptionsHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace Tests;

use Throwable;
use Laravel\Lumen\Exceptions\Handler;
use Illuminate\Validation\ValidationException;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Validation\ValidationException;
use Laravel\Lumen\Exceptions\Handler;
use Symfony\Component\HttpKernel\Exception\HttpException;
use Throwable;

class ExceptionsHandler extends Handler
{
Expand Down
6 changes: 3 additions & 3 deletions tests/LumenTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Tests;

use Laravel\Lumen\Application;
use Laravel\Lumen\Testing\TestCase;
use Illuminate\Contracts\Console\Kernel;
use Illuminate\Contracts\Debug\ExceptionHandler;
use Laravel\Lumen\Application;
use Laravel\Lumen\Testing\TestCase;
use SwaggerLume\ServiceProvider as SwaggerLumeServiceProvider;

class LumenTestCase extends TestCase
Expand All @@ -18,7 +18,7 @@ class LumenTestCase extends TestCase

public $docs_url = 'http://localhost/docs';

public function tearDown() :void
public function tearDown(): void
{
if (file_exists($this->jsonDocsFile())) {
unlink($this->jsonDocsFile());
Expand Down

0 comments on commit f519147

Please sign in to comment.