Skip to content
Permalink
Browse files

Add broken test

  • Loading branch information
muglug committed Dec 8, 2019
1 parent c9f4378 commit 6236a30bf51ad7a0b9baeef380ca3923aa3e6726
@@ -1033,7 +1033,7 @@ private static function handleLiteralNegatedEquality(
$existing_var_type,
$old_var_type_string,
$key,
$assertion,
'!' . $assertion,
!$did_remove_type,
$code_location,
$suppressed_issues
@@ -2190,6 +2190,16 @@ function takesMaybeA($a) : void {
if ($a !== null && takesA($a)) {}
}'
],
'SKIPPED-nestedAssertInElse' => [
'<?php
function foo(string $type, bool $and) : void {
if ($type === "a") {
} elseif ($type === "b" && $and) {
} else {
if ($type === "c" && $and) {}
}
}'
],
];
}

0 comments on commit 6236a30

Please sign in to comment.
You can’t perform that action at this time.