Light cleanup and rule adds - #4184
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 34be4ff192
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| <property name="eolChar" value="\n"/> | ||
| </properties> | ||
| </rule> | ||
| <rule ref="Generic.Files.EndFileNewline"/> |
There was a problem hiding this comment.
Preserve the final newline when regenerating API stubs
When make generate_stubs is run, tooling/stubs/generate-stubs.php writes the printer output directly, and that output currently omits the final newline—as evidenced by the generated src/ddtrace_php_api.stubs.php needing a manual newline in this commit. Because this ruleset scans that file, regeneration will now make ci-lint fail until someone manually restores the newline. Update the generator or printer to append it before enabling this rule.
Useful? React with 👍 / 👎.
|
Benchmarks [ tracer ]Benchmark execution time: 2026-09-10 22:25:07 Comparing candidate commit 34be4ff in PR branch Found 0 performance improvements and 4 performance regressions! Performance is the same for 189 metrics, 1 unstable metrics.
|
Description
Reviewer checklist