|
@@ 53-57 (lines=5) @@
|
| 50 |
|
$paramsAfter = $functionAfter->params; |
| 51 |
|
// Signature |
| 52 |
|
|
| 53 |
|
if ( ! Signature::isSameTypehints($paramsBefore, $paramsAfter)) { |
| 54 |
|
$data = new FunctionParameterChanged($fileBefore, $functionBefore, $fileAfter, $functionAfter); |
| 55 |
|
$report->addFunction($data); |
| 56 |
|
continue; |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
if ( ! Signature::isSameVariables($paramsBefore, $paramsAfter)) { |
| 60 |
|
$data = new FunctionParameterNameChanged($fileBefore, $functionBefore, $fileAfter, $functionAfter); |
|
@@ 59-63 (lines=5) @@
|
| 56 |
|
continue; |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
if ( ! Signature::isSameVariables($paramsBefore, $paramsAfter)) { |
| 60 |
|
$data = new FunctionParameterNameChanged($fileBefore, $functionBefore, $fileAfter, $functionAfter); |
| 61 |
|
$report->addFunction($data); |
| 62 |
|
continue; |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
// Different length (considering params with defaults) |
| 66 |
|
|