Passed
Pull Request — master (#222)
by Alexander
02:58
created

958 +243 Covered Lines

1,180 +428 Total Lines

81.2 % -13.9% Code Coverage

PHP Classes Changes

 
0%
RuleHandlerNotFoundException added
 
0%
RuleHandlerInterfaceNotImplementedException added
 
77.78%
SimpleRuleHandlerContainer added
 
100%
UnexpectedRuleException added
100%
25.49%
Result got worse
75%
83.33%
ArrayDataTrait improved
80%
76.92%
RulesDumper got worse
95%
94.74%
Validator got worse
55.56%
 
Subset removed
88.89%
 
Each removed
91.53%
 
CompareTo removed
92.31%
 
Callback removed
93.33%
 
RuleSet removed
94%
 
Nested removed
94.74%
 
Ip removed
97.73%
 
Email removed
100%
 
HasLength removed
100%
 
GroupRule removed
view more  

CRAP Changes

 
5.5069
RulesDumper::fetchOptions() added
 
4.25
SimpleRuleHandlerContainer::resolve() added
 
4
Validator::validateInternal() added
 
3.2098
Validator::normalizeRule() added
 
2
RuleHandlerNotFoundException::__construct() added
 
2
RuleHandlerInterfaceNotImplementedException::__con... added
 
2
Validator::addErrors() added
 
2
Validator::normalizeRules() added
 
1
ArrayDataTrait::getData() added
 
1
ScalarDataSet::getData() added
view more  
1
2
Result::getAttributeErrors() got worse
1
2
Result::getErrorMessages() got worse
1
2
Result::getCommonErrorMessages() got worse
1
2
Result::getAttributeErrorMessages() got worse
5.009
7.0035
Validator::validate() got worse
4.128
1
RulesDumper::asArray() improved
2
6
Result::getErrorMessagesIndexedByPath() got worse
3
12
Result::getAttributeErrorsMap() got worse
3
12
Result::getErrorMessagesIndexedByAttribute() got worse
3
12
Result::getAttributeErrorMessagesIndexedByPath() got worse
20.3004
 
Ip::validateValue() removed
16
 
Email::validateValue() removed
11
 
Nested::validateValue() removed
10.1953
 
CompareTo::compareValues() removed
10.0145
 
CompareTo::getMessage() removed
10
 
Count::__construct() removed
9
 
Number::validateValue() removed
8.1867
 
Each::validateValue() removed
8
 
Count::validateValue() removed
7
 
Rule::validate() removed
view more