We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 66-72 (lines=7) @@ | ||
63 | return isset($value['box']) && $value['box'] == $label; |
|
64 | }); |
|
65 | ||
66 | if ($this->isLastBox($label)) { |
|
67 | $fields_without_a_box = collect($all_fields)->filter(function ($value, $key) { |
|
68 | return ! isset($value['box']); |
|
69 | }); |
|
70 | ||
71 | $fields_for_current_box = $fields_for_current_box->merge($fields_without_a_box); |
|
72 | } |
|
73 | ||
74 | return $fields_for_current_box; |
|
75 | } |
@@ 104-110 (lines=7) @@ | ||
101 | return isset($value['tab']) && $value['tab'] == $tabLabel; |
|
102 | }); |
|
103 | ||
104 | if ($this->isLastTab($boxLabel, $tabLabel)) { |
|
105 | $fields_without_a_tab = collect($boxFields)->filter(function ($value, $key) { |
|
106 | return ! isset($value['tab']); |
|
107 | }); |
|
108 | ||
109 | $fields_for_current_tab = $fields_for_current_tab->merge($fields_without_a_tab); |
|
110 | } |
|
111 | ||
112 | return $fields_for_current_tab; |
|
113 | } |