Skip to content

Commit 0387d15

Browse files
feat(mueller): check if about is long instead of just present
1 parent cc6418c commit 0387d15

File tree

1 file changed

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

1 file changed

+4
-3
lines changed

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

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

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

11-
Investigator::$tests['has-about'] = [
11+
Investigator::$tests['has-long-about'] = [
1212
'points' => -10,
13-
'function' => [Investigator::class, 'testHasUserField'],
14-
'userField' => 'About'
13+
'function' => function (IUser $User, array &$userCache) {
14+
return $User->About && strlen($User->About) > 200;
15+
}
1516
];
1617

1718
Investigator::$tests['has-comment'] = [

0 commit comments

Comments
 (0)