Create a `Backend` without an LSP client (for unit / integration tests). Uses empty stub indices for fast construction. Tests that need specific stubs should use [`new_test_with_stubs`] or [`new_test_with_all_stubs`] instead.
()
| 807 | /// specific stubs should use [`new_test_with_stubs`] or |
| 808 | /// [`new_test_with_all_stubs`] instead. |
| 809 | pub fn new_test() -> Self { |
| 810 | virtual_members::phpdoc::clear_mixin_cache(); |
| 811 | Self::test_defaults() |
| 812 | } |
| 813 | |
| 814 | /// Create a `Backend` for tests that need the full embedded stub |
| 815 | /// indices (e.g. benchmarks, end-to-end tests exercising real PHP |
nothing calls this directly
no test coverage detected