Sjoerd Langkemper
Sjoerd Langkemper
It's [this one](https://github.com/returntocorp/pfff/blob/0e349b40e6abd21e4e33e9cc05a6528f2f1c14a8/lang_php/analyze/ast_php_build.ml#L174) in toplevel: | NamespaceDef (_, _, _) -> raise Impossible
I just copied [this one](https://github.com/returntocorp/semgrep-rules/blob/develop/csharp/lang/security/stacktrace-disclosure.yaml) to an empty directory, but I get this problem with any rule file. Can you reproduce it?
Yes, that's correct. I would expect the `logger.info` to be inside the `if scan_handler`.
@p4p3r Could you take another look at this?
This seems due to a difference between pfff and tree-sitter parsing. Ruby files are parsed preferentially by tree-sitter, and patterns by pfff. If we have this file: ``` foo =...
@spencerdrak What do you think of this issue?
Also, `use-frozen-lockfile-pip` [was renamed recently](https://github.com/returntocorp/semgrep-rules/commit/fd6000169ec1034af400f08872291db87db45522), so I think `use-frozen-lockfile-pip` should be removed from the registry?
@underyx Could you take a look at this?