*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
- * @deprecated 2025.02 use bin/console.php daemon instead
+ * @deprecated 2025.02 use `bin/console.php daemon` instead
*/
/**
require dirname(__DIR__) . '/vendor/autoload.php';
+fwrite(STDOUT, '`bin/daemon.php` is deprecated since 2024.02 and will be removed in 5 months, please use `bin/console.php daemon` instead.' . \PHP_EOL);
+
$argv = $_SERVER['argv'] ?? [];
array_splice($argv, 1, 0, "daemon");
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
- * @deprecated 2025.02 use bin/console.php jetstream instead
+ * @deprecated 2025.02 use `bin/console.php jetstream` instead
*/
if (php_sapi_name() !== 'cli') {
require dirname(__DIR__) . '/vendor/autoload.php';
+fwrite(STDOUT, '`bin/jetstream.php` is deprecated since 2024.02 and will be removed in 5 months, please use `bin/console.php jetstream` instead.' . \PHP_EOL);
+
$argv = $_SERVER['argv'] ?? [];
array_splice($argv, 1, 0, "jetstream");
*
* Starts the background processing
*
- * @deprecated 2025.02 use bin/console.php worker instead
+ * @deprecated 2025.02 use `bin/console.php worker` instead
*/
if (php_sapi_name() !== 'cli') {
require dirname(__DIR__) . '/vendor/autoload.php';
+fwrite(STDOUT, '`bin/worker.php` is deprecated since 2024.02 and will be removed in 5 months, please use `bin/console.php worker` instead.' . \PHP_EOL);
+
$argv = $_SERVER['argv'] ?? [];
array_splice($argv, 1, 0, "worker");