We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 1080-1088 (lines=9) @@ | ||
| 1077 | $fake_field_columns_to_encode = []; |
|
| 1078 | ||
| 1079 | // get the right fields according to the form type (create/update) |
|
| 1080 | switch (strtolower($form)) { |
|
| 1081 | case 'update': |
|
| 1082 | $fields = $this->update_fields; |
|
| 1083 | break; |
|
| 1084 | ||
| 1085 | default: |
|
| 1086 | $fields = $this->create_fields; |
|
| 1087 | break; |
|
| 1088 | } |
|
| 1089 | ||
| 1090 | // go through each defined field |
|
| 1091 | foreach ($fields as $k => $field) { |
|
| @@ 1137-1145 (lines=9) @@ | ||
| 1134 | $fake_field_columns_to_encode = []; |
|
| 1135 | ||
| 1136 | // get the right fields according to the form type (create/update) |
|
| 1137 | switch (strtolower($form)) { |
|
| 1138 | case 'update': |
|
| 1139 | $fields = $this->update_fields; |
|
| 1140 | break; |
|
| 1141 | ||
| 1142 | default: |
|
| 1143 | $fields = $this->create_fields; |
|
| 1144 | break; |
|
| 1145 | } |
|
| 1146 | ||
| 1147 | ||
| 1148 | foreach ($fields as $k => $field) { |
|