Skip to content
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
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"appsero/client": "^v2.0.4",
"wedevs/wp-kit": "dev-main"

"php": ">=7.4"
},
"repositories": [
{
Expand All @@ -29,6 +27,8 @@
}
},
"require-dev": {
"appsero/client": "^v2.0.4",
"wedevs/wp-kit": "dev-main",
"tareq1988/wp-php-cs-fixer": "dev-master",
"wp-coding-standards/wpcs": "dev-develop",
"phpcompatibility/php-compatibility": "*",
Expand Down Expand Up @@ -65,7 +65,8 @@
"classmap_prefix": "Texty_",
"packages": [
"appsero/updater",
"appsero/client"
"appsero/client",
"wedevs/wp-kit"
],
"excluded_packages": [
"psr/container"
Expand Down
137 changes: 69 additions & 68 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion includes/Api/Logs.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
namespace Texty\Api;

use Texty\Models\SmsStat;
use WeDevs\WPKit\DataLayer\DataLayerFactory;
use Texty\Dependencies\WeDevs\WPKit\DataLayer\DataLayerFactory;
use WP_Error;
use WP_REST_Request;
use WP_REST_Response;
Expand Down
2 changes: 1 addition & 1 deletion includes/Api/Metrics.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Exception;
use Texty\Models\SmsStat;
use Texty\Models\SmsStatStore;
use WeDevs\WPKit\DataLayer\DataLayerFactory;
use Texty\Dependencies\WeDevs\WPKit\DataLayer\DataLayerFactory;
use WP_Error;
use WP_REST_Request;
use WP_REST_Response;
Expand Down
4 changes: 2 additions & 2 deletions includes/Api/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
namespace Texty\Api;

use Texty\Gateways\GatewayInterface;
use WeDevs\WPKit\Settings\BaseSettingsRESTController;
use Texty\Dependencies\WeDevs\WPKit\Settings\BaseSettingsRESTController;
use WP_Error;
use WP_REST_Request;
use WP_REST_Response;
Expand Down Expand Up @@ -318,7 +318,7 @@ private function validate_gateway_credentials( string $gateway_key, array $creds
/**
* The key the frontend uses for a field's value.
*
* plugin-ui's SettingsProvider keys its flat values map by the raw field
* The plugin-ui SettingsProvider keys its flat values map by the raw field
* element `id` (see `collectKeys` in settings-context), so field ids must
* be globally unique — hence the `<gateway>_<field>` naming in the schema.
*
Expand Down
2 changes: 1 addition & 1 deletion includes/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Texty\Integrations\Dokan;
use Texty\Integrations\WooCommerce;
use Texty\Models\SmsStat;
use WeDevs\WPKit\DataLayer\DataLayerFactory;
use Texty\Dependencies\WeDevs\WPKit\DataLayer\DataLayerFactory;
use Texty\Gateways\GatewayInterface;

/**
Expand Down
2 changes: 1 addition & 1 deletion includes/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Texty\Models\SmsStat;
use Texty\Models\SmsStatStore;
use WeDevs\WPKit\DataLayer\DataLayerFactory;
use Texty\Dependencies\WeDevs\WPKit\DataLayer\DataLayerFactory;

/**
* Installer Class
Expand Down
8 changes: 4 additions & 4 deletions includes/Migrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
use Texty\Migrations\NoticeProvider;
use Texty\Migrations\TextyMigration;
use Texty\Migrations\V_2_0_0;
use WeDevs\WPKit\Migration\MigrationHooks;
use WeDevs\WPKit\Migration\MigrationManager;
use WeDevs\WPKit\Migration\MigrationRegistry;
use WeDevs\WPKit\Migration\MigrationRESTController;
use Texty\Dependencies\WeDevs\WPKit\Migration\MigrationHooks;
use Texty\Dependencies\WeDevs\WPKit\Migration\MigrationManager;
use Texty\Dependencies\WeDevs\WPKit\Migration\MigrationRegistry;
use Texty\Dependencies\WeDevs\WPKit\Migration\MigrationRESTController;

defined( 'ABSPATH' ) || exit;

Expand Down
4 changes: 2 additions & 2 deletions includes/Migrations/NoticeProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
namespace Texty\Migrations;

use Throwable;
use WeDevs\WPKit\AdminNotification\Contracts\NoticeProviderInterface;
use WeDevs\WPKit\AdminNotification\Notice;
use Texty\Dependencies\WeDevs\WPKit\AdminNotification\Contracts\NoticeProviderInterface;
use Texty\Dependencies\WeDevs\WPKit\AdminNotification\Notice;

defined( 'ABSPATH' ) || exit;

Expand Down
2 changes: 1 addition & 1 deletion includes/Migrations/TextyMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Texty\Migrations;

use WeDevs\WPKit\Migration\BaseMigration;
use Texty\Dependencies\WeDevs\WPKit\Migration\BaseMigration;

defined( 'ABSPATH' ) || exit;

Expand Down
4 changes: 2 additions & 2 deletions includes/Models/SmsStat.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Texty\Models;

use WeDevs\WPKit\DataLayer\Model\BaseModel;
use WeDevs\WPKit\DataLayer\DataLayerFactory;
use Texty\Dependencies\WeDevs\WPKit\DataLayer\Model\BaseModel;
use Texty\Dependencies\WeDevs\WPKit\DataLayer\DataLayerFactory;

/**
* SMS Statistics Model
Expand Down
2 changes: 1 addition & 1 deletion includes/Models/SmsStatStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Texty\Models;

use WeDevs\WPKit\DataLayer\DataStore\BaseDataStore;
use Texty\Dependencies\WeDevs\WPKit\DataLayer\DataStore\BaseDataStore;

/**
* SMS Statistics DataStore
Expand Down
6 changes: 3 additions & 3 deletions includes/Notices.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

namespace Texty;

use WeDevs\WPKit\AdminNotification\Contracts\NoticeProviderInterface;
use WeDevs\WPKit\AdminNotification\NoticeManager;
use WeDevs\WPKit\AdminNotification\NoticeRESTController;
use Texty\Dependencies\WeDevs\WPKit\AdminNotification\Contracts\NoticeProviderInterface;
use Texty\Dependencies\WeDevs\WPKit\AdminNotification\NoticeManager;
use Texty\Dependencies\WeDevs\WPKit\AdminNotification\NoticeRESTController;

defined( 'ABSPATH' ) || exit;

Expand Down
2 changes: 1 addition & 1 deletion texty.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

require __DIR__ . '/vendor/autoload.php';

use WeDevs\WPKit\DataLayer\DataLayerFactory;
use Texty\Dependencies\WeDevs\WPKit\DataLayer\DataLayerFactory;

/**
* Texty Class
Expand Down
Loading