Skip to content

Commit

Permalink
class names are declared in StudlyCaps (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
samnela authored and gilles-g committed Sep 17, 2018
1 parent 99fba02 commit de4192d
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Tests/Unit/BaseUnitTestCase.php
Expand Up @@ -19,13 +19,14 @@
use Propel\Runtime\Connection\ConnectionWrapper;
use Propel\Runtime\Connection\PdoConnection;
use Propel\Runtime\Propel;
use PHPUnit\Framework\TestCase;

/**
* Base unit test class providing functions to create a mock entity manger, load schema and fixtures.
*
* @author Cédric Girard <c.girard@lexik.fr>
*/
abstract class BaseUnitTestCase extends \PHPUnit_Framework_TestCase
abstract class BaseUnitTestCase extends TestCase
{
const ENTITY_TRANS_UNIT_CLASS = 'Lexik\Bundle\TranslationBundle\Entity\TransUnit';
const ENTITY_TRANSLATION_CLASS = 'Lexik\Bundle\TranslationBundle\Entity\Translation';
Expand Down
Expand Up @@ -8,13 +8,14 @@
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Translation\MessageSelector;
use Symfony\Component\Finder\Finder;
use PHPUnit\Framework\TestCase;

/**
* Unit test for CleanTranslationCacheListener class
*
* @author Max Milazzo maxmilazzo@timeout.com
*/
class CleanTranslationCacheListenerTest extends \PHPUnit_Framework_TestCase
class CleanTranslationCacheListenerTest extends TestCase
{

private $tempDir;
Expand Down
3 changes: 2 additions & 1 deletion Tests/Unit/Translation/DatabaseFreshResourceTest.php
Expand Up @@ -3,13 +3,14 @@
namespace Lexik\Bundle\TranslationBundle\Tests\Unit\Translation;

use Lexik\Bundle\TranslationBundle\Translation\DatabaseFreshResource;
use PHPUnit\Framework\TestCase;

/**
* DatabaseFreshResource tests.
*
* @author Cédric Girard <c.girard@lexik.fr>
*/
class DatabaseFreshResourceTest extends \PHPUnit_Framework_TestCase
class DatabaseFreshResourceTest extends TestCase
{
/**
* @group translator
Expand Down
3 changes: 2 additions & 1 deletion Tests/Unit/Translation/Exporter/JsonExporterTest.php
Expand Up @@ -3,13 +3,14 @@
namespace Lexik\Bundle\TranslationBundle\Tests\Unit\Translation\Exporter;

use Lexik\Bundle\TranslationBundle\Translation\Exporter\JsonExporter;
use PHPUnit\Framework\TestCase;

/**
* JsonExporter tests.
*
* @author Cédric Girard <c.girard@lexik.fr>
*/
class JsonExporterTest extends \PHPUnit_Framework_TestCase
class JsonExporterTest extends TestCase
{
private $outFileName = '/file.out';

Expand Down
3 changes: 2 additions & 1 deletion Tests/Unit/Translation/Exporter/PhpExporterTest.php
Expand Up @@ -3,13 +3,14 @@
namespace Lexik\Bundle\TranslationBundle\Tests\Unit\Translation\Exporter;

use Lexik\Bundle\TranslationBundle\Translation\Exporter\PhpExporter;
use PHPUnit\Framework\TestCase;

/**
* PhpExporter tests.
*
* @author Cédric Girard <c.girard@lexik.fr>
*/
class PhpExporterTest extends \PHPUnit_Framework_TestCase
class PhpExporterTest extends TestCase
{
private $outFileName = '/file.out';

Expand Down
3 changes: 2 additions & 1 deletion Tests/Unit/Translation/Exporter/XliffExporterTest.php
Expand Up @@ -3,13 +3,14 @@
namespace Lexik\Bundle\TranslationBundle\Tests\Unit\Translation\Exporter;

use Lexik\Bundle\TranslationBundle\Translation\Exporter\XliffExporter;
use PHPUnit\Framework\TestCase;

/**
* XliffExporter tests.
*
* @author Cédric Girard <c.girard@lexik.fr>
*/
class XliffExporterTest extends \PHPUnit_Framework_TestCase
class XliffExporterTest extends TestCase
{
private $outFileName = '/file.en.out';

Expand Down
3 changes: 2 additions & 1 deletion Tests/Unit/Translation/Exporter/YamlExporterTest.php
Expand Up @@ -3,13 +3,14 @@
namespace Lexik\Bundle\TranslationBundle\Tests\Unit\Translation\Exporter;

use Lexik\Bundle\TranslationBundle\Translation\Exporter\YamlExporter;
use PHPUnit\Framework\TestCase;

/**
* YamlExporter tests.
*
* @author Cédric Girard <c.girard@lexik.fr>
*/
class YamlExporterTest extends \PHPUnit_Framework_TestCase
class YamlExporterTest extends TestCase
{
private $outFileName = '/file.out';

Expand Down

0 comments on commit de4192d

Please sign in to comment.