Skip to content

Commit faf98a2

Browse files
committed
Enable output buffer
1 parent a9f6ab2 commit faf98a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

helpers/cli.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,11 @@ function runAnnotate(string $enum, bool $force = false): bool
134134
// Since we are writing on the disk, the enum in memory might get out of sync.
135135
// To ensure that the annotations reflect the current content of such enum,
136136
// we spin a new process to load in memory the latest state of the enum.
137-
// ob_start();
137+
ob_start();
138138

139139
$succeeded = cli("annotate \"{$enum}\"" . ($force ? ' --force' : ''));
140140

141+
var_dump(ob_get_clean());
141142
// ob_end_clean();
142143

143144
return $succeeded;

0 commit comments

Comments
 (0)