boehm-s/fun-php

View on GitHub

Showing 283 of 290 total issues

Expected 1 space after USE keyword; found 0
Open

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

Expected 1 space after USE keyword; found 0
Open

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

Expected 1 space after FUNCTION keyword; 0 found
Open

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

Expected 1 space after FUNCTION keyword; 0 found
Open

            return function(...$rest_params) use ($fn, $params) {
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($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 _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($arr) {
Severity: Minor
Found in src/fun.php by phpcodesniffer

Each PHP statement must be on a line by itself
Open

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

Expected 1 space after USE keyword; found 0
Open

        return _curry1(function ($_a) use($fn, $b, $c) { 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 ($_b, $_c) use ($fn, $a) { 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 _arity(Callable $fn) {
Severity: Minor
Found in src/internals/_arity.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 USE keyword; found 0
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($idx, $list) {
Severity: Minor
Found in src/fun.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

        return _curry3(function($fn, $prop, $obj) {
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 _curry3(function($prop, $default, $obj) {
Severity: Minor
Found in src/fun.php by phpcodesniffer

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

            return function(...$args) use ($fn) { return _curry2($fn)(...$args); };
Severity: Minor
Found in src/internals/_curry2.php by phpcodesniffer
Severity
Category
Status
Source
Language