1
0
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:
Matthew Brown 2019-02-10 16:45:36 -05:00
parent c6b3fc512f
commit dafc5feb5a

View File

@ -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)) {