Skip to content

Commit 478cee1

Browse files
Merge branch '11.5'
2 parents 81bbd35 + bfab44d commit 478cee1

File tree

5 files changed

+3
-40
lines changed

5 files changed

+3
-40
lines changed

ChangeLog-12.0.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ All notable changes of the PHPUnit 12.0 release series are documented in this fi
4646
* [#5710](https://github.com/sebastianbergmann/phpunit/issues/5710): Support for using comma-separated values with the `--group`, `--exclude-group`, `--covers`, `--uses`, and `--test-suffix` CLI options
4747
* [#5756](https://github.com/sebastianbergmann/phpunit/issues/5756): Support for the `restrictDeprecations` attribute on the `<source>` element of the XML configuration file
4848
* [#5801](https://github.com/sebastianbergmann/phpunit/issues/5801): Support for targeting traits with `#[CoversClass]` and `#[UsesClass]` attributes
49-
* [#5952](https://github.com/sebastianbergmann/phpunit/issues/5952): `includeUncoveredFiles` configuration option
5049
* [#5978](https://github.com/sebastianbergmann/phpunit/issues/5978): Support for PHP 8.2
5150

5251
[12.0.0]: https://github.com/sebastianbergmann/phpunit/compare/11.5...main

phpunit.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
</xs:element>
6565
</xs:all>
6666
<xs:attribute name="pathCoverage" type="xs:boolean" default="false"/>
67+
<xs:attribute name="includeUncoveredFiles" type="xs:boolean" default="true"/>
6768
<xs:attribute name="ignoreDeprecatedCodeUnits" type="xs:boolean" default="false"/>
6869
<xs:attribute name="disableCodeCoverageIgnore" type="xs:boolean" default="false"/>
6970
</xs:complexType>

src/TextUI/Configuration/Xml/Migration/MigrationBuilder.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@
8787
'11.2' => [
8888
RemoveBeStrictAboutTodoAnnotatedTestsAttribute::class,
8989
],
90-
91-
'11.4' => [
92-
RemoveCoverageElementIncludeUncoveredFilesAttribute::class,
93-
],
9490
];
9591

9692
/**

src/TextUI/Configuration/Xml/Migration/Migrations/RemoveCoverageElementIncludeUncoveredFilesAttribute.php

Lines changed: 0 additions & 34 deletions
This file was deleted.

tests/_files/XmlConfigurationMigration/output-9.2.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.0/phpunit.xsd"
44
cacheDirectory=".phpunit.cache">
55

6-
<coverage ignoreDeprecatedCodeUnits="true"
6+
<coverage includeUncoveredFiles="true"
7+
ignoreDeprecatedCodeUnits="true"
78
disableCodeCoverageIgnore="true">
89
<report>
910
<clover outputFile="clover.xml"/>

0 commit comments

Comments
 (0)