MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / strategy_both_disabled

Function strategy_both_disabled

src/formatting.rs:658–667  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

656
657 #[test]
658 fn strategy_both_disabled() {
659 let config = FormattingConfig {
660 pint: Some(String::new()),
661 php_cs_fixer: Some(String::new()),
662 phpcbf: Some(String::new()),
663 timeout: None,
664 };
665 let strategy = resolve_strategy(None, &config, None, None);
666 assert!(matches!(strategy, FormattingStrategy::Disabled));
667 }
668
669 #[test]
670 fn strategy_explicit_commands() {

Callers

nothing calls this directly

Calls 1

resolve_strategyFunction · 0.85

Tested by

no test coverage detected