boehm-s/fun-php

View on GitHub

Showing 283 of 290 total issues

Each PHP statement must be on a line by itself
Open

        return _curry2(function ($_a, $_c) use ($fn, $b) { return $fn($_a, $b, $_c); });
Severity: Minor
Found in src/internals/_curry3.php by phpcodesniffer

Expected 1 space after USE keyword; found 0
Open

        return _curry2(function ($_b, $_c) use($fn, $a) { return $fn($a, $_b, $_c); });
Severity: Minor
Found in src/internals/_curry3.php by phpcodesniffer

Each PHP statement must be on a line by itself
Open

        return _curry1(function ($_a) use($fn, $b, $c) { return $fn($_a, $b, $c); });
Severity: Minor
Found in src/internals/_curry3.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

        return _curry2(function($fn, $array) {
Severity: Minor
Found in src/fun.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

        return _curry2(function($props, $arr) {
Severity: Minor
Found in src/fun.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

        return _curry2(function($props, $obj) {
Severity: Minor
Found in src/fun.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

        return _curry2(function($fn, $params) {
Severity: Minor
Found in src/fun.php by phpcodesniffer

Expected 1 space after USE keyword; found 0
Open

        return _curry2(function ($_a, $_c) use($fn, $b) { return $fn($_a, $b, $_c); });
Severity: Minor
Found in src/internals/_curry3.php by phpcodesniffer

Each PHP statement must be on a line by itself
Open

        return _curry2(function ($_a, $_c) use($fn, $b) { return $fn($_a, $b, $_c); });
Severity: Minor
Found in src/internals/_curry3.php by phpcodesniffer

Each PHP statement must be on a line by itself
Open

        return _curry1(function ($_b) use($fn, $a, $c) { return $fn($a, $_b, $c); });
Severity: Minor
Found in src/internals/_curry3.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

        return _curry2(function($fn, $array) {
Severity: Minor
Found in src/fun.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

        return _curry2(function($fn, $array) {
Severity: Minor
Found in src/fun.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

        return _curry1(function($a) {
Severity: Minor
Found in src/fun.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

    return function($a = null, $b = null) use ($fn) {
Severity: Minor
Found in src/internals/_curry2.php by phpcodesniffer

Expected 1 space after USE keyword; found 0
Open

        return _curry1(function ($_c) use($fn, $a, $b) { return $fn($a, $b, $_c); });
Severity: Minor
Found in src/internals/_curry3.php by phpcodesniffer

PHP keywords must be lowercase; expected "callable" but found "Callable"
Open

function _partition(Callable $fn, iterable $array) {
Severity: Minor
Found in src/internals/_filter.php by phpcodesniffer

PHP keywords must be lowercase; expected "callable" but found "Callable"
Open

function _reduce(Callable $fn, iterable $array, $identity) {
Severity: Minor
Found in src/internals/_reduce.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

            return function(...$args) use ($fn) { return _curry3($fn)(...$args); };
Severity: Minor
Found in src/internals/_curry3.php by phpcodesniffer

Terminating statement must be indented to the same level as the CASE body
Open

            return _isPlaceholder($a) ? $fn : _curry2(function ($_b, $_c) use ($fn, $a) {
Severity: Minor
Found in src/internals/_curry3.php by phpcodesniffer

PHP keywords must be lowercase; expected "callable" but found "Callable"
Open

function _filter(Callable $fn, iterable $array) {
Severity: Minor
Found in src/internals/_filter.php by phpcodesniffer
Severity
Category
Status
Source
Language