Skip to content

Simplify NamePrettifier::prettifyTestMethodName()#5744

Merged
sebastianbergmann merged 1 commit intosebastianbergmann:10.5from
staabm:micro6
Mar 12, 2024
Merged

Simplify NamePrettifier::prettifyTestMethodName()#5744
sebastianbergmann merged 1 commit intosebastianbergmann:10.5from
staabm:micro6

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented Mar 12, 2024

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

grafik

@codecov
Copy link
Copy Markdown

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
@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
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

2 participants