plugins/Quotes.php
Showing 9 of 9 total issues
Function isTriggered
has a Cognitive Complexity of 18 (exceeds 5 allowed). Consider refactoring. Open
Open
public function isTriggered() { if (!isset($this->info['text'])) { $this->sendUsage();
- Read upRead up
Method isTriggered
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function isTriggered() { if (!isset($this->info['text'])) { $this->sendUsage();
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return;