put runtime-generated data into data/

This commit is contained in:
Shish 2023-12-31 17:42:04 +00:00
parent d4516fd6bf
commit 6df0f4f307
3 changed files with 10 additions and 3 deletions

View file

@ -14,4 +14,5 @@ return $_phpcs_config->setRules([
'array_syntax' => ['syntax' => 'short'],
])
->setFinder($_phpcs_finder)
;
->setCacheFile("data/php-cs-fixer.cache")
;

View file

@ -52,7 +52,7 @@ if(class_exists("\\PHPUnit\\Framework\\TestCase")) {
$_tracer->end(); # test
$_tracer->end(); # $this->getName()
$_tracer->clear();
$_tracer->flush("tests/trace.json");
$_tracer->flush("data/test-trace.json");
}
public static function tearDownAfterClass(): void

View file

@ -1,5 +1,11 @@
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="../tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd">
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="../tests/bootstrap.php"
colors="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
cacheResultFile="../data/phpunit.cache"
>
<coverage/>
<testsuites>
<testsuite name="core">