build fixes

This commit is contained in:
Dennis Eichhorn 2021-10-15 00:03:20 +02:00
parent 2a288de983
commit 4a7de293ff
3 changed files with 9 additions and 11 deletions

View File

@ -105,13 +105,17 @@ final class Prime
}
for ($j = 1; $j < $s; ++$j) {
if ($x === null) {
return false;
}
$mul = \bcmul($x, $x);
/*if ($mul === null) {
return false;
}*/
$x = \bcmod($mul, (string) $n);
if ($x == 1) {
if ($x == 1 || $x === null) {
return false;
}

View File

@ -44,16 +44,6 @@ final class ConsoleHeader extends HeaderAbstract
*/
private array $header = [];
/**
* Constructor.
*
* @since 1.0.0
*/
public function __construct()
{
parent::__construct();
}
/**
* Set header.
*

View File

@ -241,6 +241,10 @@ class MailHandlerTest extends \PHPUnit\Framework\TestCase
self::markTestSkipped();
}
var_dump($sendmailPath);
var_dump($this->handler->mailerTool);
var_dump(OperatingSystem::getSystem());
$mail = new Email();
$mail->setFrom('test1@orange-management.email', 'Dennis Eichhorn');
$mail->addTo('test@orange-management.email', 'Dennis Eichhorn');