You are here

protected function ArrayComparator::indent in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/comparator/src/ArrayComparator.php \SebastianBergmann\Comparator\ArrayComparator::indent()
1 call to ArrayComparator::indent()
ArrayComparator::assertEquals in vendor/sebastian/comparator/src/ArrayComparator.php
Asserts that two values are equal.

File

vendor/sebastian/comparator/src/ArrayComparator.php, line 132

Class

ArrayComparator
Compares arrays for equality.

Namespace

SebastianBergmann\Comparator

Code

protected function indent($lines) {
  return trim(str_replace("\n", "\n    ", $lines));
}