Skip to content

Commit 3e3a536

Browse files
Merge branch '3.2'
* 3.2: Fix typo in process error message Update to PHPUnit namespaces Minor typo fix messsagesData -> messagesData remove translation data collector when not usable
2 parents d636907 + db76c4a commit 3e3a536

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

Tests/CrawlerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111

1212
namespace Symfony\Component\DomCrawler\Tests;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\DomCrawler\Crawler;
1516

16-
class CrawlerTest extends \PHPUnit_Framework_TestCase
17+
class CrawlerTest extends TestCase
1718
{
1819
public function testConstructor()
1920
{

Tests/Field/FormFieldTestCase.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111

1212
namespace Symfony\Component\DomCrawler\Tests\Field;
1313

14-
class FormFieldTestCase extends \PHPUnit_Framework_TestCase
14+
use PHPUnit\Framework\TestCase;
15+
16+
class FormFieldTestCase extends TestCase
1517
{
1618
protected function createNode($tag, $value, $attributes = array())
1719
{

Tests/FormTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111

1212
namespace Symfony\Component\DomCrawler\Tests;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\DomCrawler\Form;
1516
use Symfony\Component\DomCrawler\FormFieldRegistry;
1617

17-
class FormTest extends \PHPUnit_Framework_TestCase
18+
class FormTest extends TestCase
1819
{
1920
public static function setUpBeforeClass()
2021
{

Tests/LinkTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111

1212
namespace Symfony\Component\DomCrawler\Tests;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\DomCrawler\Link;
1516

16-
class LinkTest extends \PHPUnit_Framework_TestCase
17+
class LinkTest extends TestCase
1718
{
1819
/**
1920
* @expectedException \LogicException

0 commit comments

Comments
 (0)