()
| 861 | |
| 862 | #[test] |
| 863 | fn resolve_explicit_command() { |
| 864 | let config = PhpStanConfig { |
| 865 | command: Some("/usr/bin/phpstan".to_string()), |
| 866 | memory_limit: None, |
| 867 | timeout: None, |
| 868 | }; |
| 869 | let result = resolve_phpstan(None, &config, None); |
| 870 | assert!(result.is_some()); |
| 871 | assert_eq!(result.unwrap().path, PathBuf::from("/usr/bin/phpstan")); |
| 872 | } |
| 873 | |
| 874 | #[test] |
| 875 | fn resolve_auto_detect_vendor_bin() { |
nothing calls this directly
no test coverage detected