tests/_helpers/SeeInOutputTrait.php 1 location
|
@@ 69-75 (lines=7) @@
|
| 66 |
|
* Make our output comparisons more platform-agnostic by converting |
| 67 |
|
* CRLF (Windows) or raw CR (confused output) to a LF (unix/Mac). |
| 68 |
|
*/ |
| 69 |
|
protected function simplify($output) |
| 70 |
|
{ |
| 71 |
|
$output = str_replace("\r\n", "\n", $output); |
| 72 |
|
$output = str_replace("\r", "\n", $output); |
| 73 |
|
|
| 74 |
|
return $output; |
| 75 |
|
} |
| 76 |
|
} |
| 77 |
|
|
tests/src/Traits/TestTasksTrait.php 1 location
|
@@ 95-101 (lines=7) @@
|
| 92 |
|
* Make our output comparisons more platform-agnostic by converting |
| 93 |
|
* CRLF (Windows) or raw CR (confused output) to a LF (unix/Mac). |
| 94 |
|
*/ |
| 95 |
|
protected function simplify($output) |
| 96 |
|
{ |
| 97 |
|
$output = str_replace("\r\n", "\n", $output); |
| 98 |
|
$output = str_replace("\r", "\n", $output); |
| 99 |
|
|
| 100 |
|
return $output; |
| 101 |
|
} |
| 102 |
|
} |
| 103 |
|
|