Skip to content

Commit 35cc5a6

Browse files
Reduce API surface
1 parent 864e92a commit 35cc5a6

113 files changed

Lines changed: 283 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/CodeCoverage.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
*
3232
* @phpstan-type TestType array{size: string, status: string, time: float}
3333
* @phpstan-type TargetedLines array<non-empty-string, list<positive-int>>
34+
*
35+
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for phpunit/php-code-coverage
3436
*/
3537
final class CodeCoverage
3638
{
@@ -68,7 +70,7 @@ public function __construct(Driver $driver, Filter $filter)
6870
}
6971

7072
/**
71-
* Returns the code coverage information as a graph of node objects.
73+
* @internal This method is not covered by the backward compatibility promise for phpunit/php-code-coverage
7274
*/
7375
public function getReport(): Directory
7476
{
@@ -379,6 +381,8 @@ public function validate(TargetCollection $targets): ValidationResult
379381

380382
/**
381383
* @return array{name: non-empty-string, version: non-empty-string}
384+
*
385+
* @internal This method is not covered by the backward compatibility promise for phpunit/php-code-coverage
382386
*/
383387
public function driverInformation(): array
384388
{

src/Data/ProcessedBranchCoverageData.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
/**
1818
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
1919
*
20+
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for phpunit/php-code-coverage
21+
*
2022
* @phpstan-import-type TestIdType from ProcessedCodeCoverageData
2123
* @phpstan-import-type XdebugBranchCoverageType from XdebugDriver
2224
*/

src/Data/ProcessedClassType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
/**
1313
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
14+
*
15+
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for phpunit/php-code-coverage
1416
*/
1517
final class ProcessedClassType
1618
{

src/Data/ProcessedCodeCoverageData.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
/**
2323
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
2424
*
25+
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for phpunit/php-code-coverage
26+
*
2527
* @phpstan-import-type XdebugFunctionCoverageType from XdebugDriver
2628
*
2729
* @phpstan-type TestIdType string

src/Data/ProcessedFunctionCoverageData.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
/**
1616
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
1717
*
18+
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for phpunit/php-code-coverage
19+
*
1820
* @phpstan-import-type TestIdType from ProcessedCodeCoverageData
1921
* @phpstan-import-type XdebugFunctionCoverageType from XdebugDriver
2022
*/

src/Data/ProcessedFunctionType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
/**
1313
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
14+
*
15+
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for phpunit/php-code-coverage
1416
*/
1517
final class ProcessedFunctionType
1618
{

src/Data/ProcessedMethodType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
/**
1313
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
14+
*
15+
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for phpunit/php-code-coverage
1416
*/
1517
final class ProcessedMethodType
1618
{

src/Data/ProcessedPathCoverageData.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
/**
1818
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
1919
*
20+
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for phpunit/php-code-coverage
21+
*
2022
* @phpstan-import-type TestIdType from ProcessedCodeCoverageData
2123
* @phpstan-import-type XdebugPathCoverageType from XdebugDriver
2224
*/

src/Data/ProcessedTraitType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
/**
1313
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
14+
*
15+
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for phpunit/php-code-coverage
1416
*/
1517
final class ProcessedTraitType
1618
{

src/Data/RawCodeCoverageData.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
/**
3333
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
3434
*
35+
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for phpunit/php-code-coverage
36+
*
3537
* @phpstan-import-type XdebugFunctionsCoverageType from XdebugDriver
3638
* @phpstan-import-type XdebugCodeCoverageWithoutPathCoverageType from XdebugDriver
3739
* @phpstan-import-type XdebugCodeCoverageWithPathCoverageType from XdebugDriver

0 commit comments

Comments
 (0)