Active
Project:
Coder
Version:
8.3.x-dev
Component:
Review/Rules
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2024 at 06:18 UTC
Updated:
21 Sep 2024 at 06:18 UTC
Jump to comment: Most recent
The sniff complains about code like this:
public function alpha($alpha_one, $alpha_two, $options = ['option_string' => 'cake', 'option_numeric' => 42, 'option_bool' => FALSE]) {
but there is no Drupal coding standard for arrays in a function defaults.
Comments