src/Module/Util/UiInterface.php
Method showConfirmation
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$title,
$text,
$next_url,
$cancel = 0,
$form_name = 'confirmation',
The parameter $next_url is not named in camelCase. Open
Open
public function showContinue(
string $title,
string $text,
string $next_url
): void;
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $next_url is not named in camelCase. Open
Open
public function showConfirmation(
$title,
$text,
$next_url,
$cancel = 0,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $form_name is not named in camelCase. Open
Open
public function showConfirmation(
$title,
$text,
$next_url,
$cancel = 0,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}