Skip to content

Commit a04647e

Browse files
committed
Remove debug statements
1 parent 0f1f494 commit a04647e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/Caxy/HtmlDiff/Table/TableDiff.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ protected function diffTableContent()
179179
}
180180
}
181181

182-
addDebugOutput($newMatchData, 'matches');
183-
184182
// new solution for diffing rows
185183
switch ($this->strategy) {
186184
case self::STRATEGY_MATCHING:
@@ -269,7 +267,6 @@ protected function diffTableRowsWithMatches($oldRows, $newRows, $matches)
269267

270268
protected function processInsertOperation(Operation $operation, $newRows, &$appliedRowSpans, $forceExpansion = false)
271269
{
272-
addDebugOutput($operation, __METHOD__);
273270
$targetRows = array_slice($newRows, $operation->startInNew, $operation->endInNew - $operation->startInNew);
274271
foreach ($targetRows as $row) {
275272
$this->diffAndAppendRows(null, $row, $appliedRowSpans, $forceExpansion);
@@ -278,7 +275,6 @@ protected function processInsertOperation(Operation $operation, $newRows, &$appl
278275

279276
protected function processDeleteOperation(Operation $operation, $oldRows, &$appliedRowSpans, $forceExpansion = false)
280277
{
281-
addDebugOutput($operation, __METHOD__);
282278
$targetRows = array_slice($oldRows, $operation->startInOld, $operation->endInOld - $operation->startInOld);
283279
foreach ($targetRows as $row) {
284280
$this->diffAndAppendRows($row, null, $appliedRowSpans, $forceExpansion);
@@ -287,7 +283,6 @@ protected function processDeleteOperation(Operation $operation, $oldRows, &$appl
287283

288284
protected function processEqualOperation(Operation $operation, $oldRows, $newRows, &$appliedRowSpans)
289285
{
290-
addDebugOutput($operation, __METHOD__);
291286
$targetOldRows = array_values(array_slice($oldRows, $operation->startInOld, $operation->endInOld - $operation->startInOld));
292287
$targetNewRows = array_values(array_slice($newRows, $operation->startInNew, $operation->endInNew - $operation->startInNew));
293288

@@ -302,7 +297,6 @@ protected function processEqualOperation(Operation $operation, $oldRows, $newRow
302297

303298
protected function processReplaceOperation(Operation $operation, $oldRows, $newRows, &$appliedRowSpans)
304299
{
305-
addDebugOutput($operation, __METHOD__);
306300
$this->processDeleteOperation($operation, $oldRows, $appliedRowSpans, true);
307301
$this->processInsertOperation($operation, $newRows, $appliedRowSpans, true);
308302
}

0 commit comments

Comments
 (0)