Skip to content

SECZ-2495: Require CodeQL compatible syntax #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2025

Conversation

rbamos
Copy link
Contributor

@rbamos rbamos commented May 20, 2025

Github Advanced Security's CodeQL does not correctly parse anonymous block forwarding, so any file with that syntax will fail to be parsed.

This PR requires explicit naming for block forwarding, so that our code scanning will work correct.

Example output when trying to fix the syntax:

<path>: C: [Correctable] Naming/BlockForwarding: Use anonymous block forwarding.
<path>: C: [Correctable] Style/ArgumentsForwarding: Use anonymous block arguments forwarding (`&`).

Docs:

@rbamos rbamos merged commit a9bf514 into main May 20, 2025
5 checks passed
@rbamos rbamos deleted the SECZ-2495-Require-CodeQL-compatible-syntax branch May 20, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants