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

Fix parameter type #74

Merged
merged 4 commits into from Oct 20, 2022
Merged

Fix parameter type #74

merged 4 commits into from Oct 20, 2022

Conversation

xepozz
Copy link
Contributor

@xepozz xepozz commented Oct 16, 2022

Q A
Is bugfix? ✔️
New feature?
Breaks BC?

@xepozz xepozz requested a review from a team October 16, 2022 21:15
@xepozz xepozz added the status:code review The pull request needs review. label Oct 16, 2022
@codecov
Copy link

codecov bot commented Oct 16, 2022

Codecov Report

Base: 92.02% // Head: 92.07% // Increases project coverage by +0.04% 🎉

Coverage data is based on head (fad5598) compared to base (b696309).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #74      +/-   ##
============================================
+ Coverage     92.02%   92.07%   +0.04%     
- Complexity      150      151       +1     
============================================
  Files             4        4              
  Lines           326      328       +2     
============================================
+ Hits            300      302       +2     
  Misses           26       26              
Impacted Files Coverage Δ
src/VarDumper.php 93.33% <100.00%> (+0.07%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@arogachev arogachev left a comment

Choose a reason for hiding this comment

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

A test is needed.

@@ -388,8 +388,11 @@ private function exportJson(mixed $var, bool $format, int $depth, int $level): m
}
}

private function getPropertyName(string $property): string
private function getPropertyName(string|int $property): string
Copy link
Member

Choose a reason for hiding this comment

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

Are there int property names?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@xepozz xepozz requested a review from a team October 19, 2022 22:34
Copy link
Member

@vjik vjik left a comment

Choose a reason for hiding this comment

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

  1. Need changelog

  2. Mutation tests is fail

@arogachev arogachev added the type:enhancement Enhancement label Oct 20, 2022
@arogachev arogachev merged commit 1231422 into master Oct 20, 2022
@arogachev arogachev deleted the fix-parameter-type branch October 20, 2022 07:14
@arogachev
Copy link
Contributor

Added missing changelog entry. As for mutation tests fail, it's irrelevant to this PR's changes. Now they pass on both new commit and after merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:code review The pull request needs review. type:enhancement Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants