for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace SimpleSAML\Module\monitor\TestCase\Cert;
use SimpleSAML\Module\monitor\TestData;
use function openssl_x509_parse;
class Data extends \SimpleSAML\Module\monitor\TestCase\Cert
{
/**
* @param \SimpleSAML\Module\monitor\TestData $testData
*/
public function __construct(TestData $testData)
$certData = $testData->getInputItem('certData');
$certData = openssl_x509_parse($certData) ?: [];
$testData->setInput($certData, 'certData');
parent::__construct($testData);
}