Skip to content

test: verify Open Code Review pilot posts live - #35

Closed
wakqasahmed wants to merge 4 commits into
mainfrom
test/ocr-live-check
Closed

wakqasahmed wants to merge 4 commits into
mainfrom
test/ocr-live-check

Conversation

@wakqasahmed

Copy link
Copy Markdown
Contributor

Throwaway command with a deliberate unused-variable + loose-comparison smell, opened purely to verify the newly-merged Open Code Review workflow actually fires and posts real comments now that it's on main. Will close without merging once verified.

@github-actions

github-actions Bot commented Jul 9, 2026 •

Copy link
Copy Markdown

🔍 OpenCodeReview found 2 issue(s) in this PR.

  • ✅ Successfully posted inline: 2 comment(s)


public function handle(): int
{
$unused = 'this variable is never used';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the unused $unused variable. Dead code adds noise and serves no purpose in a simple health-check command.

Comment on lines +16 to +20
$status = 1;

if ($status == 1) {
$this->info('pong');
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The $status variable is hardcoded to 1, so the if ($status == 1) check is redundant. Simplify the handler by outputting pong directly.

Suggestion:

Suggested change
$status = 1;
if ($status == 1) {
$this->info('pong');
}
+ $this->info('pong');

@wakqasahmed

Copy link
Copy Markdown
Contributor Author

Pilot verified — Open Code Review posted 2 real, accurate inline comments (unused variable, redundant loose comparison). Closing this throwaway test PR without merging.

@wakqasahmed wakqasahmed closed this Jul 9, 2026
@wakqasahmed
wakqasahmed deleted the test/ocr-live-check branch July 9, 2026 21:10
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.

1 participant