src/InfanaticaCepModule/Service/CepService.php
Opening brace of a class must be on the line after the definition Open
Open
class CepService {
- Exclude checks
Incorrect spacing between argument "$format" and equals sign; expected 1 but found 0 Open
Open
public function getEnderecoByCep($cep, $format=null)
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if( is_null($format) )
- 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
Expected 1 space after IF keyword; 0 found Open
Open
if( is_null($format) )
- Exclude checks
No space found after comma in function call Open
Open
return $this->formatEndereco($endereco,$format);
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if( is_null($format) )
- Exclude checks
No space found after comma in function call Open
Open
if(! method_exists($endereco,$nomeDoMetodo))
- Exclude checks
Expected 1 space after closing parenthesis; found 9 Open
Open
if( is_null($format) )
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
if (! $endereco instanceof EnderecoResponseInterface){
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Expected 1 space after IF keyword; 0 found Open
Open
if(! method_exists($endereco,$nomeDoMetodo))
- Exclude checks
Expected 1 space after closing parenthesis; found 9 Open
Open
if(! method_exists($endereco,$nomeDoMetodo))
- Exclude checks