Skip to content

Commit

Permalink
Merge pull request #262 from CodeForPhilly/develop
Browse files Browse the repository at this point in the history
Release: v3.2.3
  • Loading branch information
themightychris authored Oct 18, 2022
2 parents e22a192 + 3e04bf7 commit 4f24e65
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions php-config/Emergence/Mueller/Investigator.config.d/laddr.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Emergence\Slack\API as SlackAPI;

Investigator::$tests['email-invalid'] = false;
Investigator::$tests['ip-whitelist'] = false;

Investigator::$tests['has-about-url'] = [
'points' => -100,
Expand All @@ -15,6 +16,15 @@
}
];

Investigator::$tests['has-twitter-url'] = [
'points' => -100,
'function' => function (IUser $User) {
return $User->Twitter
&& stripos($User->Twitter, 'https://twitter.com/') !== 0
&& (stripos($User->Twitter, 'http://') !== false || stripos($User->Twitter, 'https://') !== false);
}
];

Investigator::$tests['has-comment-url'] = [
'points' => -100,
'function' => function (IUser $User, array &$userCache) {
Expand Down

0 comments on commit 4f24e65

Please sign in to comment.