Skip to content

Commit

Permalink
imposter plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sadtross committed Jan 26, 2024
1 parent 4511492 commit 285a643
Show file tree
Hide file tree
Showing 11 changed files with 859 additions and 727 deletions.
4 changes: 2 additions & 2 deletions classes/Controllers/RestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace QTEREST\Controllers;

use GuzzleHttp\Client;
use QTEREST\Vendor\GuzzleHttp\Client;
use QTEREST\Uploads\FileHandler;
use QTEREST\Utils\Options;
use QTEREST\Utils\Recaptcha;
Expand All @@ -18,7 +18,7 @@
use function QTEREST\Helpers\maybe_get_notification_email;
use function QTEREST\Helpers\get_translated_string;

use DrewM\MailChimp\MailChimp;
use QTEREST\Vendor\DrewM\MailChimp\MailChimp;

if (!defined('ABSPATH')) {
exit;
Expand Down
4 changes: 2 additions & 2 deletions classes/Export/Exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

namespace QTEREST\Export;

use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
use QTEREST\Vendor\PhpOffice\PhpSpreadsheet\Spreadsheet;
use QTEREST\Vendor\PhpOffice\PhpSpreadsheet\Writer\Xlsx;
use wpdb;

class Exporter {
Expand Down
2 changes: 1 addition & 1 deletion classes/Utils/Recaptcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace QTEREST\Utils;

use GuzzleHttp\ClientInterface;
use QTEREST\Vendor\GuzzleHttp\ClientInterface;

class Recaptcha {

Expand Down
14 changes: 13 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"drewm/mailchimp-api": "^2.5",
"yahnis-elsts/plugin-update-checker": "^4.8",
"phpoffice/phpspreadsheet": "^1.10",
"guzzlehttp/guzzle": "~6.0"
"guzzlehttp/guzzle": "~6.0",
"typisttech/imposter-plugin": "^0.6.2"
},
"require-dev": {
"wp-coding-standards/wpcs": "^2.2",
Expand All @@ -28,5 +29,16 @@
"psr-4": {
"Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"typisttech/imposter-plugin": true
}
},
"extra": {
"imposter": {
"namespace": "QTEREST\\Vendor"
}
}
}
Loading

0 comments on commit 285a643

Please sign in to comment.