Skip to content

Commit 998abce

Browse files
committed
Missing EOL in first output string
1 parent 986c45e commit 998abce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Patchr.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function reservePatches($num)
4444
{
4545
throw new Exception('Not a number');
4646
}
47-
$output .= 'Attempting to reserve '.$num.' patch/es';
47+
$output .= 'Attempting to reserve '.$num.' patch/es'.PHP_EOL;;
4848
//Retrieve the list of files
4949
$output .= $this->searchDirectory($this->config['naming']['patches_dir']).PHP_EOL;
5050
// Assign result to variable for strict standards
@@ -77,7 +77,7 @@ public function addNewPatch($sql)
7777
try
7878
{
7979
$output = '';
80-
$output .= 'Attempting to add new patch';
80+
$output .= 'Attempting to add new patch'.PHP_EOL;
8181
$output .= $this->searchDirectory($this->config['naming']['patches_dir']).PHP_EOL;
8282
//Get latest file on disk
8383
$fileList = $this->getFilesList();
@@ -105,7 +105,7 @@ public function getUnappliedPatches()
105105
$output = '';
106106
$file_list = array();
107107

108-
$output .= 'Getting list of unapplied patches';
108+
$output .= 'Getting list of unapplied patches'.PHP_EOL;;
109109
$output .= $this->searchDirectory($this->config['naming']['patches_dir']).PHP_EOL;
110110

111111
foreach ($this->files as $file)
@@ -140,7 +140,7 @@ public function getLatestAppliedPatch()
140140
try
141141
{
142142
$output = '';
143-
$output .= 'Reading Last Applied Patch';
143+
$output .= 'Reading Last Applied Patch'.PHP_EOL;;
144144
$lastApplied = $this->readLastApplied();
145145
if( !is_null($lastApplied['name']) )
146146
{
@@ -171,7 +171,7 @@ public function applyDatabasePatches()
171171
$output = '';
172172
$file_list = array();
173173
$start = time();
174-
$output .= 'Attempting to apply patches';
174+
$output .= 'Attempting to apply patches'.PHP_EOL;;
175175

176176
try
177177
{

0 commit comments

Comments
 (0)