for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Sulao\ThinkSentry;
use Sentry;
use think\Service;
class SentryService extends Service
{
public function boot()
$config = $this->app->config->get('sentry', []) + ['dsn' => null];
Sentry\init($config);
init
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
/** @scrutinizer ignore-call */
}