Skip to content

Commit

Permalink
Amended Coding Style
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolfsjaeger committed Sep 19, 2023
1 parent 21d9af6 commit 1727d18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/Gedmo/Blameable/BlameableUuidTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,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 @@ -61,7 +61,7 @@ public function testBlameableUuid(): void
$created = $foundCompany->getCreated();
$createdUuid = $created instanceof UuidInterface ? $created->toString() : null;

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

protected function getUsedEntityFixtures(): array
Expand Down
6 changes: 3 additions & 3 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\Common\Annotations\PsrCachedReader;
use Symfony\Component\Cache\Adapter\ArrayAdapter;
use Doctrine\DBAL\Types\Type;
use Ramsey\Uuid\Doctrine\UuidType;
use Symfony\Component\Cache\Adapter\ArrayAdapter;

/*
* This is bootstrap for phpUnit unit tests,
Expand All @@ -25,9 +25,9 @@
*/

define('TESTS_PATH', __DIR__);
define('TESTS_TEMP_DIR', sys_get_temp_dir() . '/doctrine-extension-tests');
define('TESTS_TEMP_DIR', sys_get_temp_dir().'/doctrine-extension-tests');

require dirname(__DIR__) . '/vendor/autoload.php';
require dirname(__DIR__).'/vendor/autoload.php';

$reader = new AnnotationReader();
$reader = new PsrCachedReader($reader, new ArrayAdapter());
Expand Down

0 comments on commit 1727d18

Please sign in to comment.