Skip to content
Draft
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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"jangregor/phpstan-prophecy": "^1.0.0",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/extension-installer": "^1.1.0",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.5.25",
"squizlabs/php_codesniffer": "^3.7"
},
Expand Down
2 changes: 1 addition & 1 deletion src/account.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use DBA\Factory;
use DBA\APiKey;
use DBA\ApiKey;
use DBA\QueryFilter;

require_once(dirname(__FILE__) . "/inc/load.php");
Expand Down
2 changes: 1 addition & 1 deletion src/api.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use DBA\APiKey;
use DBA\ApiKey;
use DBA\QueryFilter;
use DBA\Factory;
use DBA\User;
Expand Down
2 changes: 1 addition & 1 deletion src/inc/Util.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ public static function sendMail($address, $subject, $text, $plaintext) {
$boundary = uniqid('np');

$headers = "MIME-Version: 1.0\r\n";
$headers .= "From: " . SConfig::getInstance()->getVal(Dconfig::EMAIL_SENDER_NAME) . " <" . SConfig::getInstance()->getVal(DConfig::EMAIL_SENDER) . ">\r\n";
$headers .= "From: " . SConfig::getInstance()->getVal(DConfig::EMAIL_SENDER_NAME) . " <" . SConfig::getInstance()->getVal(DConfig::EMAIL_SENDER) . ">\r\n";
$headers .= "Content-Type: multipart/alternative;boundary=" . $boundary . "\r\n";

$plainMessage = "\r\n\r\n--" . $boundary . "\r\n";
Expand Down
2 changes: 1 addition & 1 deletion src/inc/defines/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public static function getConfigType($config) {
return DConfigType::STRING_INPUT;
case DConfig::BASE_URL:
return DConfigType::STRING_INPUT;
case Dconfig::DISP_TOLERANCE:
case DConfig::DISP_TOLERANCE:
return DConfigType::NUMBER_INPUT;
case DConfig::BATCH_SIZE:
return DConfigType::NUMBER_INPUT;
Expand Down
4 changes: 2 additions & 2 deletions src/inc/user-api/UserAPIPretask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function execute($QUERY = array()) {
case USectionPretask::SET_PRETASK_MAX_AGENTS:
$this->setPretaskMaxAgents($QUERY);
break;
case USectionpretask::SET_PRETASK_NAME:
case USectionPretask::SET_PRETASK_NAME:
$this->setPretaskName($QUERY);
break;
case USectionPretask::SET_PRETASK_COLOR:
Expand All @@ -34,7 +34,7 @@ public function execute($QUERY = array()) {
case USectionPretask::SET_PRETASK_SMALL:
$this->setPretaskSmall($QUERY);
break;
case USectionpretask::DELETE_PRETASK:
case USectionPretask::DELETE_PRETASK:
$this->deletePretask($QUERY);
break;
default:
Expand Down