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

Apply fixes from StyleCI #14

Merged
merged 1 commit into from
Mar 6, 2024
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
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
Loading