You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests\test_iniset.txt:3 PhanTypeMismatchArgumentInternal Argument 2 ($value) is 1 of type 1 but \ini_set() takes string
tests\test_iniset.txt:4 PhanTypeMismatchArgumentInternal Argument 2 ($value) is 1.0 of type 1.0 but \ini_set() takes string
tests\test_iniset.txt:5 PhanTypeMismatchArgumentInternal Argument 2 ($value) is true of type true but \ini_set() takes string
tests\test_iniset.txt:6 PhanTypeMismatchArgumentInternal Argument 2 ($value) is false of type false but \ini_set() takes string
tests\test_iniset.txt:7 PhanTypeMismatchArgumentInternalProbablyReal Argument 2 ($value) is null of type null but \ini_set() takes string
tests\test_staticassumednull.txt:10 PhanTypeMismatchProperty Assigning static::T of type null to property but \test_sc_A->type is int
The text was updated successfully, but these errors were encountered:
According to the PHP documentation, ini_set allows simple types for the $value argument:
https://www.php.net/manual/en/function.ini-set.php
But phan complains when the value is a float for instance.
Test file:
The text was updated successfully, but these errors were encountered: