src/Middleware/WorkflowStepDependencyCheck.php
Avoid unused parameters such as '$control'. Open
Open
WorkflowControl $control,
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
syntax error, unexpected ')', expecting variable (T_VARIABLE)
Open
Open
) {
- Exclude checks
Space found before closing bracket of FOREACH loop Open
Open
foreach ($containerParameter->getAttributes(
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
) as $dependencyAttribute
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 20 Open
Open
ReflectionAttribute::IS_INSTANCEOF,
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 20 Open
Open
StepDependencyInterface::class,
- Exclude checks