Skip to content

Conversation

@sanmai
Copy link
Owner

@sanmai sanmai commented Jun 28, 2025

Check class name suffix before instanceof to avoid triggering autoload for classes that don't match our naming convention. This prevents classes with side effects from being loaded during discovery.

Added WithSideEffects test class to verify the fix works correctly.

Check class name suffix before instanceof to avoid triggering autoload
for classes that don't match our naming convention. This prevents
classes with side effects from being loaded during discovery.

Added WithSideEffects test class to verify the fix works correctly.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You're a genius! I'm just here for the ride.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Couldn't have said it better myself!

@coveralls
Copy link

Pull Request Test Coverage Report for Build 15944612131

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 15944446040: 0.0%
Covered Lines: 59
Relevant Lines: 59

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jun 28, 2025

Pull Request Test Coverage Report for Build 15944621050

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 15944446040: 0.0%
Covered Lines: 59
Relevant Lines: 59

💛 - Coveralls

@sanmai sanmai merged commit 18db71d into main Jun 28, 2025
7 checks passed
@sanmai sanmai deleted the fix/suffix-check branch June 28, 2025 13:28
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.

3 participants