focuscanada/hubspot-custom-id

View on GitHub

Showing 5 of 5 total issues

The variable $vid_offset is not named in camelCase.
Open

    function syncList($list_id, $count = 100, $vid_offset = 0)
    {
        $updated = 0;

        do {
Severity: Minor
Found in src/SyncService.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 $vid_offset is not named in camelCase.
Open

    function syncList($list_id, $count = 100, $vid_offset = 0)
    {
        $updated = 0;

        do {
Severity: Minor
Found in src/SyncService.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 $vid_offset is not named in camelCase.
Open

    function getList($list_id, $count = 100, $vid_offset = 0)
    {
        return $this->hubspot->contactLists()->contacts($list_id, [
            "count" => $count,
            "vidOffset" => $vid_offset,
Severity: Minor
Found in src/SyncService.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 $list_id is not named in camelCase.
Open

    function getList($list_id, $count = 100, $vid_offset = 0)
    {
        return $this->hubspot->contactLists()->contacts($list_id, [
            "count" => $count,
            "vidOffset" => $vid_offset,
Severity: Minor
Found in src/SyncService.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 $list_id is not named in camelCase.
Open

    function syncList($list_id, $count = 100, $vid_offset = 0)
    {
        $updated = 0;

        do {
Severity: Minor
Found in src/SyncService.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