mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Merge pull request #3179 from paulbalandan/cli-wrap
Use explicit 'PHP_EOL' in wordwrap
This commit is contained in:
commit
d4d7fdffb7
@ -815,7 +815,7 @@ class CLI
|
||||
|
||||
$max = $max - $pad_left;
|
||||
|
||||
$lines = wordwrap($string, $max);
|
||||
$lines = wordwrap($string, $max, PHP_EOL);
|
||||
|
||||
if ($pad_left > 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user