@@ -666,7 +666,9 @@ final public function runBare(): void
666
666
$ hasMetRequirements = true ;
667
667
668
668
if ($ this ->inIsolation ) {
669
+ // @codeCoverageIgnoreStart
669
670
$ this ->invokeBeforeClassHookMethods ($ hookMethods , $ emitter );
671
+ // @codeCoverageIgnoreEnd
670
672
}
671
673
672
674
if (method_exists (static ::class, $ this ->name ) &&
@@ -780,7 +782,9 @@ final public function runBare(): void
780
782
$ this ->invokeAfterTestHookMethods ($ hookMethods , $ emitter );
781
783
782
784
if ($ this ->inIsolation ) {
785
+ // @codeCoverageIgnoreStart
783
786
$ this ->invokeAfterClassHookMethods ($ hookMethods , $ emitter );
787
+ // @codeCoverageIgnoreEnd
784
788
}
785
789
}
786
790
} catch (AssertionError |AssertionFailedError $ e ) {
@@ -852,6 +856,8 @@ final public function setDependencies(array $dependencies): void
852
856
853
857
/**
854
858
* @internal This method is not covered by the backward compatibility promise for PHPUnit
859
+ *
860
+ * @codeCoverageIgnore
855
861
*/
856
862
final public function setDependencyInput (array $ dependencyInput ): void
857
863
{
@@ -2065,6 +2071,8 @@ private function performAssertionsOnOutput(): void
2065
2071
2066
2072
/**
2067
2073
* @throws Throwable
2074
+ *
2075
+ * @codeCoverageIgnore
2068
2076
*/
2069
2077
private function invokeBeforeClassHookMethods (array $ hookMethods , Event \Emitter $ emitter ): void
2070
2078
{
@@ -2130,6 +2138,8 @@ private function invokeAfterTestHookMethods(array $hookMethods, Event\Emitter $e
2130
2138
2131
2139
/**
2132
2140
* @throws Throwable
2141
+ *
2142
+ * @codeCoverageIgnore
2133
2143
*/
2134
2144
private function invokeAfterClassHookMethods (array $ hookMethods , Event \Emitter $ emitter ): void
2135
2145
{
0 commit comments