Here is the minimal code I used:
array_map(function($item) {
array_filter($item, function($it) {
});
}, $items);
On the array_filter line, it says:
Line indented incorrectly; expected 14 spaces, found 4
So... I guess there is something wrong :-) Don't know what though. Just wanted to let you know about this bug.
PS: migrated from here.
Comments
Comment #1
klausiCoder 7.x is frozen now and will not receive updates. Coder 8.x-2.x can be used to check code for any Drupal version, Coder 8.x-2.x also supports the phpcbf command to automatically fix conding standard errors. Please check if this issue is still relevant and reopen against that version if necessary.