Skip to content

Commit

Permalink
Housekeeping: phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Oct 24, 2020
1 parent 3e8c517 commit 2789cef
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
4 changes: 2 additions & 2 deletions tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3597Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
/**
* @group DDC-117
*/
class DDC3597Test extends \Doctrine\Tests\OrmFunctionalTestCase {

class DDC3597Test extends \Doctrine\Tests\OrmFunctionalTestCase
{
protected function setUp() : void
{
parent::setUp();
Expand Down
4 changes: 2 additions & 2 deletions tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3634Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
/**
* @group DDC-3634
*/
class DDC3634Test extends OrmFunctionalTestCase {

class DDC3634Test extends OrmFunctionalTestCase
{
protected function setUp() : void
{
parent::setUp();
Expand Down
5 changes: 0 additions & 5 deletions tests/Doctrine/Tests/ORM/Query/LexerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

class LexerTest extends OrmTestCase
{
//private $_lexer;

protected function setUp() : void {
}

/**
* @dataProvider provideTokens
*/
Expand Down
3 changes: 2 additions & 1 deletion tests/Doctrine/Tests/ORM/Query/UpdateSqlGenerationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ class UpdateSqlGenerationTest extends OrmTestCase
{
private $_em;

protected function setUp() : void {
protected function setUp() : void
{
if (DBALType::hasType('negative_to_positive')) {
DBALType::overrideType('negative_to_positive', NegativeToPositiveType::class);
} else {
Expand Down
4 changes: 2 additions & 2 deletions tests/Doctrine/Tests/OrmFunctionalTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Doctrine\Common\Cache\ArrayCache;
use Doctrine\DBAL\Driver\Connection;
use Doctrine\DBAL\Driver\PDOSqlite\Driver as SqliteDriver;
use Doctrine\DBAL\Logging\DebugStack;
use Doctrine\DBAL\Types\Type;
use Doctrine\ORM\Cache\CacheConfiguration;
Expand All @@ -20,6 +19,7 @@
use Doctrine\Tests\Models;
use PHPUnit\Framework\AssertionFailedError;
use PHPUnit\Framework\Warning;
use Throwable;

/**
* Base testcase class for all functional ORM testcases.
Expand Down Expand Up @@ -789,7 +789,7 @@ protected function _getEntityManager(
*
* @throws \Throwable
*/
protected function onNotSuccessfulTest(\Throwable $e) : void
protected function onNotSuccessfulTest(Throwable $e) : void
{
if ($e instanceof AssertionFailedError) {
throw $e;
Expand Down

0 comments on commit 2789cef

Please sign in to comment.