Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Jun 8, 2024
1 parent 3349c06 commit db204b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/Gedmo/Blameable/BlameableUuidTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function testBlameableUuid(): void
$company = new Company();
$company->setName('ACME');

self::assertInstanceOf(Blameable::class, $company);
static::assertInstanceOf(Blameable::class, $company);

$this->em->persist($company);
$this->em->flush();
Expand All @@ -58,7 +58,7 @@ public function testBlameableUuid(): void
$created = $foundCompany->getCreated();
$createdUuid = $created instanceof Uuid ? $created->toRfc4122() : null;

self::assertSame($this->uuid->toRfc4122(), $createdUuid);
static::assertSame($this->uuid->toRfc4122(), $createdUuid);
}

protected function getUsedEntityFixtures(): array
Expand Down
1 change: 1 addition & 0 deletions tests/Gedmo/Blameable/Fixture/Entity/Company.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class Company implements Blameable
* @var UuidV6|null
*
* @Gedmo\Blameable(on="create")
*
* @ORM\Column(name="created", type="uuid")
*/
#[ORM\Column(name: 'created', type: 'uuid')]
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\Common\Annotations\PsrCachedReader;
use Doctrine\DBAL\Types\Type;
use Symfony\Component\Cache\Adapter\ArrayAdapter;
use Symfony\Bridge\Doctrine\Types\UuidType;
use Symfony\Component\Cache\Adapter\ArrayAdapter;

/*
* This is bootstrap for phpUnit unit tests,
Expand Down

0 comments on commit db204b9

Please sign in to comment.