-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Reset validation result #22
base: master
Are you sure you want to change the base?
Conversation
KovYu
commented
May 20, 2024
Q | A |
---|---|
Is bugfix? | ❌ |
New feature? | ✔️ |
Breaks BC? | ❌ |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #22 +/- ##
=============================================
- Coverage 100.00% 96.07% -3.93%
- Complexity 20 21 +1
=============================================
Files 4 4
Lines 53 51 -2
=============================================
- Hits 53 49 -4
- Misses 0 2 +2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are necessary
@@ -32,4 +32,9 @@ public function getValidationResult(): Result | |||
|
|||
return $this->validationResult; | |||
} | |||
|
|||
public function resetValidation(): void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public function resetValidation(): void | |
public function resetResult(): void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be resetValidationResult()
better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs test, line in changelog and notes in UPGRADE.md (this is major change).