mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Limit callable::__invoke test to PHP71
This commit is contained in:
parent
c6b3fc512f
commit
dafc5feb5a
@ -1205,7 +1205,7 @@ class TypeReconciliationTest extends TestCase
|
||||
echo $a;
|
||||
}',
|
||||
],
|
||||
'removeNonCallable' => [
|
||||
'PHP71-removeNonCallable' => [
|
||||
'<?php
|
||||
$f = rand(0, 1) ? "strlen" : 1.1;
|
||||
if (is_callable($f)) {
|
||||
|
Loading…
Reference in New Issue
Block a user