mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
40c54eb1f4
* [PHPUnit] Migrate phpunit.xml configuration with --migrate-configuration * 4 spaces and indent
38 lines
1.6 KiB
XML
38 lines
1.6 KiB
XML
<?xml version="1.0"?>
|
|
<phpunit
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
|
|
bootstrap="tests/bootstrap.php"
|
|
colors="true"
|
|
>
|
|
<coverage includeUncoveredFiles="true" processUncoveredFiles="true">
|
|
<include>
|
|
<directory suffix=".php">./packages</directory>
|
|
<directory suffix=".php">./rules</directory>
|
|
<directory suffix=".php">./src</directory>
|
|
<directory suffix=".php">./utils</directory>
|
|
</include>
|
|
<exclude>
|
|
<directory suffix=".php">./packages/*/tests</directory>
|
|
<directory suffix=".php">./rules/*/tests</directory>
|
|
<directory suffix=".php">./packages/rector-generator/templates</directory>
|
|
<directory suffix=".php">./utils/*/tests</directory>
|
|
</exclude>
|
|
</coverage>
|
|
<php>
|
|
<const name="RECTOR_REPOSITORY" value="true"/>
|
|
<env name="XDEBUG_MODE" value="coverage"/>
|
|
</php>
|
|
<testsuites>
|
|
<testsuite name="main">
|
|
<directory>rules/*/tests</directory>
|
|
<directory>packages/*/tests</directory>
|
|
<directory>tests</directory>
|
|
<directory>utils/*/tests</directory>
|
|
<exclude>packages/rector-generator/templates/*</exclude>
|
|
<exclude>packages/rector-generator/tests/RectorGenerator/Fixture/expected</exclude>
|
|
<exclude>rules/nette-tester-to-phpunit/tests/Rector/RenameTesterTestToPHPUnitToTestFileRector/Source/*</exclude>
|
|
</testsuite>
|
|
</testsuites>
|
|
</phpunit>
|