@@ -44,7 +44,7 @@ public function reservePatches($num)
44
44
{
45
45
throw new Exception ('Not a number ' );
46
46
}
47
- $ output .= 'Attempting to reserve ' .$ num .' patch/es ' ;
47
+ $ output .= 'Attempting to reserve ' .$ num .' patch/es ' . PHP_EOL ; ;
48
48
//Retrieve the list of files
49
49
$ output .= $ this ->searchDirectory ($ this ->config ['naming ' ]['patches_dir ' ]).PHP_EOL ;
50
50
// Assign result to variable for strict standards
@@ -77,7 +77,7 @@ public function addNewPatch($sql)
77
77
try
78
78
{
79
79
$ output = '' ;
80
- $ output .= 'Attempting to add new patch ' ;
80
+ $ output .= 'Attempting to add new patch ' . PHP_EOL ;
81
81
$ output .= $ this ->searchDirectory ($ this ->config ['naming ' ]['patches_dir ' ]).PHP_EOL ;
82
82
//Get latest file on disk
83
83
$ fileList = $ this ->getFilesList ();
@@ -105,7 +105,7 @@ public function getUnappliedPatches()
105
105
$ output = '' ;
106
106
$ file_list = array ();
107
107
108
- $ output .= 'Getting list of unapplied patches ' ;
108
+ $ output .= 'Getting list of unapplied patches ' . PHP_EOL ; ;
109
109
$ output .= $ this ->searchDirectory ($ this ->config ['naming ' ]['patches_dir ' ]).PHP_EOL ;
110
110
111
111
foreach ($ this ->files as $ file )
@@ -140,7 +140,7 @@ public function getLatestAppliedPatch()
140
140
try
141
141
{
142
142
$ output = '' ;
143
- $ output .= 'Reading Last Applied Patch ' ;
143
+ $ output .= 'Reading Last Applied Patch ' . PHP_EOL ; ;
144
144
$ lastApplied = $ this ->readLastApplied ();
145
145
if ( !is_null ($ lastApplied ['name ' ]) )
146
146
{
@@ -171,7 +171,7 @@ public function applyDatabasePatches()
171
171
$ output = '' ;
172
172
$ file_list = array ();
173
173
$ start = time ();
174
- $ output .= 'Attempting to apply patches ' ;
174
+ $ output .= 'Attempting to apply patches ' . PHP_EOL ; ;
175
175
176
176
try
177
177
{
0 commit comments