Skip to content

Commit

Permalink
replace mustixes with actual phpisms_fixme by following the stack traces
Browse files Browse the repository at this point in the history
Summary:
manually using scuba.

Will in the future do this more and once this lands we should be able to have a much better resolution for this

Reviewed By: mpomarole

Differential Revision: D5779018

fbshipit-source-id: 51bd697b6de589f67059f64e0a86f631734d3bc7
  • Loading branch information
DavidSnider authored and facebook-github-bot committed Sep 8, 2017
1 parent 4e1e3d6 commit 69c536b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/keyset/transform.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ function flatten<Tv as arraykey>(
): keyset<Tv> {
$result = keyset[];
foreach ($traversables as $traversable) {
if (!PHPism_FIXME::isForeachable($traversable)) {
FBLogger('phpism_fixme.invalid_foreach_arg')
->blameToPreviousFrame()
->mustfix('Attempting to foreach over a non-foreachable type');
continue;
}
foreach ($traversable as $value) {
$result[] = $value;
}
Expand Down

0 comments on commit 69c536b

Please sign in to comment.