Find the best Rector rule to solve your problem. Searching through 869 rules.
Found 1 rule. That's the one:
Add $format argument to Ulid::isValid()
Symfony\Component\Uid\Ulid;
final class Foo
{
public function bar(string $id): bool
{
- return Ulid::isValid($id);
+ return Ulid::isValid($id, Symfony\Component\Uid\Ulid::FORMAT_BASE_32);
}
}