Skip to content

Commit 1727d18

Browse files
committed
Amended Coding Style
1 parent 21d9af6 commit 1727d18

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/Gedmo/Blameable/BlameableUuidTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function testBlameableUuid(): void
4848
$company = new Company();
4949
$company->setName('ACME');
5050

51-
self::assertInstanceOf(Blameable::class, $company);
51+
static::assertInstanceOf(Blameable::class, $company);
5252

5353
$this->em->persist($company);
5454
$this->em->flush();
@@ -61,7 +61,7 @@ public function testBlameableUuid(): void
6161
$created = $foundCompany->getCreated();
6262
$createdUuid = $created instanceof UuidInterface ? $created->toString() : null;
6363

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

6767
protected function getUsedEntityFixtures(): array

tests/bootstrap.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
use Doctrine\Common\Annotations\AnnotationReader;
1313
use Doctrine\Common\Annotations\PsrCachedReader;
14-
use Symfony\Component\Cache\Adapter\ArrayAdapter;
1514
use Doctrine\DBAL\Types\Type;
1615
use Ramsey\Uuid\Doctrine\UuidType;
16+
use Symfony\Component\Cache\Adapter\ArrayAdapter;
1717

1818
/*
1919
* This is bootstrap for phpUnit unit tests,
@@ -25,9 +25,9 @@
2525
*/
2626

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

30-
require dirname(__DIR__) . '/vendor/autoload.php';
30+
require dirname(__DIR__).'/vendor/autoload.php';
3131

3232
$reader = new AnnotationReader();
3333
$reader = new PsrCachedReader($reader, new ArrayAdapter());

0 commit comments

Comments
 (0)