We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | |
84 | 84 | // otherwise, in case the last line HAS been modified |
85 | 85 | // return the last line that has an ending in it |
86 | - $possible_end_lines = array_filter($file_lines, function ($k) { |
|
86 | + $possible_end_lines = array_filter($file_lines, function($k) { |
|
87 | 87 | return strpos($k, '});') === 0; |
88 | 88 | }); |
89 | 89 | |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | */ |
105 | 105 | private function getLastLineNumberThatContains($needle, $haystack) |
106 | 106 | { |
107 | - $matchingLines = array_filter($haystack, function ($k) use ($needle) { |
|
107 | + $matchingLines = array_filter($haystack, function($k) use ($needle) { |
|
108 | 108 | return strpos($k, $needle) !== false; |
109 | 109 | }); |
110 | 110 |