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

Moves Recaptcha to a new Captcha namespace. #18

Merged
merged 1 commit into from
Dec 5, 2020
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
2 changes: 1 addition & 1 deletion src/Recaptcha.php → src/Captcha/Recaptcha.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php


namespace Lukeraymonddowning\Honey;
namespace Lukeraymonddowning\Honey\Captcha;


use Illuminate\Support\Facades\Http;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php


namespace Lukeraymonddowning\Honey;
namespace Lukeraymonddowning\Honey\Captcha;


use ArrayAccess;
Expand Down
2 changes: 1 addition & 1 deletion src/Facades/Honey.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Illuminate\Support\Facades\Facade;
use Lukeraymonddowning\Honey\InputNameSelectors\InputNameSelector;
use Lukeraymonddowning\Honey\Recaptcha;
use Lukeraymonddowning\Honey\Captcha\Recaptcha;

/**
* @method static bool check($data)
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/HoneyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Lukeraymonddowning\Honey\Http\Middleware\CheckRecaptchaToken;
use Lukeraymonddowning\Honey\Http\Middleware\PreventSpam;
use Lukeraymonddowning\Honey\InputNameSelectors\InputNameSelector;
use Lukeraymonddowning\Honey\Recaptcha;
use Lukeraymonddowning\Honey\Captcha\Recaptcha;
use Lukeraymonddowning\Honey\Views\Honey as HoneyComponent;
use Lukeraymonddowning\Honey\Views\Recaptcha as RecaptchaComponent;

Expand Down
2 changes: 1 addition & 1 deletion tests/HooksTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Exception;
use Illuminate\Support\Facades\Http;
use Lukeraymonddowning\Honey\Facades\Honey;
use Lukeraymonddowning\Honey\RecaptchaResponse;
use Lukeraymonddowning\Honey\Captcha\RecaptchaResponse;

class HooksTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/RecaptchaTokenTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Illuminate\Support\Facades\Http;
use Lukeraymonddowning\Honey\Exceptions\RecaptchaFailedException;
use Lukeraymonddowning\Honey\Facades\Honey;
use Lukeraymonddowning\Honey\RecaptchaResponse;
use Lukeraymonddowning\Honey\Captcha\RecaptchaResponse;

class RecaptchaTokenTest extends TestCase
{
Expand Down