diff --git a/.phpstan.neon b/.phpstan.neon index 687b9d2f98..918ebe6eb8 100644 --- a/.phpstan.neon +++ b/.phpstan.neon @@ -7,8 +7,11 @@ parameters: paths: - addon/ - - src/ + - bin/auth_ejabberd.php + - bin/console.php + - bin/daemon.php - index.php + - src/ excludePaths: analyse: diff --git a/bin/daemon.php b/bin/daemon.php index 83774c7a2d..06e8574cae 100755 --- a/bin/daemon.php +++ b/bin/daemon.php @@ -31,4 +31,4 @@ $dice = (new Dice())->addRules(require(dirname(__DIR__) . '/static/dependencies. $app = \Friendica\App::fromDice($dice); -$app->processDaemon($_SERVER['argv'] ?? [], $options); +$app->processDaemon($_SERVER['argv'] ?? [], $options ?: []);