Skip to content

Commit abb29e9

Browse files
Merge branch '10.5' into 11.1
2 parents fe785e3 + 8309713 commit abb29e9

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

src/Framework/TestCase.php

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -235,20 +235,26 @@ public function __construct(string $name)
235235

236236
/**
237237
* This method is called before the first test of this test class is run.
238+
*
239+
* @codeCoverageIgnore
238240
*/
239241
public static function setUpBeforeClass(): void
240242
{
241243
}
242244

243245
/**
244246
* This method is called after the last test of this test class is run.
247+
*
248+
* @codeCoverageIgnore
245249
*/
246250
public static function tearDownAfterClass(): void
247251
{
248252
}
249253

250254
/**
251255
* This method is called before each test.
256+
*
257+
* @codeCoverageIgnore
252258
*/
253259
protected function setUp(): void
254260
{
@@ -258,6 +264,8 @@ protected function setUp(): void
258264
* Performs assertions shared by all tests of a test case.
259265
*
260266
* This method is called between setUp() and test.
267+
*
268+
* @codeCoverageIgnore
261269
*/
262270
protected function assertPreConditions(): void
263271
{
@@ -267,13 +275,17 @@ protected function assertPreConditions(): void
267275
* Performs assertions shared by all tests of a test case.
268276
*
269277
* This method is called between test and tearDown().
278+
*
279+
* @codeCoverageIgnore
270280
*/
271281
protected function assertPostConditions(): void
272282
{
273283
}
274284

275285
/**
276286
* This method is called after each test.
287+
*
288+
* @codeCoverageIgnore
277289
*/
278290
protected function tearDown(): void
279291
{
@@ -719,6 +731,8 @@ final public function setPreserveGlobalState(bool $preserveGlobalState): void
719731

720732
/**
721733
* @internal This method is not covered by the backward compatibility promise for PHPUnit
734+
*
735+
* @codeCoverageIgnore
722736
*/
723737
final public function setInIsolation(bool $inIsolation): void
724738
{
@@ -727,14 +741,8 @@ final public function setInIsolation(bool $inIsolation): void
727741

728742
/**
729743
* @internal This method is not covered by the backward compatibility promise for PHPUnit
730-
*/
731-
final public function isInIsolation(): bool
732-
{
733-
return $this->inIsolation;
734-
}
735-
736-
/**
737-
* @internal This method is not covered by the backward compatibility promise for PHPUnit
744+
*
745+
* @codeCoverageIgnore
738746
*/
739747
final public function result(): mixed
740748
{

0 commit comments

Comments
 (0)