Skip to content

Commit 17909fa

Browse files
committed
feat: standardize completion message to "__DDLESS_REQUEST_COMPLETE__" in error logging
1 parent 2d6ea9d commit 17909fa

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/frameworks/codeigniter/http_request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,5 +782,5 @@ function is_cli(): bool
782782
if ($phpWrapperReplaced) {
783783
@stream_wrapper_restore('php');
784784
}
785-
fwrite(STDERR, "[ddless] PHP execution complete\n");
785+
fwrite(STDERR, "__DDLESS_REQUEST_COMPLETE__\n");
786786
}

src/frameworks/laravel/http_request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,5 +854,5 @@ function ddless_response_status_text(int $statusCode): ?string
854854
if ($phpWrapperReplaced) {
855855
@stream_wrapper_restore('php');
856856
}
857-
fwrite(STDERR, "[ddless] PHP execution complete\n");
857+
fwrite(STDERR, "__DDLESS_REQUEST_COMPLETE__\n");
858858
}

src/frameworks/php/http_request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,4 +610,4 @@ function ddless_read_breakpoints(string $ddlessDir): array
610610
@stream_wrapper_restore('php');
611611
}
612612

613-
fwrite(STDERR, "[ddless] PHP execution complete\n");
613+
fwrite(STDERR, "__DDLESS_REQUEST_COMPLETE__\n");

src/frameworks/symfony/http_request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,5 +787,5 @@ function ddless_response_status_text(int $statusCode): ?string
787787
if ($phpWrapperReplaced) {
788788
@stream_wrapper_restore('php');
789789
}
790-
fwrite(STDERR, "[ddless] PHP execution complete\n");
790+
fwrite(STDERR, "__DDLESS_REQUEST_COMPLETE__\n");
791791
}

src/frameworks/tempest/http_request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,5 +956,5 @@ function ddless_response_status_text(int $statusCode): ?string
956956
if ($phpWrapperReplaced) {
957957
@stream_wrapper_restore('php');
958958
}
959-
fwrite(STDERR, "[ddless] PHP execution complete\n");
959+
fwrite(STDERR, "__DDLESS_REQUEST_COMPLETE__\n");
960960
}

src/frameworks/wordpress/http_request.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ function ddless_read_breakpoints(string $ddlessDir): array
497497
$rootSnapshotPath = $ddlessDirectory . DIRECTORY_SEPARATOR . 'last_execution.json';
498498
@file_put_contents($rootSnapshotPath, $encodedSnapshot);
499499

500-
fwrite(STDERR, "[ddless] WordPress execution complete\n");
500+
fwrite(STDERR, "__DDLESS_REQUEST_COMPLETE__\n");
501501
});
502502

503503
$currentHost = $_SERVER['HTTP_HOST'] ?? ('127.0.0.1' . (isset($_SERVER['SERVER_PORT']) ? ':' . $_SERVER['SERVER_PORT'] : ''));
@@ -709,7 +709,7 @@ function ddless_read_breakpoints(string $ddlessDir): array
709709
$rootSnapshotPath = $ddlessDirectory . DIRECTORY_SEPARATOR . 'last_execution.json';
710710
@file_put_contents($rootSnapshotPath, $encodedSnapshot);
711711

712-
fwrite(STDERR, "[ddless] WordPress execution complete\n");
712+
fwrite(STDERR, "__DDLESS_REQUEST_COMPLETE__\n");
713713
});
714714

715715
// Capture output — WordPress outputs HTML directly via wp-blog-header.php.

0 commit comments

Comments
 (0)