Skip to content

Commit

Permalink
Migrate PHPUnit configuration (#4710)
Browse files Browse the repository at this point in the history
Co-authored-by: Gijs de Jong <[email protected]>
  • Loading branch information
gdejong and Gijs de Jong authored Nov 26, 2020
1 parent 6de97e3 commit a183aaf
Showing 1 changed file with 32 additions and 34 deletions.
66 changes: 32 additions & 34 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,43 +11,41 @@
verbose="true"
executionOrder="random"
>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory suffix=".php">src/Psalm/Issue/</directory>
<directory suffix=".php">src/Psalm/Internal/Stubs/</directory>
<directory suffix=".php">src/Psalm/Internal/LanguageServer/</directory>
<directory suffix=".php">src/Psalm/Internal/ExecutionEnvironment/</directory>
<directory suffix=".php">src/Psalm/SourceControl/</directory>
<file>src/command_functions.php</file>
<file>src/psalm.php</file>
<file>src/psalm-language-server.php</file>
<file>src/psalter.php</file>
<file>src/psalm_plugin.php</file>
<file>src/psalm-refactor.php</file>
<file>src/Psalm/Plugin/Shepherd.php</file>
<file>src/Psalm/Internal/CallMap.php</file>
<file>src/Psalm/Internal/Fork/Pool.php</file>
<file>src/Psalm/Internal/Fork/Restarter.php</file>
<file>src/Psalm/Internal/PropertyMap.php</file>
<file>src/Psalm/Internal/Provider/ClassLikeStorageCacheProvider.php</file>
<file>src/Psalm/Internal/Provider/FileReferenceCacheProvider.php</file>
<file>src/Psalm/Internal/Provider/FileStorageCacheProvider.php</file>
<file>src/Psalm/Internal/Provider/ParserCacheProvider.php</file>
</exclude>
<report>
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="build/logs/phpunit-html/"/>
</report>
</coverage>

<testsuites>
<testsuite name="psalm">
<directory>tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
<exclude>
<directory suffix=".php">src/Psalm/Issue/</directory>
<directory suffix=".php">src/Psalm/Internal/Stubs/</directory>
<directory suffix=".php">src/Psalm/Internal/LanguageServer/</directory>
<directory suffix=".php">src/Psalm/Internal/ExecutionEnvironment/</directory>
<directory suffix=".php">src/Psalm/SourceControl/</directory>
<file>src/command_functions.php</file>
<file>src/psalm.php</file>
<file>src/psalm-language-server.php</file>
<file>src/psalter.php</file>
<file>src/psalm_plugin.php</file>
<file>src/psalm-refactor.php</file>
<file>src/Psalm/Plugin/Shepherd.php</file>
<file>src/Psalm/Internal/CallMap.php</file>
<file>src/Psalm/Internal/Fork/Pool.php</file>
<file>src/Psalm/Internal/Fork/Restarter.php</file>
<file>src/Psalm/Internal/PropertyMap.php</file>
<file>src/Psalm/Internal/Provider/ClassLikeStorageCacheProvider.php</file>
<file>src/Psalm/Internal/Provider/FileReferenceCacheProvider.php</file>
<file>src/Psalm/Internal/Provider/FileStorageCacheProvider.php</file>
<file>src/Psalm/Internal/Provider/ParserCacheProvider.php</file>
</exclude>
</whitelist>
</filter>

<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="coverage-html" target="build/logs/phpunit-html/"/>
</logging>
</phpunit>

0 comments on commit a183aaf

Please sign in to comment.