Skip to content

Commit 7604c9f

Browse files
committed
Revert "more tests"
This reverts commit 5a62d9a.
1 parent 5a62d9a commit 7604c9f

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

Diff for: tests/PHPStan/Rules/Functions/CallToFunctionParametersRuleTest.php

-4
Original file line numberDiff line numberDiff line change
@@ -2073,10 +2073,6 @@ public function testBug12847(): void
20732073
39,
20742074
'mixed is empty.',
20752075
],
2076-
[
2077-
'Parameter #1 $array of function Bug12847\doSomething expects non-empty-array<mixed>, stdClass given.',
2078-
46,
2079-
],
20802076
]);
20812077
}
20822078

Diff for: tests/PHPStan/Rules/Functions/data/bug-12847.php

-7
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ function doExplicitMixed(mixed $mixed): void
4040
}
4141
}
4242

43-
function doStdClass(\stdClass $stdClass): void
44-
{
45-
if (isset($stdClass['def'])) {
46-
doSomething($stdClass);
47-
}
48-
}
49-
5043
/**
5144
* @param non-empty-array<mixed> $array
5245
*/

0 commit comments

Comments
 (0)