Skip to content

Commit 3fc5bf2

Browse files
committed
refact(code): remove define ABSPATH
1 parent 2ba1413 commit 3fc5bf2

22 files changed

+0
-39
lines changed

includes/Api/BotCatLineAuthApi.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
use JsonException;
1313

1414

15-
defined( 'ABSPATH' ) || exit;
16-
1715
class BotCatLineAuthApi {
1816
private BotCatAuthService $botCatBasicAuthService;
1917

includes/Api/BotCatLineNotifyAuthApi.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
use JsonException;
1313

1414

15-
defined( 'ABSPATH' ) || exit;
16-
1715
class BotCatLineNotifyAuthApi {
1816
private BotCatAuthService $botCatBasicAuthService;
1917

includes/Api/BotCatMessageApi.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
use JsonException;
1313

1414

15-
defined( 'ABSPATH' ) || exit;
16-
1715
class BotCatMessageApi {
1816
private BotCatAuthService $botCatBasicAuthService;
1917

includes/Api/BotCatTelegramAuthApi.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
use JsonException;
1313

1414

15-
defined( 'ABSPATH' ) || exit;
16-
1715
class BotCatTelegramAuthApi {
1816
private BotCatAuthService $botCatBasicAuthService;
1917

includes/BotCatConstants.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
defined( 'ABSPATH' ) || exit;
4-
53
define( 'BOT_CAT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
64

75
const BOT_CAT_OFFICIAL_URL = 'https://bot-cat.com/';

includes/BotCatInitializer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
use BotCat\View\Admin\BotCatTelegramAdminView;
2222
use BotCat\View\BotCatProfileView;
2323

24-
defined( 'ABSPATH' ) || exit;
2524

2625
class BotCatInitializer {
2726

includes/Service/Api/BotCatLineNotifyService.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
namespace BotCat\Service\Api;
77

88

9-
defined( 'ABSPATH' ) || exit;
10-
119
class BotCatLineNotifyService {
1210

1311
private string $notify_url;

includes/Service/Api/BotCatLineService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
use JsonException;
1212

13-
defined( 'ABSPATH' ) || exit;
1413

1514
class BotCatLineService {
1615

includes/Service/Api/BotCatSlackService.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
use JsonException;
1212

13-
defined( 'ABSPATH' ) || exit;
14-
1513

1614
class BotCatSlackService {
1715

includes/Service/Api/BotCatTelegramService.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
namespace BotCat\Service\Api;
99

1010

11-
defined( 'ABSPATH' ) || exit;
12-
1311
class BotCatTelegramService {
1412

1513
private string $bot_api_url;

0 commit comments

Comments
 (0)