Sjoerd Langkemper

Results 204 comments of Sjoerd Langkemper

This rule provided me value, and I want a rule like this to exist in the registry.

> When I click the generic.ci.security.use-frozen-lockfile.use-frozen-lockfile-pip row, the inline editor shows use-frozen-lockfile-pipenv, where I would expect it to show use-frozen-lockfile-pip. This still happens, so this bug doesn't seem to be...

> This rule provided me value To clarify, the pipenv rule seemed fine with me, and I would like to see that restored. The pip rule was incorrect and can...

I cannot reproduce this with the latest phpunit from the `main` branch: ``` $ ~/dev/phpunit/phpunit --process-isolation PHPUnit 10.0-g76bbb367d by Sebastian Bergmann and contributors. Runtime: PHP 8.1.10 Configuration: /Users/sjoerdlangkemper/dev/test/phpunit/phpunit.xml . 1...

The test case that runs in a separate process [outputs errors to stderr](https://github.com/sebastianbergmann/phpunit/blob/9.5/src/Util/PHP/Template/TestCaseMethod.tpl#L16), and [triggers an error when something has been output on stderr](https://github.com/sebastianbergmann/phpunit/blob/9.5/src/Util/PHP/AbstractPhpProcess.php#L267-L272). The `convert...ToExceptions` settings [are also not...

I was messing around with this bug and broke the conflict resolution in tree-sitter, which gave me the following error: ``` Unresolved conflict for symbol sequence: expression '+' expression •...

I think Python is parsed [using pfff, not tree-sitter](https://github.com/returntocorp/semgrep/blob/develop/semgrep-core/src/parsing/Parse_target.ml#L304-L314).

Thanks, @chrismcgehee. Semgrep has two parsers for PHP, pfff and tree-sitter. I guess the `fn` function is not implemented in pfff, so this forces the PHP file to be parsed...

See also [[PHP] "$MVAR" patterns not working · Issue #4419 · returntocorp/semgrep](https://github.com/returntocorp/semgrep/issues/4419)