mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-08 13:28:39 +00:00
build fixes
This commit is contained in:
parent
2a288de983
commit
4a7de293ff
|
|
@ -105,13 +105,17 @@ final class Prime
|
||||||
}
|
}
|
||||||
|
|
||||||
for ($j = 1; $j < $s; ++$j) {
|
for ($j = 1; $j < $s; ++$j) {
|
||||||
|
if ($x === null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$mul = \bcmul($x, $x);
|
$mul = \bcmul($x, $x);
|
||||||
/*if ($mul === null) {
|
/*if ($mul === null) {
|
||||||
return false;
|
return false;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
$x = \bcmod($mul, (string) $n);
|
$x = \bcmod($mul, (string) $n);
|
||||||
if ($x == 1) {
|
if ($x == 1 || $x === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,16 +44,6 @@ final class ConsoleHeader extends HeaderAbstract
|
||||||
*/
|
*/
|
||||||
private array $header = [];
|
private array $header = [];
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor.
|
|
||||||
*
|
|
||||||
* @since 1.0.0
|
|
||||||
*/
|
|
||||||
public function __construct()
|
|
||||||
{
|
|
||||||
parent::__construct();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set header.
|
* Set header.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -241,6 +241,10 @@ class MailHandlerTest extends \PHPUnit\Framework\TestCase
|
||||||
self::markTestSkipped();
|
self::markTestSkipped();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var_dump($sendmailPath);
|
||||||
|
var_dump($this->handler->mailerTool);
|
||||||
|
var_dump(OperatingSystem::getSystem());
|
||||||
|
|
||||||
$mail = new Email();
|
$mail = new Email();
|
||||||
$mail->setFrom('test1@orange-management.email', 'Dennis Eichhorn');
|
$mail->setFrom('test1@orange-management.email', 'Dennis Eichhorn');
|
||||||
$mail->addTo('test@orange-management.email', 'Dennis Eichhorn');
|
$mail->addTo('test@orange-management.email', 'Dennis Eichhorn');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user