We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e22a192 + 3e04bf7 commit 4f24e65Copy full SHA for 4f24e65
1 file changed
php-config/Emergence/Mueller/Investigator.config.d/laddr.php
@@ -7,6 +7,7 @@
7
use Emergence\Slack\API as SlackAPI;
8
9
Investigator::$tests['email-invalid'] = false;
10
+Investigator::$tests['ip-whitelist'] = false;
11
12
Investigator::$tests['has-about-url'] = [
13
'points' => -100,
@@ -15,6 +16,15 @@
15
16
}
17
];
18
19
+Investigator::$tests['has-twitter-url'] = [
20
+ 'points' => -100,
21
+ 'function' => function (IUser $User) {
22
+ return $User->Twitter
23
+ && stripos($User->Twitter, 'https://twitter.com/') !== 0
24
+ && (stripos($User->Twitter, 'http://') !== false || stripos($User->Twitter, 'https://') !== false);
25
+ }
26
+];
27
+
28
Investigator::$tests['has-comment-url'] = [
29
30
'function' => function (IUser $User, array &$userCache) {
0 commit comments