File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
php-config/Emergence/Mueller/Investigator.config.d Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 77use Emergence \Slack \API as SlackAPI ;
88
99Investigator::$ tests ['email-invalid ' ] = false ;
10+ Investigator::$ tests ['ip-whitelist ' ] = false ;
1011
1112Investigator::$ tests ['has-about-url ' ] = [
1213 'points ' => -100 ,
1516 }
1617];
1718
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+
1828Investigator::$ tests ['has-comment-url ' ] = [
1929 'points ' => -100 ,
2030 'function ' => function (IUser $ User , array &$ userCache ) {
You can’t perform that action at this time.
0 commit comments