Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jul 24, 2023
1 parent f943fb7 commit 479e7eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@

namespace Cycle\ORM\Tests\Functional\Driver\Common\Integration\Case427;

use Cycle\ORM\Collection\Pivoted\PivotedCollectionInterface;
use Cycle\ORM\Select;
use Cycle\ORM\Tests\Functional\Driver\Common\BaseTest;
use Cycle\ORM\Tests\Functional\Driver\Common\Integration\Case427\Entity\Buyer;
use Cycle\ORM\Tests\Functional\Driver\Common\Integration\Case427\Entity\BuyerPartner;
use Cycle\ORM\Tests\Functional\Driver\Common\Integration\Case427\Entity\User;
use Cycle\ORM\Tests\Functional\Driver\Common\Integration\IntegrationTestTrait;
use Cycle\ORM\Tests\Traits\TableTrait;
use Ramsey\Uuid\Uuid;

abstract class CaseTest extends BaseTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

namespace Cycle\ORM\Tests\Functional\Driver\Common\Integration\Case427\Entity;

use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;

class Buyer
{
public array $partners = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ public function uncast(array $data): array
}
if (!$data[$column] instanceof UuidInterface) {
TestCase::fail(\sprintf(
"Expected UuidInterface, got %s: %s",
'Expected UuidInterface, got %s: %s',
\get_debug_type($data[$column]),
\print_r($data[$column], true)));
\print_r($data[$column], true)
));
}

$data[$column] = $data[$column]->toString();
Expand Down

0 comments on commit 479e7eb

Please sign in to comment.