Skip to content

Conversation

@MikeGarde
Copy link
Owner

  • Added constructor dependency injection for RouteDocInspector in ValidateEndpoints.php
  • Implemented CLI command route:docs:validate to validate route attribute usage across controllers
  • Created tests to check successful and error scenarios for route validation command
  • Updated RouteDocCollection tests to handle sorting and error identification scenarios.

- Added constructor dependency injection for `RouteDocInspector` in `ValidateEndpoints.php`
- Implemented CLI command `route:docs:validate` to validate route attribute usage across controllers
- Created tests to check successful and error scenarios for route validation command
- Updated `RouteDocCollection` tests to handle sorting and error identification scenarios.
@codecov
Copy link

codecov bot commented Jun 9, 2025

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/Console/ValidateEndpoints.php 85.71% 1 Missing ⚠️
Files with missing lines Coverage Δ Complexity Δ
src/Console/ValidateEndpoints.php 94.11% <85.71%> (+94.11%) 4.00 <1.00> (+2.00)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MikeGarde MikeGarde merged commit 7e5ba59 into main Jun 9, 2025
5 checks passed
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