Skip to content

Conversation

@nmaier95
Copy link
Contributor

@nmaier95 nmaier95 commented Dec 15, 2025

Summary:
Add early return check to skip report generation
when there are no axe results to report.

Copilot AI review requested due to automatic review settings December 15, 2025 13:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR prevents the creation of an empty report file when no accessibility violations are detected. The change adds an early return in the resultPrintAfter method when $this->axeResults is empty.

Key change:

  • Added early return check to skip report generation when there are no axe results to report

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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