Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 6 |
| DiffOp | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
30 | |
0.00% |
0 / 6 |
| reverse | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
| norig | |
0.00% |
0 / 1 |
6 | |
0.00% |
0 / 2 |
|||
| nclosing | |
0.00% |
0 / 1 |
6 | |
0.00% |
0 / 2 |
|||
| <?php | |
| /** | |
| * @file | |
| * Contains \Drupal\Component\Diff\Engine\DiffOp. | |
| */ | |
| namespace Drupal\Component\Diff\Engine; | |
| /** | |
| * @todo document | |
| * @private | |
| * @subpackage DifferenceEngine | |
| */ | |
| class DiffOp { | |
| var $type; | |
| var $orig; | |
| var $closing; | |
| public function reverse() { | |
| trigger_error('pure virtual', E_USER_ERROR); | |
| } | |
| public function norig() { | |
| return $this->orig ? sizeof($this->orig) : 0; | |
| } | |
| public function nclosing() { | |
| return $this->closing ? sizeof($this->closing) : 0; | |
| } | |
| } |