Skip to content

Commit

Permalink
Merge pull request #108 from skeemer/fix-phpunit-deprecations
Browse files Browse the repository at this point in the history
Fix phpunit deprecations
  • Loading branch information
frasmage authored Sep 22, 2024
2 parents de76793 + 4536f98 commit fb0d0ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Integration/DataType/HandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,15 +245,15 @@ public function test_it_can_verify_and_serialize_data(
HandlerInterface $handler,
string $type,
mixed $value,
array $incompatible,
array $invalid,
null|int|float $numericValue,
bool $usesHmac
): void {
$this->assertEquals($type, $handler->getDataType());
$this->assertTrue($handler->canHandleValue($value));

foreach ($incompatible as $incompatibleValue) {
$this->assertFalse($handler->canHandleValue($incompatibleValue), "Failed for ". get_debug_type($incompatibleValue));
foreach ($invalid as $invalidValue) {
$this->assertFalse($handler->canHandleValue($invalidValue), "Failed for ". get_debug_type($invalidValue));
}

$serialized = $handler->serializeValue($value);
Expand Down

0 comments on commit fb0d0ab

Please sign in to comment.