45
45
private string $ coverageHtmlColorWarning ;
46
46
private string $ coverageHtmlColorDanger ;
47
47
private ?string $ coverageHtmlCustomCssFile ;
48
+ private string $ coverageHtmlTheme ;
48
49
private ?string $ coveragePhp ;
49
50
private ?string $ coverageText ;
50
51
private bool $ coverageTextShowUncoveredFiles ;
146
147
* @psalm-param non-empty-list<non-empty-string> $testSuffixes
147
148
* @psalm-param list<array{className: class-string, parameters: array<string, string>}> $extensionBootstrappers
148
149
*/
149
- public function __construct (array $ cliArguments , ?string $ configurationFile , ?string $ bootstrap , bool $ cacheResult , ?string $ cacheDirectory , ?string $ coverageCacheDirectory , Source $ source , string $ testResultCacheFile , ?string $ coverageClover , ?string $ coverageCobertura , ?string $ coverageCrap4j , int $ coverageCrap4jThreshold , ?string $ coverageHtml , int $ coverageHtmlLowUpperBound , int $ coverageHtmlHighLowerBound , string $ coverageHtmlColorSuccessLow , string $ coverageHtmlColorSuccessMedium , string $ coverageHtmlColorSuccessHigh , string $ coverageHtmlColorWarning , string $ coverageHtmlColorDanger , ?string $ coverageHtmlCustomCssFile , ?string $ coveragePhp , ?string $ coverageText , bool $ coverageTextShowUncoveredFiles , bool $ coverageTextShowOnlySummary , ?string $ coverageXml , bool $ pathCoverage , bool $ ignoreDeprecatedCodeUnitsFromCodeCoverage , bool $ disableCodeCoverageIgnore , bool $ failOnDeprecation , bool $ failOnEmptyTestSuite , bool $ failOnIncomplete , bool $ failOnNotice , bool $ failOnRisky , bool $ failOnSkipped , bool $ failOnWarning , bool $ stopOnDefect , bool $ stopOnDeprecation , bool $ stopOnError , bool $ stopOnFailure , bool $ stopOnIncomplete , bool $ stopOnNotice , bool $ stopOnRisky , bool $ stopOnSkipped , bool $ stopOnWarning , bool $ outputToStandardErrorStream , int |string $ columns , bool $ noExtensions , ?string $ pharExtensionDirectory , array $ extensionBootstrappers , bool $ backupGlobals , bool $ backupStaticProperties , bool $ beStrictAboutChangesToGlobalState , bool $ colors , bool $ processIsolation , bool $ enforceTimeLimit , int $ defaultTimeLimit , int $ timeoutForSmallTests , int $ timeoutForMediumTests , int $ timeoutForLargeTests , bool $ reportUselessTests , bool $ strictCoverage , bool $ disallowTestOutput , bool $ displayDetailsOnIncompleteTests , bool $ displayDetailsOnSkippedTests , bool $ displayDetailsOnTestsThatTriggerDeprecations , bool $ displayDetailsOnTestsThatTriggerErrors , bool $ displayDetailsOnTestsThatTriggerNotices , bool $ displayDetailsOnTestsThatTriggerWarnings , bool $ reverseDefectList , bool $ requireCoverageMetadata , bool $ noProgress , bool $ noResults , bool $ noOutput , int $ executionOrder , int $ executionOrderDefects , bool $ resolveDependencies , ?string $ logfileTeamcity , ?string $ logfileJunit , ?string $ logfileTestdoxHtml , ?string $ logfileTestdoxText , ?string $ logEventsText , ?string $ logEventsVerboseText , bool $ teamCityOutput , bool $ testDoxOutput , ?array $ testsCovering , ?array $ testsUsing , ?string $ filter , ?string $ excludeFilter , ?array $ groups , ?array $ excludeGroups , int $ randomOrderSeed , bool $ includeUncoveredFiles , TestSuiteCollection $ testSuite , string $ includeTestSuite , string $ excludeTestSuite , ?string $ defaultTestSuite , array $ testSuffixes , Php $ php , bool $ controlGarbageCollector , int $ numberOfTestsBeforeGarbageCollection , ?string $ generateBaseline , bool $ debug )
150
+ public function __construct (array $ cliArguments , ?string $ configurationFile , ?string $ bootstrap , bool $ cacheResult , ?string $ cacheDirectory , ?string $ coverageCacheDirectory , Source $ source , string $ testResultCacheFile , ?string $ coverageClover , ?string $ coverageCobertura , ?string $ coverageCrap4j , int $ coverageCrap4jThreshold , ?string $ coverageHtml , int $ coverageHtmlLowUpperBound , int $ coverageHtmlHighLowerBound , string $ coverageHtmlColorSuccessLow , string $ coverageHtmlColorSuccessMedium , string $ coverageHtmlColorSuccessHigh , string $ coverageHtmlColorWarning , string $ coverageHtmlColorDanger , ?string $ coverageHtmlCustomCssFile , string $ coverageHtmlTheme , ?string $ coveragePhp , ?string $ coverageText , bool $ coverageTextShowUncoveredFiles , bool $ coverageTextShowOnlySummary , ?string $ coverageXml , bool $ pathCoverage , bool $ ignoreDeprecatedCodeUnitsFromCodeCoverage , bool $ disableCodeCoverageIgnore , bool $ failOnDeprecation , bool $ failOnEmptyTestSuite , bool $ failOnIncomplete , bool $ failOnNotice , bool $ failOnRisky , bool $ failOnSkipped , bool $ failOnWarning , bool $ stopOnDefect , bool $ stopOnDeprecation , bool $ stopOnError , bool $ stopOnFailure , bool $ stopOnIncomplete , bool $ stopOnNotice , bool $ stopOnRisky , bool $ stopOnSkipped , bool $ stopOnWarning , bool $ outputToStandardErrorStream , int |string $ columns , bool $ noExtensions , ?string $ pharExtensionDirectory , array $ extensionBootstrappers , bool $ backupGlobals , bool $ backupStaticProperties , bool $ beStrictAboutChangesToGlobalState , bool $ colors , bool $ processIsolation , bool $ enforceTimeLimit , int $ defaultTimeLimit , int $ timeoutForSmallTests , int $ timeoutForMediumTests , int $ timeoutForLargeTests , bool $ reportUselessTests , bool $ strictCoverage , bool $ disallowTestOutput , bool $ displayDetailsOnIncompleteTests , bool $ displayDetailsOnSkippedTests , bool $ displayDetailsOnTestsThatTriggerDeprecations , bool $ displayDetailsOnTestsThatTriggerErrors , bool $ displayDetailsOnTestsThatTriggerNotices , bool $ displayDetailsOnTestsThatTriggerWarnings , bool $ reverseDefectList , bool $ requireCoverageMetadata , bool $ noProgress , bool $ noResults , bool $ noOutput , int $ executionOrder , int $ executionOrderDefects , bool $ resolveDependencies , ?string $ logfileTeamcity , ?string $ logfileJunit , ?string $ logfileTestdoxHtml , ?string $ logfileTestdoxText , ?string $ logEventsText , ?string $ logEventsVerboseText , bool $ teamCityOutput , bool $ testDoxOutput , ?array $ testsCovering , ?array $ testsUsing , ?string $ filter , ?string $ excludeFilter , ?array $ groups , ?array $ excludeGroups , int $ randomOrderSeed , bool $ includeUncoveredFiles , TestSuiteCollection $ testSuite , string $ includeTestSuite , string $ excludeTestSuite , ?string $ defaultTestSuite , array $ testSuffixes , Php $ php , bool $ controlGarbageCollector , int $ numberOfTestsBeforeGarbageCollection , ?string $ generateBaseline , bool $ debug )
150
151
{
151
152
$ this ->cliArguments = $ cliArguments ;
152
153
$ this ->configurationFile = $ configurationFile ;
@@ -169,6 +170,7 @@ public function __construct(array $cliArguments, ?string $configurationFile, ?st
169
170
$ this ->coverageHtmlColorWarning = $ coverageHtmlColorWarning ;
170
171
$ this ->coverageHtmlColorDanger = $ coverageHtmlColorDanger ;
171
172
$ this ->coverageHtmlCustomCssFile = $ coverageHtmlCustomCssFile ;
173
+ $ this ->coverageHtmlTheme = $ coverageHtmlTheme ;
172
174
$ this ->coveragePhp = $ coveragePhp ;
173
175
$ this ->coverageText = $ coverageText ;
174
176
$ this ->coverageTextShowUncoveredFiles = $ coverageTextShowUncoveredFiles ;
@@ -510,6 +512,11 @@ public function coverageHtmlColorDanger(): string
510
512
return $ this ->coverageHtmlColorDanger ;
511
513
}
512
514
515
+ public function coverageHtmlTheme (): string
516
+ {
517
+ return $ this ->coverageHtmlTheme ;
518
+ }
519
+
513
520
/**
514
521
* @psalm-assert-if-true !null $this->coverageHtmlCustomCssFile
515
522
*/
0 commit comments