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

Investigate performance effects of getting rid of $code_base instance #132

Open TysonAndre opened 6 years ago

TysonAndre commented 6 years ago

(Use static methods instead. In unit tests, reset the state of the static properties)

A phpdoc checker plugin might be possible to use instead (@uses-phan-codebase)

Other methods depend on codebase, even if not used directly (e.g. Type->asExpandedTypes() is cached permanently)