| Conditions | 1 |
| Paths | 1 |
| Total Lines | 27 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 2 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | 2 | public function __invoke(): array |
|
| 14 | { |
||
| 15 | return [ |
||
| 16 | 2 | 'dependencies' => $this->getDependencies(), |
|
| 17 | 'sentry' => [ |
||
| 18 | 'options' => [ |
||
| 19 | 'dsn' => '', |
||
| 20 | ], |
||
| 21 | 'javascript' => [ |
||
| 22 | 'inject_script' => false, |
||
| 23 | 'script' => [ |
||
| 24 | 'src' => 'https://browser.sentry-cdn.com/5.6.3/bundle.min.js', |
||
| 25 | 'integrity' => 'sha384-/Cqa/8kaWn7emdqIBLk3AkFMAHBk0LObErtMhO+hr52CntkaurEnihPmqYj3uJho', |
||
| 26 | 'crossorigin' => 'anonymous', |
||
| 27 | ], |
||
| 28 | 'options' => [ |
||
| 29 | 'dsn' => '', |
||
| 30 | ], |
||
| 31 | ], |
||
| 32 | ], |
||
| 33 | 'log_writers' => [ |
||
| 34 | 'factories' => [ |
||
| 35 | Log\Writer\Sentry::class => InvokableFactory::class, |
||
| 36 | ], |
||
| 37 | ], |
||
| 38 | ]; |
||
| 39 | } |
||
| 40 | |||
| 52 |