• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

klinge / sl-webapp / 18972011891

31 Oct 2025 12:06PM UTC coverage: 74.73% (+11.1%) from 63.602%
18972011891

push

github

klinge
Fixed phpcs errors

1662 of 2224 relevant lines covered (74.73%)

3.82 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/App/Controllers/UserController.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace App\Controllers;
6

7
use App\Services\UrlGeneratorService;
8
use App\Utils\View;
9
use Psr\Http\Message\ServerRequestInterface;
10
use Psr\Http\Message\ResponseInterface;
11
use Monolog\Logger;
12
use League\Container\Container;
13

14
class UserController extends BaseController
15
{
16
    private View $view;
17

18
    public function __construct(UrlGeneratorService $urlGenerator, ServerRequestInterface $request, Logger $logger, Container $container, View $view)
19
    {
20
        parent::__construct($urlGenerator, $request, $logger, $container);
×
21
        $this->view = $view;
×
22
    }
23

24
    public function home(): ResponseInterface
25
    {
26
        //Put everyting in the data variable that is used by the view
27
        $data = [
×
28
            "title" => "Medlemssidan..",
×
29
        ];
×
30
        return $this->view->render('/user/index', $data);
×
31
    }
32
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc