Skip to content

Commit

Permalink
Prevent case sensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
sangnguyenplus committed Sep 21, 2024
1 parent 3d7a541 commit fcb62c8
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions plugin.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"id": "friendsofbotble/fob-abuse-ip",
"name": "Abuse IP",
"namespace": "FriendsOfBotble\\AbuseIp\\",
"provider": "FriendsOfBotble\\AbuseIp\\Providers\\AbuseIpServiceProvider",
"namespace": "FriendsOfBotble\\AbuseIP\\",
"provider": "FriendsOfBotble\\AbuseIP\\Providers\\AbuseIPServiceProvider",
"author": "FriendsOfBotble",
"url": "https://friendsofbotble.com",
"version": "1.0.0",
"version": "1.0.1",
"description": "Block Known Spam IPs",
"minimum_core_version": "7.2.0"
}
2 changes: 1 addition & 1 deletion resources/data/abuse-ip.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use Botble\Base\Facades\AdminHelper;
use FriendsOfBotble\AbuseIp\Http\Controllers\Settings\AbuseIPSettingController;
use FriendsOfBotble\AbuseIP\Http\Controllers\Settings\AbuseIPSettingController;
use Illuminate\Support\Facades\Route;

AdminHelper::registerRoutes(function () {
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/UpdateAbuseIps.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace FriendsOfBotble\AbuseIp\Commands;
namespace FriendsOfBotble\AbuseIP\Commands;

use Illuminate\Console\Command;
use Illuminate\Database\QueryException;
Expand Down
4 changes: 2 additions & 2 deletions src/Forms/Settings/AbuseIPSettingForm.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace FriendsOfBotble\AbuseIp\Forms\Settings;
namespace FriendsOfBotble\AbuseIP\Forms\Settings;

use Botble\Base\Facades\Assets;
use Botble\Base\Forms\FieldOptions\OnOffFieldOption;
use Botble\Base\Forms\FieldOptions\TextareaFieldOption;
use Botble\Base\Forms\Fields\OnOffCheckboxField;
use Botble\Base\Forms\Fields\TextareaField;
use Botble\Setting\Forms\SettingForm;
use FriendsOfBotble\AbuseIp\Http\Requests\Settings\AbuseIPSettingRequest;
use FriendsOfBotble\AbuseIP\Http\Requests\Settings\AbuseIPSettingRequest;

class AbuseIPSettingForm extends SettingForm
{
Expand Down
6 changes: 3 additions & 3 deletions src/Http/Controllers/Settings/AbuseIPSettingController.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace FriendsOfBotble\AbuseIp\Http\Controllers\Settings;
namespace FriendsOfBotble\AbuseIP\Http\Controllers\Settings;

use Botble\Base\Http\Responses\BaseHttpResponse;
use Botble\Setting\Http\Controllers\SettingController;
use FriendsOfBotble\AbuseIp\Forms\Settings\AbuseIPSettingForm;
use FriendsOfBotble\AbuseIp\Http\Requests\Settings\AbuseIPSettingRequest;
use FriendsOfBotble\AbuseIP\Forms\Settings\AbuseIPSettingForm;
use FriendsOfBotble\AbuseIP\Http\Requests\Settings\AbuseIPSettingRequest;

class AbuseIPSettingController extends SettingController
{
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Middleware/AbuseIP.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace FriendsOfBotble\AbuseIp\Http\Middleware;
namespace FriendsOfBotble\AbuseIP\Http\Middleware;

use Botble\Base\Facades\AdminHelper;
use Closure;
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Requests/Settings/AbuseIPSettingRequest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace FriendsOfBotble\AbuseIp\Http\Requests\Settings;
namespace FriendsOfBotble\AbuseIP\Http\Requests\Settings;

use Botble\Base\Rules\OnOffRule;
use Botble\Support\Http\Requests\Request;
Expand Down
2 changes: 1 addition & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace FriendsOfBotble\AbuseIp;
namespace FriendsOfBotble\AbuseIP;

use Botble\PluginManagement\Abstracts\PluginOperationAbstract;
use Botble\Setting\Facades\Setting;
Expand Down
6 changes: 3 additions & 3 deletions src/Providers/AbuseIPServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace FriendsOfBotble\AbuseIp\Providers;
namespace FriendsOfBotble\AbuseIP\Providers;

use Botble\Base\Facades\PanelSectionManager;
use Botble\Base\PanelSections\PanelSectionItem;
use Botble\Base\Supports\ServiceProvider;
use Botble\Base\Traits\LoadAndPublishDataTrait;
use Botble\Setting\PanelSections\SettingOthersPanelSection;
use FriendsOfBotble\AbuseIp\Commands\UpdateAbuseIps;
use FriendsOfBotble\AbuseIp\Http\Middleware\AbuseIP;
use FriendsOfBotble\AbuseIP\Commands\UpdateAbuseIps;
use FriendsOfBotble\AbuseIP\Http\Middleware\AbuseIP;

class AbuseIPServiceProvider extends ServiceProvider
{
Expand Down

0 comments on commit fcb62c8

Please sign in to comment.