We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 1108-1116 (lines=9) @@ | ||
| 1105 | $fake_field_columns_to_encode = []; |
|
| 1106 | ||
| 1107 | // get the right fields according to the form type (create/update) |
|
| 1108 | switch (strtolower($form)) { |
|
| 1109 | case 'update': |
|
| 1110 | $fields = $this->update_fields; |
|
| 1111 | break; |
|
| 1112 | ||
| 1113 | default: |
|
| 1114 | $fields = $this->create_fields; |
|
| 1115 | break; |
|
| 1116 | } |
|
| 1117 | ||
| 1118 | // go through each defined field |
|
| 1119 | foreach ($fields as $k => $field) { |
|
| @@ 1165-1173 (lines=9) @@ | ||
| 1162 | $fake_field_columns_to_encode = []; |
|
| 1163 | ||
| 1164 | // get the right fields according to the form type (create/update) |
|
| 1165 | switch (strtolower($form)) { |
|
| 1166 | case 'update': |
|
| 1167 | $fields = $this->update_fields; |
|
| 1168 | break; |
|
| 1169 | ||
| 1170 | default: |
|
| 1171 | $fields = $this->create_fields; |
|
| 1172 | break; |
|
| 1173 | } |
|
| 1174 | ||
| 1175 | ||
| 1176 | foreach ($fields as $k => $field) { |
|