WissamSawah/Weather

View on GitHub

Showing 84 of 84 total issues

The variable $BaseUrl is not named in camelCase.
Open

    public function multiCurlJson($details)
    {
        $accessKey  = $this->darkKey;
        $multiRequests = [];
        #future weather
Severity: Minor
Found in src/Weather/JsonWeather.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $BaseUrl is not named in camelCase.
Open

    public function indexAction() : object
    {
        $title = "Check IP (JSON)";
        $page = $this->di->get("page");
        $request = $this->di->get("request");
Severity: Minor
Found in src/Weather/JsonWeather.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $BaseUrl is not named in camelCase.
Open

    public function weatherCheckActionGet()
    {
        $title = "Check IP (JSON)";
        $page = $this->di->get("page");
        $request = $this->di->get("request");
Severity: Minor
Found in src/Weather/JsonWeather.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $BaseUrl is not named in camelCase.
Open

    public function multiCurlJson($details)
    {
        $accessKey  = $this->darkKey;
        $multiRequests = [];
        #future weather
Severity: Minor
Found in src/Weather/JsonWeather.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

Severity
Category
Status
Source
Language