Hello,
Just ran into an issue where typephp-ignore wasn't honored, as the tag was 11 frames above the failing check. For now, we've worked around it by extending the class and tagging the overridden method and using that one for tests:
final class IgnoringMoneyAmountSerializer extends MoneyAmountSerializer
{
/**
* @typephp-ignore 'not_a_number' deliberately violates from()'s numeric-string @param.
*/
public function denormalize(
mixed $data,
string $type,
?string $format = null,
array $context = [],
): mixed {
return parent::denormalize($data, $type, $format, $context);
}
}
But would be great if the frame window could instead be changed by the user.
Hello,
Just ran into an issue where typephp-ignore wasn't honored, as the tag was 11 frames above the failing check. For now, we've worked around it by extending the class and tagging the overridden method and using that one for tests:
But would be great if the frame window could instead be changed by the user.