Skip to content

Commit

Permalink
Remove collapsed true from Gitlab CI output (#3913)
Browse files Browse the repository at this point in the history
* Remove collapsed true from GItlab CI output

* Removed var_dump from docgen

* Committed updated docs
  • Loading branch information
peterjaap authored Oct 11, 2024
1 parent b632d26 commit e005ce5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Documentation/DocRecipe.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ public function parse(string $content)
$line = $lines[++$i];
while (!preg_match('/^}\);$/', $line)) {
$body[] = trim($line);
var_dump($line);
$line = $lines[++$i];
}
if (count($body) === 1 && preg_match('/throw new/', $body[0])) {
Expand Down
2 changes: 1 addition & 1 deletion src/Executor/Messenger.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function startTask(Task $task): void
} else if (getenv('GITLAB_CI')) {
$sectionId = md5($task->getName());
$start = round($this->startTime/1000);
$this->output->writeln("\e[0Ksection_start:{$start}:{$sectionId}[collapsed=true]\r\e[0K{$task->getName()}");
$this->output->writeln("\e[0Ksection_start:{$start}:{$sectionId}\r\e[0K{$task->getName()}");
} else {
$this->output->writeln("<fg=cyan;options=bold>task</> {$task->getName()}");
}
Expand Down

0 comments on commit e005ce5

Please sign in to comment.