Showing 285 of 286 total issues
There must be one blank line after the namespace declaration Open
Open
namespace Nopolabs\Yabot\Plugin;
- Exclude checks
Blank line found at end of control structure Open
Open
- Exclude checks
Blank line found at start of control structure Open
Open
try {
- Exclude checks
Expected 1 space after FUNCTION keyword; 0 found Open
Open
$onRejected = $onRejected ?? function($reason) { $this->logRejection($reason); };
- Exclude checks
Each PHP statement must be on a line by itself Open
Open
$onRejected = $onRejected ?? function($reason) { $this->logRejection($reason); };
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace Nopolabs\Yabot\Helpers;
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace Nopolabs\Yabot\Helpers;
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace Nopolabs\Yabot\Slack;
- Exclude checks
Expected 1 space after FUNCTION keyword; 0 found Open
Open
$this->addPeriodicTimer(3600, function() {
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace Nopolabs\Yabot\Plugin;
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace Nopolabs\Yabot\Helpers;
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace Nopolabs\Yabot\Plugin;
- Exclude checks
Expected 1 space after FUNCTION keyword; 0 found Open
Open
$this->realTimeClient->getAuthedUser()->then(function(User $user) use ($authedUserUpdated) {
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace Nopolabs\Yabot\Slack;
- Exclude checks
Expected 1 space after FUNCTION keyword; 0 found Open
Open
return function() use ($function) {
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace Nopolabs\Yabot\Slack;
- Exclude checks
Expected 1 space after FUNCTION keyword; 0 found Open
Open
$this->realTimeClient->getUsers()->then(function(array $users) {
- Exclude checks
Expected 1 space after FUNCTION keyword; 0 found Open
Open
$this->realTimeClient->getChannels()->then(function(array $channels) {
- Exclude checks
Blank line found at start of control structure Open
Open
if ($interval = $this->get('connection_monitor.interval')) {
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace Nopolabs\Yabot\Guzzle;
- Exclude checks