Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php declare(strict_types=1);
2
/*
3
 * This file is part of phpunit/php-code-coverage.
4
 *
5
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace SebastianBergmann\CodeCoverage\StaticAnalysis;
11
 
12
/**
13
 * @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
14
 */
15
interface FileAnalyser
16
{
17
    public function classesIn(string $filename): array;
18
 
19
    public function traitsIn(string $filename): array;
20
 
21
    public function functionsIn(string $filename): array;
22
 
23
    /**
24
     * @psalm-return array{linesOfCode: int, commentLinesOfCode: int, nonCommentLinesOfCode: int}
25
     */
26
    public function linesOfCodeFor(string $filename): array;
27
 
28
    public function executableLinesIn(string $filename): array;
29
 
30
    public function ignoredLinesFor(string $filename): array;
31
}