Skip to content

Commit 07e8d50

Browse files
feat(mueller): switch from long about check to URL check
1 parent 0387d15 commit 07e8d50

File tree

1 file changed

+3
-3
lines changed
  • php-config/Emergence/Mueller/Investigator.config.d

1 file changed

+3
-3
lines changed

php-config/Emergence/Mueller/Investigator.config.d/laddr.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
Investigator::$tests['email-invalid'] = false;
1010

11-
Investigator::$tests['has-long-about'] = [
12-
'points' => -10,
11+
Investigator::$tests['has-about-url'] = [
12+
'points' => -100,
1313
'function' => function (IUser $User, array &$userCache) {
14-
return $User->About && strlen($User->About) > 200;
14+
return $User->About && (stripos($User->About, 'http://') !== false || stripos($User->About, 'https://') !== false);
1515
}
1616
];
1717

0 commit comments

Comments
 (0)