@@ -99,6 +99,7 @@ final class Configuration
9999 private readonly bool $ displayDetailsOnIncompleteTests ;
100100 private readonly bool $ displayDetailsOnSkippedTests ;
101101 private readonly bool $ displayDetailsOnTestsThatTriggerDeprecations ;
102+ private readonly bool $ displayDetailsOnPhpunitDeprecations ;
102103 private readonly bool $ displayDetailsOnTestsThatTriggerErrors ;
103104 private readonly bool $ displayDetailsOnTestsThatTriggerNotices ;
104105 private readonly bool $ displayDetailsOnTestsThatTriggerWarnings ;
@@ -147,7 +148,7 @@ final class Configuration
147148 * @psalm-param non-empty-list<non-empty-string> $testSuffixes
148149 * @psalm-param list<array{className: class-string, parameters: array<string, string>}> $extensionBootstrappers
149150 */
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 $ coveragePhp , ?string $ coverageText , bool $ coverageTextShowUncoveredFiles , bool $ coverageTextShowOnlySummary , ?string $ coverageXml , bool $ pathCoverage , bool $ ignoreDeprecatedCodeUnitsFromCodeCoverage , bool $ disableCodeCoverageIgnore , bool $ failOnDeprecation , bool $ failOnPhpunitDeprecation , 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 $ registerMockObjectsFromTestArgumentsRecursively , 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 , ?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 )
151+ 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 $ failOnPhpunitDeprecation , 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 $ displayDetailsOnPhpunitDeprecations , bool $ displayDetailsOnTestsThatTriggerErrors , bool $ displayDetailsOnTestsThatTriggerNotices , bool $ displayDetailsOnTestsThatTriggerWarnings , bool $ reverseDefectList , bool $ requireCoverageMetadata , bool $ registerMockObjectsFromTestArgumentsRecursively , 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 , ?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 )
151152 {
152153 $ this ->cliArguments = $ cliArguments ;
153154 $ this ->configurationFile = $ configurationFile ;
@@ -216,6 +217,7 @@ public function __construct(array $cliArguments, ?string $configurationFile, ?st
216217 $ this ->displayDetailsOnIncompleteTests = $ displayDetailsOnIncompleteTests ;
217218 $ this ->displayDetailsOnSkippedTests = $ displayDetailsOnSkippedTests ;
218219 $ this ->displayDetailsOnTestsThatTriggerDeprecations = $ displayDetailsOnTestsThatTriggerDeprecations ;
220+ $ this ->displayDetailsOnPhpunitDeprecations = $ displayDetailsOnPhpunitDeprecations ;
219221 $ this ->displayDetailsOnTestsThatTriggerErrors = $ displayDetailsOnTestsThatTriggerErrors ;
220222 $ this ->displayDetailsOnTestsThatTriggerNotices = $ displayDetailsOnTestsThatTriggerNotices ;
221223 $ this ->displayDetailsOnTestsThatTriggerWarnings = $ displayDetailsOnTestsThatTriggerWarnings ;
@@ -910,6 +912,11 @@ public function displayDetailsOnTestsThatTriggerDeprecations(): bool
910912 return $ this ->displayDetailsOnTestsThatTriggerDeprecations ;
911913 }
912914
915+ public function displayDetailsOnPhpunitDeprecations (): bool
916+ {
917+ return $ this ->displayDetailsOnPhpunitDeprecations ;
918+ }
919+
913920 public function displayDetailsOnTestsThatTriggerErrors (): bool
914921 {
915922 return $ this ->displayDetailsOnTestsThatTriggerErrors ;
0 commit comments