Skip to content

Commit

Permalink
Remove useless test
Browse files Browse the repository at this point in the history
  • Loading branch information
klimick committed Jul 25, 2024
1 parent 14d9c77 commit f6559b9
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/ArrayFunctionCallTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2814,20 +2814,6 @@ function foo() : bool {
array_map("foo", [1, 2, 3]);',
'error_message' => 'TooManyArguments',
],
'arrayReduceInvalidClosureTooFewArgs' => [
'code' => '<?php
$arr = [2, 3, 4, 5];
$direct_closure_result = array_reduce(
$arr,
function() : int {
return 5;
},
1
);',
'error_message' => 'InvalidArgument',
'ignored_issues' => ['MixedTypeCoercion'],
],
'arrayReduceInvalidItemType' => [
'code' => '<?php
$arr = [2, 3, 4, 5];
Expand Down

0 comments on commit f6559b9

Please sign in to comment.