Skip to content

Commit 48d4f5e

Browse files
committed
Merge pull request #11 from jensklose/master
Fix the ignoring of option context
2 parents 610ef35 + 60de296 commit 48d4f5e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/nbproject/

lib/Diff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function getGroupedOpcodes()
170170

171171
require_once dirname(__FILE__).'/Diff/SequenceMatcher.php';
172172
$sequenceMatcher = new Diff_SequenceMatcher($this->a, $this->b, null, $this->options);
173-
$this->groupedCodes = $sequenceMatcher->getGroupedOpcodes();
173+
$this->groupedCodes = $sequenceMatcher->getGroupedOpcodes($this->options['context']);
174174
return $this->groupedCodes;
175175
}
176176
}

0 commit comments

Comments
 (0)