WissamSawah/Weather

View on GitHub
src/Weather/WeatherIp.php

Summary

Maintainability
A
0 mins
Test Coverage

There must be one blank line after the namespace declaration
Open

namespace Aisa\Weather;
Severity: Minor
Found in src/Weather/WeatherIp.php by phpcodesniffer

Expected 0 spaces before opening brace; 1 found
Open

 {
Severity: Minor
Found in src/Weather/WeatherIp.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 9
Open

         }
Severity: Minor
Found in src/Weather/WeatherIp.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 5
Open

     public function validateIp($ipAddress)
Severity: Minor
Found in src/Weather/WeatherIp.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 9
Open

         if (filter_var($ipAddress, FILTER_VALIDATE_IP)) {
Severity: Minor
Found in src/Weather/WeatherIp.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 1
Open

 class WeatherIp implements ContainerInjectableInterface
Severity: Minor
Found in src/Weather/WeatherIp.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 1
Open

 }
Severity: Minor
Found in src/Weather/WeatherIp.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 5
Open

     }
Severity: Minor
Found in src/Weather/WeatherIp.php by phpcodesniffer

There are no issues that match your filters.

Category
Status