TysonAndre / phan

Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.
Other
0 stars 0 forks source link

Plugin to warn about specific AST node types or flags: `and`, `or`, `xor` "`", etc. #62

Closed TysonAndre closed 7 years ago

TysonAndre commented 7 years ago

and has surprising precedence.

https://github.com/hhvm/hack-langspec/blob/master/spec/23-differences-from-php.md#statements has other things a plugin could add, e.g. if hhvm compatibility was a goal.

TysonAndre commented 7 years ago

Not possible with php-ast