boehm-s/fun-php

View on GitHub

Showing 283 of 290 total issues

The variable $c__ is not named in camelCase.
Open

function _curry3_3_args($fn, $a, $b, $c) {
    $a__ = _isPlaceholder($a);
    $b__ = _isPlaceholder($b);
    $c__ = _isPlaceholder($c);

Severity: Minor
Found in src/internals/_curry3.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 $b__ is not named in camelCase.
Open

function _curry2($fn) {
    return function($a = null, $b = null) use ($fn) {
        $a__  = _isPlaceholder($a);
        $b__  = _isPlaceholder($b);
        $args = func_get_args();
Severity: Minor
Found in src/internals/_curry2.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 $a__ is not named in camelCase.
Open

function _curry3_3_args($fn, $a, $b, $c) {
    $a__ = _isPlaceholder($a);
    $b__ = _isPlaceholder($b);
    $c__ = _isPlaceholder($c);

Severity: Minor
Found in src/internals/_curry3.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 $_c is not named in camelCase.
Open

function _curry3_3_args($fn, $a, $b, $c) {
    $a__ = _isPlaceholder($a);
    $b__ = _isPlaceholder($b);
    $c__ = _isPlaceholder($c);

Severity: Minor
Found in src/internals/_curry3.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 $_c is not named in camelCase.
Open

function _curry3($fn) {
    return function($a = null, $b = null, $c = null) use ($fn) {
        $args = func_get_args();
        switch (count($args)) {
        case 0:
Severity: Minor
Found in src/internals/_curry3.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 $a__ is not named in camelCase.
Open

function _curry2($fn) {
    return function($a = null, $b = null) use ($fn) {
        $a__  = _isPlaceholder($a);
        $b__  = _isPlaceholder($b);
        $args = func_get_args();
Severity: Minor
Found in src/internals/_curry2.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 $_b is not named in camelCase.
Open

function _curry2($fn) {
    return function($a = null, $b = null) use ($fn) {
        $a__  = _isPlaceholder($a);
        $b__  = _isPlaceholder($b);
        $args = func_get_args();
Severity: Minor
Found in src/internals/_curry2.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 $_c is not named in camelCase.
Open

function _curry3_2_args($fn, $a, $b) {
    $a__ = _isPlaceholder($a);
    $b__ = _isPlaceholder($b);

    if ($a__ && $b__) {
Severity: Minor
Found in src/internals/_curry3.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 $_b is not named in camelCase.
Open

function _curry3_3_args($fn, $a, $b, $c) {
    $a__ = _isPlaceholder($a);
    $b__ = _isPlaceholder($b);
    $c__ = _isPlaceholder($c);

Severity: Minor
Found in src/internals/_curry3.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 $rest_params is not named in camelCase.
Open

    public static function partial(...$args) {
        return _curry2(function($fn, $params) {
            return function(...$rest_params) use ($fn, $params) {
                return call_user_func_array($fn, array_merge($params, $rest_params));
            };
Severity: Minor
Found in src/fun.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 $_b is not named in camelCase.
Open

function _curry2($fn) {
    return function($a = null, $b = null) use ($fn) {
        $a__  = _isPlaceholder($a);
        $b__  = _isPlaceholder($b);
        $args = func_get_args();
Severity: Minor
Found in src/internals/_curry2.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 $_c is not named in camelCase.
Open

function _curry3_2_args($fn, $a, $b) {
    $a__ = _isPlaceholder($a);
    $b__ = _isPlaceholder($b);

    if ($a__ && $b__) {
Severity: Minor
Found in src/internals/_curry3.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 $_c is not named in camelCase.
Open

function _curry3_2_args($fn, $a, $b) {
    $a__ = _isPlaceholder($a);
    $b__ = _isPlaceholder($b);

    if ($a__ && $b__) {
Severity: Minor
Found in src/internals/_curry3.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 $b__ is not named in camelCase.
Open

function _curry3_2_args($fn, $a, $b) {
    $a__ = _isPlaceholder($a);
    $b__ = _isPlaceholder($b);

    if ($a__ && $b__) {
Severity: Minor
Found in src/internals/_curry3.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 $b__ is not named in camelCase.
Open

function _curry3_3_args($fn, $a, $b, $c) {
    $a__ = _isPlaceholder($a);
    $b__ = _isPlaceholder($b);
    $c__ = _isPlaceholder($c);

Severity: Minor
Found in src/internals/_curry3.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 $a__ is not named in camelCase.
Open

function _curry3_3_args($fn, $a, $b, $c) {
    $a__ = _isPlaceholder($a);
    $b__ = _isPlaceholder($b);
    $c__ = _isPlaceholder($c);

Severity: Minor
Found in src/internals/_curry3.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 $c__ is not named in camelCase.
Open

function _curry3_3_args($fn, $a, $b, $c) {
    $a__ = _isPlaceholder($a);
    $b__ = _isPlaceholder($b);
    $c__ = _isPlaceholder($c);

Severity: Minor
Found in src/internals/_curry3.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 $_b is not named in camelCase.
Open

function _curry3_3_args($fn, $a, $b, $c) {
    $a__ = _isPlaceholder($a);
    $b__ = _isPlaceholder($b);
    $c__ = _isPlaceholder($c);

Severity: Minor
Found in src/internals/_curry3.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 $b__ is not named in camelCase.
Open

function _curry2($fn) {
    return function($a = null, $b = null) use ($fn) {
        $a__  = _isPlaceholder($a);
        $b__  = _isPlaceholder($b);
        $args = func_get_args();
Severity: Minor
Found in src/internals/_curry2.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 $c__ is not named in camelCase.
Open

function _curry3_3_args($fn, $a, $b, $c) {
    $a__ = _isPlaceholder($a);
    $b__ = _isPlaceholder($b);
    $c__ = _isPlaceholder($c);

Severity: Minor
Found in src/internals/_curry3.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