File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public function testBlameableUuid(): void
48
48
$ company = new Company ();
49
49
$ company ->setName ('ACME ' );
50
50
51
- self ::assertInstanceOf (Blameable::class, $ company );
51
+ static ::assertInstanceOf (Blameable::class, $ company );
52
52
53
53
$ this ->em ->persist ($ company );
54
54
$ this ->em ->flush ();
@@ -61,7 +61,7 @@ public function testBlameableUuid(): void
61
61
$ created = $ foundCompany ->getCreated ();
62
62
$ createdUuid = $ created instanceof UuidInterface ? $ created ->toString () : null ;
63
63
64
- self ::assertSame ($ this ->uuid ->toString (), $ createdUuid );
64
+ static ::assertSame ($ this ->uuid ->toString (), $ createdUuid );
65
65
}
66
66
67
67
protected function getUsedEntityFixtures (): array
Original file line number Diff line number Diff line change 11
11
12
12
use Doctrine \Common \Annotations \AnnotationReader ;
13
13
use Doctrine \Common \Annotations \PsrCachedReader ;
14
- use Symfony \Component \Cache \Adapter \ArrayAdapter ;
15
14
use Doctrine \DBAL \Types \Type ;
16
15
use Ramsey \Uuid \Doctrine \UuidType ;
16
+ use Symfony \Component \Cache \Adapter \ArrayAdapter ;
17
17
18
18
/*
19
19
* This is bootstrap for phpUnit unit tests,
25
25
*/
26
26
27
27
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 ' );
29
29
30
- require dirname (__DIR__ ) . '/vendor/autoload.php ' ;
30
+ require dirname (__DIR__ ). '/vendor/autoload.php ' ;
31
31
32
32
$ reader = new AnnotationReader ();
33
33
$ reader = new PsrCachedReader ($ reader , new ArrayAdapter ());
You can’t perform that action at this time.
0 commit comments