Skip to content

Commit

Permalink
Merge branch '3.4' into 4.3
Browse files Browse the repository at this point in the history
* 3.4:
  Remove use of ForwardCompatTrait
  Remove deprecated methods assertArraySubset
  • Loading branch information
nicolas-grekas committed Aug 3, 2019
2 parents 49a0e8d + 43f1d05 commit f8af6d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
7 changes: 2 additions & 5 deletions Tests/ClockMockTest.php
Expand Up @@ -13,7 +13,6 @@

use PHPUnit\Framework\TestCase;
use Symfony\Bridge\PhpUnit\ClockMock;
use Symfony\Bridge\PhpUnit\ForwardCompatTestTrait;

/**
* @author Dominic Tubach <dominic.tubach@to.com>
Expand All @@ -22,14 +21,12 @@
*/
class ClockMockTest extends TestCase
{
use ForwardCompatTestTrait;

private static function doSetUpBeforeClass()
public static function setUpBeforeClass()
{
ClockMock::register(__CLASS__);
}

private function doSetUp()
protected function setUp()
{
ClockMock::withClockMock(1234567890.125);
}
Expand Down
5 changes: 1 addition & 4 deletions Tests/DnsMockTest.php
Expand Up @@ -13,13 +13,10 @@

use PHPUnit\Framework\TestCase;
use Symfony\Bridge\PhpUnit\DnsMock;
use Symfony\Bridge\PhpUnit\ForwardCompatTestTrait;

class DnsMockTest extends TestCase
{
use ForwardCompatTestTrait;

private function doTearDown()
protected function tearDown()
{
DnsMock::withMockedHosts(array());
}
Expand Down
3 changes: 0 additions & 3 deletions Tests/ProcessIsolationTest.php
Expand Up @@ -3,7 +3,6 @@
namespace Symfony\Bridge\PhpUnit\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Bridge\PhpUnit\ForwardCompatTestTrait;

/**
* Don't remove this test case, it tests the legacy group.
Expand All @@ -14,8 +13,6 @@
*/
class ProcessIsolationTest extends TestCase
{
use ForwardCompatTestTrait;

/**
* @expectedDeprecation Test abc
*/
Expand Down

0 comments on commit f8af6d7

Please sign in to comment.