Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify NamePrettifier::prettifyTestMethodName() #5744

Merged
merged 1 commit into from Mar 12, 2024

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Mar 12, 2024

remove a unnecessary function call in a hot path. additionally I think its more readable now.

grafik

Copy link

codecov bot commented Mar 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.08%. Comparing base (9b96926) to head (b90e1cd).

Additional details and impacted files
@@             Coverage Diff              @@
##               10.5    #5744      +/-   ##
============================================
- Coverage     90.08%   90.08%   -0.01%     
  Complexity     6436     6436              
============================================
  Files           680      680              
  Lines         19533    19532       -1     
============================================
- Hits          17597    17596       -1     
  Misses         1936     1936              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sebastianbergmann sebastianbergmann added type/refactoring A refactoring that should be applied to make the code easier to understand and maintain feature/testdox The TextDox printer/formatter type/performance Issues related to resource consumption (time and memory) version/10 Something affects PHPUnit 10 version/11 Something affects PHPUnit 11 labels Mar 12, 2024
@sebastianbergmann sebastianbergmann merged commit 13b893d into sebastianbergmann:10.5 Mar 12, 2024
31 checks passed
@staabm staabm deleted the micro6 branch March 12, 2024 13:14
@sebastianbergmann sebastianbergmann changed the title Simplify NamePrettifier->prettifyTestMethodName() Simplify NamePrettifier::prettifyTestMethodName() Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/testdox The TextDox printer/formatter type/performance Issues related to resource consumption (time and memory) type/refactoring A refactoring that should be applied to make the code easier to understand and maintain version/10 Something affects PHPUnit 10 version/11 Something affects PHPUnit 11
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants