phan v2.6.1 Release Notes
Release Date: 2020-03-13 // about 4 years ago-
๐ New features(CLI, Configs):
- โ Add a
--dump-ctags=basic
flag to dump atags
file in the project root directory. (https://linux.die.net/man/1/ctags)
This is different fromtool/make_ctags_for_phan_project
---dump-ctags=basic
has no external dependencies.
๐ New features(Analysis):
- Infer that the real type set of the key in
foreach ($arrayVar as $key => ...)
is definitely anint|string
in places where Phan previously inferred the empty union type, improving redundant condition detection. (#3789)
๐ Bug fixes:
- ๐ Fix a crash in
phan --dead-code-detection
when a trait defines a real method and phpdoc@method
of the same name (#3796)
Miscellaneous:
- Also allow
netresearch/jsonmapper@^2.0
as a dependency when enforcing the minimum allowed version (#3801)
- โ Add a