We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 1096-1104 (lines=9) @@ | ||
| 1093 | $fake_field_columns_to_encode = []; |
|
| 1094 | ||
| 1095 | // get the right fields according to the form type (create/update) |
|
| 1096 | switch (strtolower($form)) { |
|
| 1097 | case 'update': |
|
| 1098 | $fields = $this->update_fields; |
|
| 1099 | break; |
|
| 1100 | ||
| 1101 | default: |
|
| 1102 | $fields = $this->create_fields; |
|
| 1103 | break; |
|
| 1104 | } |
|
| 1105 | ||
| 1106 | // go through each defined field |
|
| 1107 | foreach ($fields as $k => $field) { |
|
| @@ 1153-1161 (lines=9) @@ | ||
| 1150 | $fake_field_columns_to_encode = []; |
|
| 1151 | ||
| 1152 | // get the right fields according to the form type (create/update) |
|
| 1153 | switch (strtolower($form)) { |
|
| 1154 | case 'update': |
|
| 1155 | $fields = $this->update_fields; |
|
| 1156 | break; |
|
| 1157 | ||
| 1158 | default: |
|
| 1159 | $fields = $this->create_fields; |
|
| 1160 | break; |
|
| 1161 | } |
|
| 1162 | ||
| 1163 | ||
| 1164 | foreach ($fields as $k => $field) { |
|