marcelog/PAMI

View on GitHub

Showing 282 of 282 total issues

Spaces must be used to indent lines; tabs are not allowed
Open

    //var_dump($a->send($originateMsg));

Spaces must be used to indent lines; tabs are not allowed
Open

    //var_dump($a->send(new AbsoluteTimeoutAction('SIP/XXXX-123123', 10)));

Spaces must be used to indent lines; tabs are not allowed
Open

    //var_dump($a->send(new HangupAction('SIP/XXXX-123123')));

Spaces must be used to indent lines; tabs are not allowed
Open

    //var_dump($a->send(new LogoffAction()));

Spaces must be used to indent lines; tabs are not allowed
Open

    //var_dump($a->send(new ReloadAction('chan_sip')));

Spaces must be used to indent lines; tabs are not allowed
Open

    //var_dump($a->send(new LocalOptimizeAwayAction('SIP/a-1')));

Spaces must be used to indent lines; tabs are not allowed
Open

    //var_dump($a->send(new DAHDIHangupAction('1')));

Spaces must be used to indent lines; tabs are not allowed
Open

    //var_dump($a->send(new ReloadAction()));

Spaces must be used to indent lines; tabs are not allowed
Open

    echo $e->getMessage() . "\n";

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

    $a->close(); // send logoff and close the connection.

Spaces must be used to indent lines; tabs are not allowed
Open

    $time = time();

Spaces must be used to indent lines; tabs are not allowed
Open

    while(true)//(time() - $time) < 60) // Wait for events.

Spaces must be used to indent lines; tabs are not allowed
Open

    //var_dump($a->send(new BridgeAction('SIP/a-1', 'SIP/a-2', true)));

Spaces must be used to indent lines; tabs are not allowed
Open

    //var_dump($a->send(new EventsAction()));

Spaces must be used to indent lines; tabs are not allowed
Open

        usleep(1000); // 1ms delay

Spaces must be used to indent lines; tabs are not allowed
Open

        // Since we declare(ticks=1) at the top, the following line is not necessary

Space before opening parenthesis of function call prohibited
Open

    exit (254);

Expected 1 space after closing parenthesis; found 17
Open

                switch($pid = pcntl_fork())

Expected 1 space after TRY keyword; newline found
Open

try
Severity
Category
Status
Source
Language