1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 15:14:03 +00:00

try to exclude Vite.php from coverage report

This commit is contained in:
Samuel Štancl 2022-09-28 18:43:39 +02:00
parent 596c47329a
commit a2c53b58ba
2 changed files with 3 additions and 2 deletions

View file

@ -18,6 +18,7 @@
<directory suffix=".php">./src</directory> <directory suffix=".php">./src</directory>
<exclude> <exclude>
<file>./src/routes.php</file> <file>./src/routes.php</file>
<file>./src/Vite.php</file>
</exclude> </exclude>
</whitelist> </whitelist>
</filter> </filter>
@ -35,4 +36,4 @@
<log type="coverage-clover" target="coverage/phpunit/clover.xml" showUncoveredFiles="true"/> <log type="coverage-clover" target="coverage/phpunit/clover.xml" showUncoveredFiles="true"/>
<log type="coverage-html" target="coverage/phpunit/html" lowUpperBound="35" highLowerBound="70"/> <log type="coverage-html" target="coverage/phpunit/html" lowUpperBound="35" highLowerBound="70"/>
</logging> </logging>
</phpunit> </phpunit>

View file

@ -4,7 +4,7 @@ namespace Stancl\Tenancy;
use Illuminate\Foundation\Vite as BaseVite; use Illuminate\Foundation\Vite as BaseVite;
class Vite extends BaseVite class Vite extends BaseVite // todo move to a different directory in v4
{ {
/** /**
* Generate an asset path for the application. * Generate an asset path for the application.