Function _curry3_3_args
has a Cognitive Complexity of 36 (exceeds 5 allowed). Consider refactoring. Invalid
function _curry3_3_args($fn, $a, $b, $c) {
$a__ = _isPlaceholder($a);
$b__ = _isPlaceholder($b);
$c__ = _isPlaceholder($c);
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function _curry3_2_args
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. Invalid
function _curry3_2_args($fn, $a, $b) {
$a__ = _isPlaceholder($a);
$b__ = _isPlaceholder($b);
if ($a__ && $b__) {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Avoid too many return
statements within this method. Invalid
return _curry1(function ($_a) use($fn, $b, $c) { return $fn($_a, $b, $c); });
Avoid too many return
statements within this method. Invalid
return _curry1(function ($_c) use($fn, $a, $b) { return $fn($a, $b, $_c); });
Avoid too many return
statements within this method. Invalid
return _curry1(function ($_b) use($fn, $a, $c) { return $fn($a, $_b, $c); });
Avoid too many return
statements within this method. Invalid
return $fn($a, $b, $c);
The function _curry3_3_args() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10. Open
function _curry3_3_args($fn, $a, $b, $c) {
$a__ = _isPlaceholder($a);
$b__ = _isPlaceholder($b);
$c__ = _isPlaceholder($c);
- Read upRead up
- Exclude checks
CyclomaticComplexity
Since: 0.1
Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.
Example
// Cyclomatic Complexity = 11
class Foo {
1 public function example() {
2 if ($a == $b) {
3 if ($a1 == $b1) {
fiddle();
4 } elseif ($a2 == $b2) {
fiddle();
} else {
fiddle();
}
5 } elseif ($c == $d) {
6 while ($c == $d) {
fiddle();
}
7 } elseif ($e == $f) {
8 for ($n = 0; $n < $h; $n++) {
fiddle();
}
} else {
switch ($z) {
9 case 1:
fiddle();
break;
10 case 2:
fiddle();
break;
11 case 3:
fiddle();
break;
default:
fiddle();
break;
}
}
}
}
Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity
The method _curry3_2_args uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return _curry1(function ($_c) use ($fn, $a, $b) { return $fn($a, $b, $_c); });
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method _curry3_3_args uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return $fn($a, $b, $c);
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 7 and the first side effect is on line 3. Open
<?php
- Exclude checks
Avoid variables with short names like $b. Configured minimum length is 3. Open
return function($a = null, $b = null, $c = null) use ($fn) {
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $fn. Configured minimum length is 3. Open
function _curry3($fn) {
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $_a. Configured minimum length is 3. Open
return _curry2(function ($_a, $_c) use ($fn, $b) { return $fn($_a, $b, $_c); });
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $c. Configured minimum length is 3. Open
function _curry3_3_args($fn, $a, $b, $c) {
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $a. Configured minimum length is 3. Open
return function($a = null, $b = null, $c = null) use ($fn) {
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $_b. Configured minimum length is 3. Open
return _isPlaceholder($a) ? $fn : _curry2(function ($_b, $_c) use ($fn, $a) {
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $_c. Configured minimum length is 3. Open
return _isPlaceholder($a) ? $fn : _curry2(function ($_b, $_c) use ($fn, $a) {
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $b. Configured minimum length is 3. Open
function _curry3_2_args($fn, $a, $b) {
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $a. Configured minimum length is 3. Open
function _curry3_3_args($fn, $a, $b, $c) {
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $b. Configured minimum length is 3. Open
function _curry3_3_args($fn, $a, $b, $c) {
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $_a. Configured minimum length is 3. Open
return _curry2(function ($_a, $_b) use ($fn, $c) { return $fn($_a, $_b, $c); });
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $fn. Configured minimum length is 3. Open
function _curry3_2_args($fn, $a, $b) {
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $fn. Configured minimum length is 3. Open
function _curry3_3_args($fn, $a, $b, $c) {
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $c. Configured minimum length is 3. Open
return function($a = null, $b = null, $c = null) use ($fn) {
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $_c. Configured minimum length is 3. Open
return _curry2(function ($_a, $_c) use ($fn, $b) { return $fn($_a, $b, $_c); });
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $a. Configured minimum length is 3. Open
function _curry3_2_args($fn, $a, $b) {
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $_b. Configured minimum length is 3. Open
return _curry2(function ($_b, $_c) use ($fn, $a) { return $fn($a, $_b, $_c); });
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $_b. Configured minimum length is 3. Open
return _curry2(function ($_a, $_b) use ($fn, $c) { return $fn($_a, $_b, $c); });
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $_c. Configured minimum length is 3. Open
return _curry2(function ($_a, $_c) use($fn, $b) { return $fn($_a, $b, $_c); });
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Each PHP statement must be on a line by itself Open
return _curry1(function ($_c) use ($fn, $a, $b) { return $fn($a, $b, $_c); });
- Exclude checks
Each PHP statement must be on a line by itself Open
return _curry2(function ($_b, $_c) use($fn, $a) { return $fn($a, $_b, $_c); });
- Exclude checks
Each PHP statement must be on a line by itself Open
return _curry2(function ($_a, $_b) use ($fn, $c) { return $fn($_a, $_b, $c); });
- Exclude checks
Expected 1 space after USE keyword; found 0 Open
return _curry1(function ($_a) use($fn, $b, $c) { return $fn($_a, $b, $c); });
- Exclude checks
Each PHP statement must be on a line by itself Open
return _curry2(function ($_b, $_c) use ($fn, $a) { return $fn($a, $_b, $_c); });
- Exclude checks
Expected 1 space after USE keyword; found 0 Open
return _curry1(function ($_b) use($fn, $a, $c) { return $fn($a, $_b, $c); });
- Exclude checks
Each PHP statement must be on a line by itself Open
return _curry2(function ($_a, $_c) use ($fn, $b) { return $fn($_a, $b, $_c); });
- Exclude checks
Expected 1 space after USE keyword; found 0 Open
return _curry2(function ($_b, $_c) use($fn, $a) { return $fn($a, $_b, $_c); });
- Exclude checks
Each PHP statement must be on a line by itself Open
return _curry1(function ($_a) use($fn, $b, $c) { return $fn($_a, $b, $c); });
- Exclude checks
Expected 1 space after USE keyword; found 0 Open
return _curry2(function ($_a, $_c) use($fn, $b) { return $fn($_a, $b, $_c); });
- Exclude checks
Each PHP statement must be on a line by itself Open
return _curry2(function ($_a, $_c) use($fn, $b) { return $fn($_a, $b, $_c); });
- Exclude checks
Each PHP statement must be on a line by itself Open
return _curry1(function ($_b) use($fn, $a, $c) { return $fn($a, $_b, $c); });
- Exclude checks
Expected 1 space after USE keyword; found 0 Open
return _curry1(function ($_c) use($fn, $a, $b) { return $fn($a, $b, $_c); });
- Exclude checks
Expected 1 space after FUNCTION keyword; 0 found Open
return function(...$args) use ($fn) { return _curry3($fn)(...$args); };
- Exclude checks
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) {
- Exclude checks
Expected 1 space after FUNCTION keyword; 0 found Open
return function($a = null, $b = null, $c = null) use ($fn) {
- Exclude checks
Each PHP statement must be on a line by itself Open
return function(...$args) use ($fn) { return _curry3($fn)(...$args); };
- Exclude checks
Each PHP statement must be on a line by itself Open
return _curry1(function ($_c) use($fn, $a, $b) { return $fn($a, $b, $_c); });
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
return _curry3_2_args($fn, $a, $b);
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
return _curry3_3_args($fn, $a, $b, $c);
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
return function(...$args) use ($fn) { return _curry3($fn)(...$args); };
- Exclude checks
Closing brace must be on a line by itself Open
return _curry2(function ($_a, $_c) use ($fn, $b) { return $fn($_a, $b, $_c); });
- Exclude checks
Closing brace must be on a line by itself Open
return _curry1(function ($_b) use($fn, $a, $c) { return $fn($a, $_b, $c); });
- Exclude checks
Usage of ELSE IF is discouraged; use ELSEIF instead Open
} else if ($a__ && $b__) {
- Exclude checks
Opening brace must be the last content on the line Open
return _curry2(function ($_b, $_c) use($fn, $a) { return $fn($a, $_b, $_c); });
- Exclude checks
Opening brace must be the last content on the line Open
return _curry2(function ($_a, $_c) use ($fn, $b) { return $fn($_a, $b, $_c); });
- Exclude checks
Closing brace must be on a line by itself Open
return _curry2(function ($_b, $_c) use($fn, $a) { return $fn($a, $_b, $_c); });
- Exclude checks
Closing brace must be on a line by itself Open
return _curry1(function ($_c) use ($fn, $a, $b) { return $fn($a, $b, $_c); });
- Exclude checks
Opening brace must be the last content on the line Open
return _curry2(function ($_a, $_c) use($fn, $b) { return $fn($_a, $b, $_c); });
- Exclude checks
Opening brace should be on a new line Open
function _curry3_3_args($fn, $a, $b, $c) {
- Exclude checks
Usage of ELSE IF is discouraged; use ELSEIF instead Open
} else if ($a__ && $c__) {
- Exclude checks
Usage of ELSE IF is discouraged; use ELSEIF instead Open
} else if ($a__) {
- Exclude checks
Closing brace must be on a line by itself Open
return _curry2(function ($_a, $_c) use($fn, $b) { return $fn($_a, $b, $_c); });
- Exclude checks
Closing brace must be on a line by itself Open
return _curry2(function ($_b, $_c) use ($fn, $a) { return $fn($a, $_b, $_c); });
- Exclude checks
Usage of ELSE IF is discouraged; use ELSEIF instead Open
} else if ($c__) {
- Exclude checks
Opening brace must be the last content on the line Open
return _curry2(function ($_b, $_c) use ($fn, $a) { return $fn($a, $_b, $_c); });
- Exclude checks
Opening brace must be the last content on the line Open
return _curry1(function ($_c) use ($fn, $a, $b) { return $fn($a, $b, $_c); });
- Exclude checks
Usage of ELSE IF is discouraged; use ELSEIF instead Open
} else if ($a__) {
- Exclude checks
Opening brace must be the last content on the line Open
return _curry2(function ($_a, $_b) use ($fn, $c) { return $fn($_a, $_b, $c); });
- Exclude checks
Closing brace must be on a line by itself Open
return _curry1(function ($_a) use($fn, $b, $c) { return $fn($_a, $b, $c); });
- Exclude checks
Usage of ELSE IF is discouraged; use ELSEIF instead Open
} else if ($b__ && $c__) {
- Exclude checks
Opening brace should be on a new line Open
function _curry3_2_args($fn, $a, $b) {
- Exclude checks
Usage of ELSE IF is discouraged; use ELSEIF instead Open
} else if ($b__) {
- Exclude checks
Closing brace must be on a line by itself Open
return _curry2(function ($_a, $_b) use ($fn, $c) { return $fn($_a, $_b, $c); });
- Exclude checks
Opening brace must be the last content on the line Open
return _curry1(function ($_b) use($fn, $a, $c) { return $fn($a, $_b, $c); });
- Exclude checks
Opening brace must be the last content on the line Open
return _curry1(function ($_a) use($fn, $b, $c) { return $fn($_a, $b, $c); });
- Exclude checks
Usage of ELSE IF is discouraged; use ELSEIF instead Open
} else if ($b__) {
- Exclude checks
Opening brace should be on a new line Open
function _curry3($fn) {
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
case 2:
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
case 0:
- Exclude checks
Closing brace must be on a line by itself Open
return function(...$args) use ($fn) { return _curry3($fn)(...$args); };
- Exclude checks
Opening brace must be the last content on the line Open
return _curry1(function ($_c) use($fn, $a, $b) { return $fn($a, $b, $_c); });
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
case 1:
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
default:
- Exclude checks
Closing brace must be on a line by itself Open
return _curry1(function ($_c) use($fn, $a, $b) { return $fn($a, $b, $_c); });
- Exclude checks
Opening brace must be the last content on the line Open
return function(...$args) use ($fn) { return _curry3($fn)(...$args); };
- Exclude checks
The variable $a__ is not named in camelCase. Open
function _curry3_2_args($fn, $a, $b) {
$a__ = _isPlaceholder($a);
$b__ = _isPlaceholder($b);
if ($a__ && $b__) {
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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($fn) {
return function($a = null, $b = null, $c = null) use ($fn) {
$args = func_get_args();
switch (count($args)) {
case 0:
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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_2_args($fn, $a, $b) {
$a__ = _isPlaceholder($a);
$b__ = _isPlaceholder($b);
if ($a__ && $b__) {
- Read upRead up
- Exclude checks
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__) {
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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_2_args($fn, $a, $b) {
$a__ = _isPlaceholder($a);
$b__ = _isPlaceholder($b);
if ($a__ && $b__) {
- Read upRead up
- Exclude checks
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_2_args($fn, $a, $b) {
$a__ = _isPlaceholder($a);
$b__ = _isPlaceholder($b);
if ($a__ && $b__) {
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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__) {
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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:
- Read upRead up
- Exclude checks
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__) {
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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__) {
- Read upRead up
- Exclude checks
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__) {
- Read upRead up
- Exclude checks
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__) {
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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__) {
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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();
}
}