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