MultipleStatementAlignmentUnitTest.inc in Coder 8.2
File
coder_sniffer/Drupal/Test/Formatting/MultipleStatementAlignmentUnitTest.inc
View source
<?php
$x = 5;
$y = 3;
$zz = 4;
$a = 1;
$b = 2;
$c = 1;
$dd = 2;
$e = 1;
$f = 2;
$ggg = 3;
$h = 4;
function example_form_submit_redirect_handler($form, &$form_state) {
$selected_content = $form_state['values']['field_content_type'][LANGUAGE_NONE][0]['value'];
$_SESSION['file_upload_session'] = TRUE;
$form_state['redirect'] = 'example/' . $selected_content . '/' . $form_state['nid'] . '/mapping';
}