Initial commit

This commit is contained in:
2023-04-08 09:18:52 +02:00
commit 40e6fa63e5
34 changed files with 1060 additions and 0 deletions

30
phpunit.xml.dist Normal file
View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
failOnWarning="true"
failOnRisky="true"
stopOnFailure="false"
bootstrap="tests/bootstrap.php"
>
<coverage>
<include>
<directory>./src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="CQRS">
<directory suffix="Test.php">./tests/</directory>
</testsuite>
</testsuites>
<php>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0" />
</php>
<extensions>
<!-- @see https://tomasvotruba.com/blog/2019/03/28/how-to-mock-final-classes-in-phpunit/ -->
<extension class="Scc\PhpUnit\Hook\BypassFinalHook"/>
</extensions>
</phpunit>