for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SimpleSAML\Module\monitor\TestSuite\Store;
use \SimpleSAML\Module\monitor\State as State;
use \SimpleSAML\Module\monitor\TestConfiguration as TestConfiguration;
use \SimpleSAML\Module\monitor\TestCase as TestCase;
use \SimpleSAML\Module\monitor\TestData as TestData;
use \SimpleSAML\Module\monitor\TestResult as TestResult;
use \SimpleSAML\Module\monitor\TestSuite\Store as Store;
final class Files extends \SimpleSAML\Module\monitor\TestSuiteFactory
{
/**
* @param TestConfiguration $configuration
*/
public function __construct($configuration)
$this->setCategory('PHP sessions');
parent::__construct($configuration);
}
* @return void
public function invokeTest()
$input = [
'path' => session_save_path(),
'category' => 'Session storage'
];
$testData = new TestData($input);
$test = new TestCase\FileSystem\FreeSpace($testData);
$testResult = $test->getTestResult();
$this->addTestResult($testResult);
$this->setTestResult($testResult);