Check whether a method name is a PHP magic method that should be excluded from completion results.
(name: &str)
| 217 | /// Check whether a method name is a PHP magic method that should be |
| 218 | /// excluded from completion results. |
| 219 | fn is_magic_method(name: &str) -> bool { |
| 220 | MAGIC_METHODS.iter().any(|&m| m.eq_ignore_ascii_case(name)) |
| 221 | } |
| 222 | |
| 223 | /// Format a parameter list into a display string. |
| 224 | /// |
no test coverage detected