Infanatica/InfanaticaCepModule

View on GitHub

Showing 186 of 186 total issues

Opening brace of a class must be on the line after the definition
Open

class RepublicaVirtualAdapter implements CepAdapterInterface {

Expected 1 space between comma and type hint "EnderecoResponse"; 0 found
Open

    public function __construct(Client $httpClient,EnderecoResponse $enderecoResponse)

Expected "function abc(...)"; found "function abc (...)"
Open

    protected function isJson ($string)

Function closing brace must go on the next line following the body; found 1 blank lines before brace
Open

    }

Opening brace of a class must be on the line after the definition
Open

class CorreioControlAdapterFactory implements FactoryInterface{

Opening brace of a class must be on the line after the definition
Open

class RepublicaVirtualAdapterFactory implements FactoryInterface{

The closing brace for the class must go on the next line after the body
Open

}

Opening brace of a class must be on the line after the definition
Open

class EnderecoResponse implements EnderecoResponseInterface{

Expected 1 space between comma and type hint "EnderecoResponse"; 0 found
Open

    public function __construct(Client $httpClient,EnderecoResponse $enderecoResponse)

Expected 0 spaces before opening parenthesis; 1 found
Open

    protected function isJson ($string)

Opening brace of a class must be on the line after the definition
Open

class CepService {

Incorrect spacing between argument "$format" and equals sign; expected 1 but found 0
Open

    public function getEnderecoByCep($cep, $format=null)

Opening brace of a class must be on the line after the definition
Open

class CorreioControlAdapter implements CepAdapterInterface {

There must be one blank line after the last USE statement; 0 found;
Open

use Zend\Http\Response;

There must be one blank line after the namespace declaration
Open

namespace InfanaticaCepModule\Adapter;

There must be one blank line after the namespace declaration
Open

namespace InfanaticaCepModule\Adapter;

Opening brace of a class must be on the line after the definition
Open

class PostmonAdapter implements CepAdapterInterface {

Opening brace of a class must be on the line after the definition
Open

class EnderecoFormatException extends \Exception{

The closing brace for the class must go on the next line after the body
Open

}

Expected 0 spaces before opening parenthesis; 1 found
Open

    protected function isJson ($string)
Severity
Category
Status
Source
Language