Showing 186 of 186 total issues
Opening brace of a class must be on the line after the definition Open
Open
class CepServiceFactory implements FactoryInterface{
- Exclude checks
Opening brace of a class must be on the line after the definition Open
Open
class CepNotFoundException extends \Exception{
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
Opening brace of a class must be on the line after the definition Open
Open
class ViaCepAdapterFactory implements FactoryInterface{
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if( is_null($format) )
- Exclude checks
Opening brace of a interface must be on the line after the definition Open
Open
interface CepAdapterInterface {
- Exclude checks
Expected "function abc(...)"; found "function abc (...)" Open
Open
protected function isJson ($string)
- Exclude checks
Expected "function abc(...)"; found "function abc (...)" Open
Open
protected function isJson ($string)
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace InfanaticaCepModule\Adapter;
- Exclude checks
Opening brace of a class must be on the line after the definition Open
Open
class ViaCepAdapter implements CepAdapterInterface {
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace InfanaticaCepModule\Adapter;
- Exclude checks
Expected "function abc(...)"; found "function abc (...)" Open
Open
protected function isJson ($string)
- Exclude checks
Expected 1 space between comma and type hint "EnderecoResponse"; 0 found Open
Open
public function __construct(Client $httpClient,EnderecoResponse $enderecoResponse)
- Exclude checks
Expected 0 spaces before opening parenthesis; 1 found Open
Open
protected function isJson ($string)
- Exclude checks
Opening brace of a class must be on the line after the definition Open
Open
class EnderecoResponseException extends \Exception{
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
Opening brace of a class must be on the line after the definition Open
Open
class PostmonAdapterFactory implements FactoryInterface{
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
Incorrect spacing between default value and equals sign for argument "$format"; expected 1 but found 0 Open
Open
public function getEnderecoByCep($cep, $format=null)
- Exclude checks