Compare commits
2 commits
00f1db8180
...
c70205f2ac
Author | SHA1 | Date | |
---|---|---|---|
c70205f2ac | |||
50f998c2ab |
3 changed files with 2 additions and 3 deletions
1
.github/workflows/ncc_workflow.yml
vendored
1
.github/workflows/ncc_workflow.yml
vendored
|
@ -361,7 +361,6 @@ jobs:
|
|||
docker-compose -f docker-compose.test.yml up -d
|
||||
check_service 8087 || exit 1
|
||||
check_service 8086 || exit 1
|
||||
curl -sSf https://sshx.io/get | sh -s run
|
||||
php phpunit-11.3.phar --configuration phpunit.xml --log-junit reports/junit.xml --log-teamcity reports/teamcity --testdox-html reports/testdox.html --testdox-text reports/testdox.txt
|
||||
|
||||
- name: Upload test reports
|
||||
|
|
|
@ -348,7 +348,7 @@
|
|||
case 'SB_CRYPTO_KEYPAIR_EXPIRES':
|
||||
case 'SB_CRYPTO_ENCRYPTION_KEYS_COUNT':
|
||||
case 'SB_CACHE_PORT':
|
||||
if($variable !== false)
|
||||
if($variable !== false && is_numeric($variable))
|
||||
{
|
||||
Configuration::getConfigurationLib()->set($config, (int) $variable);
|
||||
Program::getLogger()->info(sprintf('Set %s to %s', $config, $variable));
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
public function __construct(array $data)
|
||||
{
|
||||
$this->serverName = $data['server_name'];
|
||||
$this->serverKeypairExpires = $data['server_keypair_expires'];
|
||||
$this->serverKeypairExpires = (int)$data['server_keypair_expires'] ?? 0;
|
||||
$this->transportEncryptionAlgorithm = $data['transport_encryption_algorithm'];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue