Skip to content

Commit

Permalink
Merge pull request #14 from Laragear/analysis-6V51Ql
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
DarkGhostHunter authored Mar 6, 2024
2 parents cb6f9c8 + 36aa329 commit 2e64ad3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/Blade/Components/Script.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Illuminate\Contracts\View\View;
use Illuminate\View\Component;

use function config;
use function url;
use function view;
Expand Down
1 change: 1 addition & 0 deletions src/Http/Middleware/InjectScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Illuminate\Support\Facades\Blade;
use Laragear\Poke\Blade\Components\Script;
use Symfony\Component\HttpFoundation\Response;

use function csrf_field;
use function strpos;
use function substr_replace;
Expand Down
3 changes: 2 additions & 1 deletion tests/Http/Controllers/PokeControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

namespace Tests\Http\Controllers;

use function now;
use Symfony\Component\HttpFoundation\Cookie;
use Tests\TestCase;

use function now;

class PokeControllerTest extends TestCase
{
public function test_sets_xsrf_token(): void
Expand Down
1 change: 1 addition & 0 deletions tests/Http/Middleware/DefinesWebRoutes.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Illuminate\Routing\Route;
use Illuminate\Support\Facades\Blade;

use function redirect;
use function response;

Expand Down
3 changes: 2 additions & 1 deletion tests/Http/Middleware/InjectScriptAutoModeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

namespace Tests\Http\Middleware;

use function substr_count;
use Tests\TestCase;

use function substr_count;

class InjectScriptAutoModeTest extends TestCase
{
use DefinesWebRoutes;
Expand Down
3 changes: 2 additions & 1 deletion tests/Http/Middleware/InjectScriptMiddlewareModeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

namespace Tests\Http\Middleware;

use function substr_count;
use Tests\TestCase;

use function substr_count;

class InjectScriptMiddlewareModeTest extends TestCase
{
use DefinesWebRoutes;
Expand Down

0 comments on commit 2e64ad3

Please sign in to comment.