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

Miscellaneous crash for invalid AST in language server mode #185

Closed TysonAndre closed 6 years ago

TysonAndre commented 6 years ago

With phan --force-polyfill-parser --use-fallback-parser

<?php
class example {
    private function $notAFunction = function() : void {
    };
}
TysonAndre commented 6 years ago

This was fixed