features/slack/routes.php

Summary

Maintainability
A
0 mins
Test Coverage

Expected 1 space after FUNCTION keyword; 0 found
Open

$app->get('/events/:id/slack-channels', function($id) use ($app) {
Severity: Minor
Found in features/slack/routes.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

$app->delete('/events/:id/slack-channels/:channel', function($id, $channel) use ($app) {
Severity: Minor
Found in features/slack/routes.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

$app->get('/events/:id/slack-channels-messages/:starttime/:endtime', function($id, $starttime, $endtime) use ($app) {
Severity: Minor
Found in features/slack/routes.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

$app->post('/events/:id/slack-channels', function($id) use ($app) {
Severity: Minor
Found in features/slack/routes.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

$app->get('/events/:id/slack-channels/:channel', function($id, $channel) use ($app) {
Severity: Minor
Found in features/slack/routes.php by phpcodesniffer

No space found after comma in function call
Open

    $starttime = str_replace("-","/", $starttime);
Severity: Minor
Found in features/slack/routes.php by phpcodesniffer

No space found after comma in function call
Open

    $endtime = str_replace("-","/", $endtime);
Severity: Minor
Found in features/slack/routes.php by phpcodesniffer

There are no issues that match your filters.

Category
Status