Skip to content

Commit

Permalink
refactor(PhpBuiltInServer) remove debug entries
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Oct 21, 2023
1 parent a247080 commit b8f5567
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ManagedProcess/PhpBuiltInServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,9 @@ public function getPort(): int

private function confirmServerRunningOnPort(Process $process): bool
{
codecept_debug('confirming ...');
if ($process->getErrorOutput() === '') {
$process->waitUntil(
static function (string $type, string $output): bool {
codecept_debug(sprintf('type: %s, output: %s', $type, $output));
return $type === Process::ERR && !empty($output);
}
);
Expand Down
6 changes: 6 additions & 0 deletions tests/Issue/BlogArchiveCest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
/**
* ${CARET}
*
* @since TBD
*/

0 comments on commit b8f5567

Please sign in to comment.