File tree 9 files changed +17
-13
lines changed
9 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 17
17
use function is_array ;
18
18
use function ksort ;
19
19
use SebastianBergmann \CodeCoverage \Driver \Driver ;
20
+ use SebastianBergmann \CodeCoverage \Driver \XdebugDriver ;
20
21
21
22
/**
22
23
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
23
24
*
24
- * @phpstan-import-type XdebugFunctionCoverageType from \SebastianBergmann\CodeCoverage\Driver\ XdebugDriver
25
+ * @phpstan-import-type XdebugFunctionCoverageType from XdebugDriver
25
26
*
26
27
* @phpstan-type TestIdType = string
27
28
*/
Original file line number Diff line number Diff line change 26
26
use function str_starts_with ;
27
27
use function trim ;
28
28
use SebastianBergmann \CodeCoverage \Driver \Driver ;
29
+ use SebastianBergmann \CodeCoverage \Driver \XdebugDriver ;
29
30
use SebastianBergmann \CodeCoverage \StaticAnalysis \FileAnalyser ;
30
31
31
32
/**
32
33
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
33
34
*
34
- * @phpstan-import-type XdebugFunctionsCoverageType from \SebastianBergmann\CodeCoverage\Driver\ XdebugDriver
35
- * @phpstan-import-type XdebugCodeCoverageWithoutPathCoverageType from \SebastianBergmann\CodeCoverage\Driver\ XdebugDriver
36
- * @phpstan-import-type XdebugCodeCoverageWithPathCoverageType from \SebastianBergmann\CodeCoverage\Driver\ XdebugDriver
35
+ * @phpstan-import-type XdebugFunctionsCoverageType from XdebugDriver
36
+ * @phpstan-import-type XdebugCodeCoverageWithoutPathCoverageType from XdebugDriver
37
+ * @phpstan-import-type XdebugCodeCoverageWithPathCoverageType from XdebugDriver
37
38
*/
38
39
final class RawCodeCoverageData
39
40
{
Original file line number Diff line number Diff line change 21
21
/**
22
22
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
23
23
*
24
- * @phpstan-import-type ProcessedFunctionType from \SebastianBergmann\CodeCoverage\Node\ File
25
- * @phpstan-import-type ProcessedClassType from \SebastianBergmann\CodeCoverage\Node\ File
26
- * @phpstan-import-type ProcessedTraitType from \SebastianBergmann\CodeCoverage\Node\ File
24
+ * @phpstan-import-type ProcessedFunctionType from File
25
+ * @phpstan-import-type ProcessedClassType from File
26
+ * @phpstan-import-type ProcessedTraitType from File
27
27
*/
28
28
abstract class AbstractNode implements Countable
29
29
{
Original file line number Diff line number Diff line change 28
28
/**
29
29
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
30
30
*
31
- * @phpstan-import-type TestType from \SebastianBergmann\CodeCoverage\ CodeCoverage
31
+ * @phpstan-import-type TestType from CodeCoverage
32
32
*/
33
33
final readonly class Builder
34
34
{
Original file line number Diff line number Diff line change 13
13
use function count ;
14
14
use function range ;
15
15
use SebastianBergmann \CodeCoverage \StaticAnalysis \Class_ ;
16
+ use SebastianBergmann \CodeCoverage \StaticAnalysis \FileAnalyser ;
16
17
use SebastianBergmann \CodeCoverage \StaticAnalysis \Function_ ;
17
18
use SebastianBergmann \CodeCoverage \StaticAnalysis \LinesOfCode ;
18
19
use SebastianBergmann \CodeCoverage \StaticAnalysis \Method ;
21
22
/**
22
23
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
23
24
*
24
- * @phpstan-import-type LinesType from \SebastianBergmann\CodeCoverage\StaticAnalysis\ FileAnalyser
25
+ * @phpstan-import-type LinesType from FileAnalyser
25
26
*
26
27
* @phpstan-type ProcessedFunctionType = array{
27
28
* functionName: string,
Original file line number Diff line number Diff line change 11
11
12
12
use function assert ;
13
13
use DOMElement ;
14
+ use SebastianBergmann \CodeCoverage \CodeCoverage ;
14
15
15
16
/**
16
17
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
17
18
*
18
- * @phpstan-import-type TestType from \SebastianBergmann\CodeCoverage\ CodeCoverage
19
+ * @phpstan-import-type TestType from CodeCoverage
19
20
*/
20
21
final readonly class Tests
21
22
{
Original file line number Diff line number Diff line change 23
23
/**
24
24
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
25
25
*
26
- * @phpstan-import-type LinesType from \SebastianBergmann\CodeCoverage\StaticAnalysis\ FileAnalyser
26
+ * @phpstan-import-type LinesType from FileAnalyser
27
27
*/
28
28
final class CachingFileAnalyser implements FileAnalyser
29
29
{
Original file line number Diff line number Diff line change 27
27
/**
28
28
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
29
29
*
30
- * @phpstan-import-type LinesType from \SebastianBergmann\CodeCoverage\StaticAnalysis\ FileAnalyser
30
+ * @phpstan-import-type LinesType from FileAnalyser
31
31
*/
32
32
final class ExecutableLinesFindingVisitor extends NodeVisitorAbstract
33
33
{
Original file line number Diff line number Diff line change 34
34
/**
35
35
* @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
36
36
*
37
- * @phpstan-import-type LinesType from \SebastianBergmann\CodeCoverage\StaticAnalysis\ FileAnalyser
37
+ * @phpstan-import-type LinesType from FileAnalyser
38
38
*/
39
39
final class ParsingFileAnalyser implements FileAnalyser
40
40
{
You can’t perform that action at this time.
0 commit comments