We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 23-25 (lines=3) @@ | ||
20 | if (isset($fields[$k]['fake']) && $fields[$k]['fake'] == true) { |
|
21 | // add it to the request in its appropriate variable - the one defined, if defined |
|
22 | if (isset($fields[$k]['store_in'])) { |
|
23 | if (! in_array($fields[$k]['store_in'], $fake_field_columns_to_encode, true)) { |
|
24 | array_push($fake_field_columns_to_encode, $fields[$k]['store_in']); |
|
25 | } |
|
26 | } else { |
|
27 | //otherwise in the one defined in the $crud variable |
|
28 |
@@ 35-37 (lines=3) @@ | ||
32 | // remove the fake field |
|
33 | array_pull($request, $fields[$k]['name']); |
|
34 | ||
35 | if (! in_array($fields[$k]['store_in'], $fake_field_columns_to_encode, true)) { |
|
36 | array_push($fake_field_columns_to_encode, $fields[$k]['store_in']); |
|
37 | } |
|
38 | } else { |
|
39 | //otherwise in the one defined in the $crud variable |
|
40 |