Skip to content

Commit

Permalink
Merge pull request #18 from lukeraymonddowning/captcha
Browse files Browse the repository at this point in the history
Moves Recaptcha to a new Captcha namespace.
  • Loading branch information
lukeraymonddowning authored Dec 5, 2020
2 parents ffa2548 + 7196f8f commit 9eee0fc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
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

0 comments on commit 9eee0fc

Please sign in to comment.