phan v3.0.5 Release Notes
Release Date: 2020-07-03 // almost 4 years ago-
๐ New features(CLI, Configs):
- โ Add
-X
as an alias of--dead-code-detection-prefer-false-positive
.
๐ New features(Analysis):
- Emit
PhanTypeInvalidLeftOperandOfBitwiseOp
andPhanTypeInvalidRightOperandOfBitwiseOp
for argument types to bitwise operations other thanint|string
.
(affects^
,|
,&
,^=
,|=
,&=
)
๐ Bug fixes:
- ๐ Fix false positives in php 8.0+ type checking against the real
mixed
type. (#3994) - ๐ Fix unintentionally enabling GC when the
pcntl
extension is not enabled. (#4000)
It should only be enabled when running in daemon mode or as a language server.
Announcements
๐ง Phan has a new minimal docker image (30MB total) based on Alpine Linux and PHP 7.4. See https://github.com/phan/docker
- โ Add