Skip to content

Commit d8e10af

Browse files
authored
Merge branch '1.x' into use-flow-test-case
2 parents a6201cb + 02d23ea commit d8e10af

File tree

4 files changed

+15
-16
lines changed

4 files changed

+15
-16
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
- [#1244](https://github.com/flow-php/flow/pull/1244) - **Added CLI command to read schema from a file** - [@norberttech](https://github.com/norberttech)
3434

3535
### Changed
36+
- [#1302](https://github.com/flow-php/flow/pull/1302) - **Updated infection configuration to focus it at core only** - [@norberttech](https://github.com/norberttech)
3637
- [2072d8](https://github.com/flow-php/flow/commit/2072d8d620aaf0ae013d005455c9306f9a529d0c) - **Renamed output files of phpunit coverage report and junit report for codecov** - [@norberttech](https://github.com/norberttech)
3738
- [#1300](https://github.com/flow-php/flow/pull/1300) - **Moved coverage and phpunit logs to standalone files** - [@norberttech](https://github.com/norberttech)
3839
- [#1300](https://github.com/flow-php/flow/pull/1300) - **upload to codecov only from one php and deps version** - [@norberttech](https://github.com/norberttech)

infection.json

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
"source": {
33
"directories": [
44
"src/core/etl/src",
5-
"src/adapter/*/src",
6-
"src/bridge/filesystem/*/src",
7-
"src/bridge/monolog/*/src",
8-
"src/bridge/symfony/*/src",
9-
"src/lib/*/src"
5+
"src/lib/array-dot/src",
6+
"src/lib/doctrine-dbal-bulk/src",
7+
"src/lib/filesystem/src",
8+
"src/lib/parquet/src",
9+
"src/lib/rdsl/src"
1010
]
1111
},
1212
"logs": {
1313
"text": "./var/infection/infection.log",
14+
"html": "./var/infection/infection.html",
1415
"summary": "./var/infection/infection_summary.log",
1516
"debug": "./var/infection/infection_summary.log",
1617
"stryker": {
@@ -48,11 +49,6 @@
4849
"Flow\\Doctrine\\Bulk\\BulkData::toSqlParameters"
4950
]
5051
},
51-
"MethodCallRemoval": {
52-
"ignore": [
53-
"Flow\\ETL\\Adapter\\Logger\\Logger\\DumpLogger::log"
54-
]
55-
},
5652
"Identical": {
5753
"ignore": [
5854
"Flow\\Doctrine\\Bulk\\DbalPlatform"
@@ -69,7 +65,7 @@
6965
"customPath": "tools/phpunit/vendor/bin/phpunit"
7066
},
7167
"tmpDir": "var/infection/cache",
72-
"testFrameworkOptions": "--testsuite=unit",
68+
"testFrameworkOptions": "--testsuite=infection",
7369
"minMsi": 29,
7470
"minCoveredMsi": 75
7571
}

phpunit.xml.dist

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,14 @@
164164
<testsuite name="adapter-xml-integration">
165165
<directory>src/adapter/etl-adapter-xml/tests/Flow/ETL/Adapter/XML/Tests/Integration</directory>
166166
</testsuite>
167-
<testsuite name="unit">
168-
<directory>src/adapter/**/**/**/**/**/**/Tests/Unit</directory>
169-
<directory>src/bridge/**/**/**/**/**/**/**/Tests/Unit</directory>
167+
<testsuite name="infection">
170168
<directory>src/core/etl/tests/Flow/ETL/Tests/Unit</directory>
171-
<directory>src/lib/**/**/**/**/Tests/Unit</directory>
169+
<directory>src/lib/array-dot/tests/Flow/ArrayDot/Tests/Unit</directory>
170+
<directory>src/lib/doctrine-dbal-bulk/tests/Flow/Doctrine/Bulk/Tests/Unit</directory>
172171
<directory>src/lib/doctrine-dbal-bulk/tests/Flow/Doctrine/Bulk/Tests/Unit</directory>
172+
<directory>src/lib/filesystem/tests/Flow/Filesystem/Tests/Unit</directory>
173+
<directory>src/lib/parquet/tests/Flow/Parquet/Tests/Unit</directory>
174+
<directory>src/lib/rdsl/tests/Flow/RDSL/Tests/Unit</directory>
173175
</testsuite>
174176
</testsuites>
175177
<source>

src/adapter/etl-adapter-elasticsearch/tests/Flow/ETL/Adapter/Elasticsearch/Tests/Unit/EntryIdFactory/HashIdFactoryTest.php renamed to src/adapter/etl-adapter-elasticsearch/tests/Flow/ETL/Adapter/Elasticsearch/Tests/Unit/HashIdFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Flow\ETL\Adapter\Elasticsearch\Tests\Unit\EntryIdFactory;
5+
namespace Flow\ETL\Adapter\Elasticsearch\Tests\Unit;
66

77
use function Flow\ETL\DSL\{str_entry, string_entry};
88
use Flow\ETL\Adapter\Elasticsearch\EntryIdFactory\HashIdFactory;

0 commit comments

Comments
 (0)