Conditions | 4 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 4 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | protected function getIsDifferentProperties() |
||
29 | 6 | { |
|
30 | foreach ($this->getSource()->getXmlProperties() as $property) { |
||
31 | 6 | if ( |
|
32 | !property_exists($this->getTarget(), $property) |
||
33 | 6 | || $this->getSource()->{$property} !== $this->getTarget()->{$property} |
|
34 | 6 | ) { |
|
35 | return true; |
||
36 | 6 | } |
|
37 | } |
||
38 | |||
39 | return false; |
||
40 | 5 | } |
|
42 |