Skip to content

Commit 9492b28

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 87a852e + 138256b commit 9492b28

34 files changed

+69
-35
lines changed

Tests/Catalogue/AbstractOperationTest.php

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

1212
namespace Symfony\Component\Translation\Tests\Catalogue;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Translation\MessageCatalogue;
1516
use Symfony\Component\Translation\MessageCatalogueInterface;
1617

17-
abstract class AbstractOperationTest extends \PHPUnit_Framework_TestCase
18+
abstract class AbstractOperationTest extends TestCase
1819
{
1920
public function testGetEmptyDomains()
2021
{

Tests/DataCollector/TranslationDataCollectorTest.php

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

1212
namespace Symfony\Component\Translation\Tests\DataCollector;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Translation\DataCollectorTranslator;
1516
use Symfony\Component\Translation\DataCollector\TranslationDataCollector;
1617
use Symfony\Component\VarDumper\Cloner\VarCloner;
1718

18-
class TranslationDataCollectorTest extends \PHPUnit_Framework_TestCase
19+
class TranslationDataCollectorTest extends TestCase
1920
{
2021
protected function setUp()
2122
{

Tests/DataCollectorTranslatorTest.php

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

1212
namespace Symfony\Component\Translation\Tests;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Translation\Translator;
1516
use Symfony\Component\Translation\DataCollectorTranslator;
1617
use Symfony\Component\Translation\Loader\ArrayLoader;
1718

18-
class DataCollectorTranslatorTest extends \PHPUnit_Framework_TestCase
19+
class DataCollectorTranslatorTest extends TestCase
1920
{
2021
public function testCollectMessages()
2122
{

Tests/Dumper/CsvFileDumperTest.php

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

1212
namespace Symfony\Component\Translation\Tests\Dumper;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Translation\MessageCatalogue;
1516
use Symfony\Component\Translation\Dumper\CsvFileDumper;
1617

17-
class CsvFileDumperTest extends \PHPUnit_Framework_TestCase
18+
class CsvFileDumperTest extends TestCase
1819
{
1920
public function testFormatCatalogue()
2021
{

Tests/Dumper/FileDumperTest.php

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

1212
namespace Symfony\Component\Translation\Tests\Dumper;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Translation\MessageCatalogue;
1516
use Symfony\Component\Translation\Dumper\FileDumper;
1617

17-
class FileDumperTest extends \PHPUnit_Framework_TestCase
18+
class FileDumperTest extends TestCase
1819
{
1920
public function testDump()
2021
{

Tests/Dumper/IcuResFileDumperTest.php

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

1212
namespace Symfony\Component\Translation\Tests\Dumper;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Translation\MessageCatalogue;
1516
use Symfony\Component\Translation\Dumper\IcuResFileDumper;
1617

17-
class IcuResFileDumperTest extends \PHPUnit_Framework_TestCase
18+
class IcuResFileDumperTest extends TestCase
1819
{
1920
public function testFormatCatalogue()
2021
{

Tests/Dumper/IniFileDumperTest.php

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

1212
namespace Symfony\Component\Translation\Tests\Dumper;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Translation\MessageCatalogue;
1516
use Symfony\Component\Translation\Dumper\IniFileDumper;
1617

17-
class IniFileDumperTest extends \PHPUnit_Framework_TestCase
18+
class IniFileDumperTest extends TestCase
1819
{
1920
public function testFormatCatalogue()
2021
{

Tests/Dumper/JsonFileDumperTest.php

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

1212
namespace Symfony\Component\Translation\Tests\Dumper;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Translation\MessageCatalogue;
1516
use Symfony\Component\Translation\Dumper\JsonFileDumper;
1617

17-
class JsonFileDumperTest extends \PHPUnit_Framework_TestCase
18+
class JsonFileDumperTest extends TestCase
1819
{
1920
public function testFormatCatalogue()
2021
{

Tests/Dumper/MoFileDumperTest.php

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

1212
namespace Symfony\Component\Translation\Tests\Dumper;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Translation\MessageCatalogue;
1516
use Symfony\Component\Translation\Dumper\MoFileDumper;
1617

17-
class MoFileDumperTest extends \PHPUnit_Framework_TestCase
18+
class MoFileDumperTest extends TestCase
1819
{
1920
public function testFormatCatalogue()
2021
{

Tests/Dumper/PhpFileDumperTest.php

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

1212
namespace Symfony\Component\Translation\Tests\Dumper;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Translation\MessageCatalogue;
1516
use Symfony\Component\Translation\Dumper\PhpFileDumper;
1617

17-
class PhpFileDumperTest extends \PHPUnit_Framework_TestCase
18+
class PhpFileDumperTest extends TestCase
1819
{
1920
public function testFormatCatalogue()
2021
{

0 commit comments

Comments
 (0)