File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 4444 */
4545final class CodeCoverage
4646{
47- private const UNCOVERED_FILES = 'UNCOVERED_FILES ' ;
47+ private const string UNCOVERED_FILES = 'UNCOVERED_FILES ' ;
4848 private readonly Driver $ driver ;
4949 private readonly Filter $ filter ;
5050 private readonly Wizard $ wizard ;
Original file line number Diff line number Diff line change @@ -24,35 +24,35 @@ abstract class Driver
2424 *
2525 * @see http://xdebug.org/docs/code_coverage
2626 */
27- public const LINE_NOT_EXECUTABLE = -2 ;
27+ public const int LINE_NOT_EXECUTABLE = -2 ;
2828
2929 /**
3030 * @var int
3131 *
3232 * @see http://xdebug.org/docs/code_coverage
3333 */
34- public const LINE_NOT_EXECUTED = -1 ;
34+ public const int LINE_NOT_EXECUTED = -1 ;
3535
3636 /**
3737 * @var int
3838 *
3939 * @see http://xdebug.org/docs/code_coverage
4040 */
41- public const LINE_EXECUTED = 1 ;
41+ public const int LINE_EXECUTED = 1 ;
4242
4343 /**
4444 * @var int
4545 *
4646 * @see http://xdebug.org/docs/code_coverage
4747 */
48- public const BRANCH_NOT_HIT = 0 ;
48+ public const int BRANCH_NOT_HIT = 0 ;
4949
5050 /**
5151 * @var int
5252 *
5353 * @see http://xdebug.org/docs/code_coverage
5454 */
55- public const BRANCH_HIT = 1 ;
55+ public const int BRANCH_HIT = 1 ;
5656 private bool $ collectBranchAndPathCoverage = false ;
5757 private bool $ detectDeadCode = false ;
5858
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ final class File extends Renderer
115115 /**
116116 * @var array<int,true>
117117 */
118- private const KEYWORD_TOKENS = [
118+ private const array KEYWORD_TOKENS = [
119119 T_ABSTRACT => true ,
120120 T_ARRAY => true ,
121121 T_AS => true ,
Original file line number Diff line number Diff line change @@ -26,27 +26,27 @@ final class Text
2626 /**
2727 * @var string
2828 */
29- private const COLOR_GREEN = "\x1b[30;42m " ;
29+ private const string COLOR_GREEN = "\x1b[30;42m " ;
3030
3131 /**
3232 * @var string
3333 */
34- private const COLOR_YELLOW = "\x1b[30;43m " ;
34+ private const string COLOR_YELLOW = "\x1b[30;43m " ;
3535
3636 /**
3737 * @var string
3838 */
39- private const COLOR_RED = "\x1b[37;41m " ;
39+ private const string COLOR_RED = "\x1b[37;41m " ;
4040
4141 /**
4242 * @var string
4343 */
44- private const COLOR_HEADER = "\x1b[1;37;40m " ;
44+ private const string COLOR_HEADER = "\x1b[1;37;40m " ;
4545
4646 /**
4747 * @var string
4848 */
49- private const COLOR_RESET = "\x1b[0m " ;
49+ private const string COLOR_RESET = "\x1b[0m " ;
5050 private readonly Thresholds $ thresholds ;
5151 private readonly bool $ showUncoveredFiles ;
5252 private readonly bool $ showOnlySummary ;
You can’t perform that action at this time.
0 commit comments