yiisoft / validator

Yii validator library
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
112 stars 39 forks source link

Add immutable setter for modifying `Validator::$defaultSkipOnEmptyCondition` #589

Closed arogachev closed 1 year ago

arogachev commented 1 year ago
Q A
Is bugfix?
New feature? ✔️
Breaks BC?
Fixed issues
what-the-diff[bot] commented 1 year ago
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02 :tada:

Comparison is base (55b5e10) 94.66% compared to head (bc3fa19) 94.69%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #589 +/- ## ============================================ + Coverage 94.66% 94.69% +0.02% - Complexity 725 727 +2 ============================================ Files 85 85 Lines 2192 2204 +12 ============================================ + Hits 2075 2087 +12 Misses 117 117 ``` | [Impacted Files](https://codecov.io/gh/yiisoft/validator/pull/589?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft) | Coverage Δ | | |---|---|---| | [src/Rule/Each.php](https://codecov.io/gh/yiisoft/validator/pull/589?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft#diff-c3JjL1J1bGUvRWFjaC5waHA=) | `75.60% <ø> (ø)` | | | [src/Rule/Required.php](https://codecov.io/gh/yiisoft/validator/pull/589?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft#diff-c3JjL1J1bGUvUmVxdWlyZWQucGhw) | `100.00% <ø> (ø)` | | | [src/EmptyCondition/WhenEmpty.php](https://codecov.io/gh/yiisoft/validator/pull/589?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft#diff-c3JjL0VtcHR5Q29uZGl0aW9uL1doZW5FbXB0eS5waHA=) | `100.00% <100.00%> (ø)` | | | [src/Rule/Trait/CountableLimitTrait.php](https://codecov.io/gh/yiisoft/validator/pull/589?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft#diff-c3JjL1J1bGUvVHJhaXQvQ291bnRhYmxlTGltaXRUcmFpdC5waHA=) | `88.13% <100.00%> (ø)` | | | [src/Validator.php](https://codecov.io/gh/yiisoft/validator/pull/589?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft#diff-c3JjL1ZhbGlkYXRvci5waHA=) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft)

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

vjik commented 1 year ago

It's minor change.