spoofchecker.stub.php 749 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /** @generate-class-entries */
  3. class Spoofchecker
  4. {
  5. public function __construct() {}
  6. /**
  7. * @param int $errorCode
  8. * @tentative-return-type
  9. */
  10. public function isSuspicious(string $string, &$errorCode = null): bool {}
  11. /**
  12. * @param int $errorCode
  13. * @tentative-return-type
  14. */
  15. public function areConfusable(string $string1, string $string2, &$errorCode = null): bool {}
  16. /** @tentative-return-type */
  17. public function setAllowedLocales(string $locales): void {}
  18. /** @tentative-return-type */
  19. public function setChecks(int $checks): void {}
  20. #if U_ICU_VERSION_MAJOR_NUM >= 58
  21. /** @tentative-return-type */
  22. public function setRestrictionLevel(int $level): void {}
  23. #endif
  24. }