Skip to content

Commit dea104f

Browse files
SpacePossumsebastianbergmann
authored andcommitted
Update StrictUnifiedDiffOutputBuilder.php
1 parent 9e5216b commit dea104f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Output/StrictUnifiedDiffOutputBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function __construct(array $options = [])
7171
throw new ConfigurationException('contextLines', 'an int >= 0', $options['contextLines']);
7272
}
7373

74-
if (!\is_int($options['commonLineThreshold']) || $options['commonLineThreshold'] < 1) {
74+
if (!\is_int($options['commonLineThreshold']) || $options['commonLineThreshold'] <= 0) {
7575
throw new ConfigurationException('commonLineThreshold', 'an int > 0', $options['commonLineThreshold']);
7676
}
7777

0 commit comments

Comments
 (0)