StrictUnifiedDiffOutputBuilder::$default
Type: default
File
-
vendor/
sebastian/ diff/ src/ Output/ StrictUnifiedDiffOutputBuilder.php, line 36
Class
- StrictUnifiedDiffOutputBuilder
- Strict Unified diff output builder.
Namespace
SebastianBergmann\Diff\OutputCode
private static array $default = [
'collapseRanges' => true,
// ranges of length one are rendered with the trailing `,1`
'commonLineThreshold' => 6,
// number of same lines before ending a new hunk and creating a new one (if needed)
'contextLines' => 3,
// like `diff: -u, -U NUM, --unified[=NUM]`, for patch/git apply compatibility best to keep at least @ 3
'fromFile' => null,
'fromFileDate' => null,
'toFile' => null,
'toFileDate' => null,
];