| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | protected function setUp(): void |
||
| 22 | { |
||
| 23 | parent::setUp(); |
||
| 24 | |||
| 25 | $container = new SimpleContainer( |
||
| 26 | [ |
||
| 27 | Aliases::class => new Aliases(['@public' => __DIR__]), |
||
| 28 | CacheInterface::class => new Cache(new MemorySimpleCache()), |
||
| 29 | WebView::class => new WebView(__DIR__ . '/public/view', new SimpleEventDispatcher()), |
||
| 30 | ] |
||
| 31 | ); |
||
| 32 | |||
| 33 | WidgetFactory::initialize($container, []); |
||
| 34 | |||
| 35 | $this->cache = $container->get(CacheInterface::class); |
||
| 36 | $this->webView = $container->get(WebView::class); |
||
| 37 | } |
||
| 45 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.