10
10
use Neo4j \QueryAPI \OGM ;
11
11
use PHPUnit \Framework \Attributes \DataProvider ;
12
12
use PHPUnit \Framework \TestCase ;
13
-
13
+ /** @psalm-suppress UnusedClass */
14
14
class Neo4jOGMTest extends TestCase
15
15
{
16
16
private OGM $ ogm ;
@@ -374,7 +374,7 @@ public function testWithPath()
374
374
$ this ->assertEquals ('A ' , $ path ->getNodes ()[0 ]->getProperties ()['name ' ]['_value ' ]);
375
375
$ this ->assertEquals ('B ' , $ path ->getNodes ()[1 ]->getProperties ()['name ' ]['_value ' ]);
376
376
}
377
-
377
+ /** @psalm-suppress PossiblyUnusedParam */
378
378
#[DataProvider('integerDataProvider ' )] public function testWithInteger (string $ query , array $ parameters , int $ expectedResult ): void
379
379
{
380
380
$ actual = $ this ->ogm ->map ([
@@ -387,7 +387,7 @@ public function testWithPath()
387
387
388
388
389
389
390
-
390
+ /** @psalm-suppress PossiblyUnusedParam */
391
391
392
392
#[DataProvider('nullDataProvider ' )]
393
393
public function testWithNull (string $ query , array $ parameters , ?string $ expectedResult ): void
@@ -398,7 +398,7 @@ public function testWithNull(string $query, array $parameters, ?string $expected
398
398
]);
399
399
$ this ->assertEquals ($ expectedResult , $ actual );
400
400
}
401
-
401
+ /** @psalm-suppress PossiblyUnusedParam */
402
402
#[DataProvider('booleanDataProvider ' )]
403
403
public function testWithBoolean (string $ query , array $ parameters , ?bool $ expectedResult ): void
404
404
{
@@ -408,7 +408,7 @@ public function testWithBoolean(string $query, array $parameters, ?bool $expecte
408
408
]);
409
409
$ this ->assertEquals ($ expectedResult , $ actual );
410
410
}
411
-
411
+ /** @psalm-suppress PossiblyUnusedParam */
412
412
#[DataProvider('stringDataProvider ' )]
413
413
public function testWithString (string $ query , array $ parameters , ?string $ expectedResult ): void
414
414
{
0 commit comments