30 Dec 2018, Phan 1.1.10
New features(Analysis):
PhanUndeclaredConstant issue messages about undeclared global constants, if possible. (#2240)
Suggestions include other global constants, variables, class constants, properties, and function names.continue and break with no matching loop/switch scope. (#1869)
New issue types: PhanContinueOrBreakTooManyLevels, PhanContinueOrBreakNotInLoopcontinue statements targeting switch control structures (doing the same thing as a break) (#1869)
New issue types: PhanContinueTargetingSwitcharray<TKey,\someType> when @template TKey is in the class/function-like scope.Phan can now infer template types from even more categories of parameter types in constructors and regular functions/methods. (#522)
infer T from Closure(T):\OtherClass and callable(T):\OtherClass
T from array{keyName:T}TKey from array<TKey,\OtherClass> (as int, string, or mixed)Bug fixes:
@template annotations are parsed on classes and function-likes to avoid various edge cases (#2253)Please log in to add feedback.
This update has been submitted for testing by remi.
This update has been pushed to testing.
This update has been obsoleted by phan-1.2.0-1.fc28.