Files
Yassine Guedidi 32d9e6f4cc Require trailing commas in multiline PHP arguments
Extend trailing comma coverage to call arguments while keeping the other Symfony preset targets and heredoc handling.
2026-11-23 11:31:50 +01:00

15 lines
364 B
PHP

<?php
if (!defined('WALLABAG_APP_PHP_DEPRECATED')) {
define('WALLABAG_APP_PHP_DEPRECATED', true);
trigger_error(
'web/app.php is deprecated and will be removed in wallabag 3.0. Use web/index.php instead.',
\E_USER_DEPRECATED,
);
}
$_SERVER['APP_ENV'] ??= 'prod';
$_SERVER['APP_DEBUG'] ??= '0';
return require __DIR__ . '/index.php';