Skip to content

Commit

Permalink
Merge branch '10.5' into 11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Apr 28, 2024
2 parents fe785e3 + 8309713 commit abb29e9
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions src/Framework/TestCase.php
Expand Up @@ -235,20 +235,26 @@ public function __construct(string $name)

/**
* This method is called before the first test of this test class is run.
*
* @codeCoverageIgnore
*/
public static function setUpBeforeClass(): void
{
}

/**
* This method is called after the last test of this test class is run.
*
* @codeCoverageIgnore
*/
public static function tearDownAfterClass(): void
{
}

/**
* This method is called before each test.
*
* @codeCoverageIgnore
*/
protected function setUp(): void
{
Expand All @@ -258,6 +264,8 @@ protected function setUp(): void
* Performs assertions shared by all tests of a test case.
*
* This method is called between setUp() and test.
*
* @codeCoverageIgnore
*/
protected function assertPreConditions(): void
{
Expand All @@ -267,13 +275,17 @@ protected function assertPreConditions(): void
* Performs assertions shared by all tests of a test case.
*
* This method is called between test and tearDown().
*
* @codeCoverageIgnore
*/
protected function assertPostConditions(): void
{
}

/**
* This method is called after each test.
*
* @codeCoverageIgnore
*/
protected function tearDown(): void
{
Expand Down Expand Up @@ -719,6 +731,8 @@ final public function setPreserveGlobalState(bool $preserveGlobalState): void

/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*
* @codeCoverageIgnore
*/
final public function setInIsolation(bool $inIsolation): void
{
Expand All @@ -727,14 +741,8 @@ final public function setInIsolation(bool $inIsolation): void

/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
final public function isInIsolation(): bool
{
return $this->inIsolation;
}

/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*
* @codeCoverageIgnore
*/
final public function result(): mixed
{
Expand Down

0 comments on commit abb29e9

Please sign in to comment.