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

api-platform / core / 14375359694

10 Apr 2025 08:01AM UTC coverage: 8.491% (+0.07%) from 8.425%
14375359694

push

github

web-flow
fix(hydra): use correctly enable_docs (#7062)

18 of 118 new or added lines in 5 files covered. (15.25%)

508 existing lines in 190 files now uncovered.

13401 of 157825 relevant lines covered (8.49%)

22.87 hits per line

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

100.0
/src/Symfony/Action/NotFoundAction.php
1
<?php
2

3
/*
4
 * This file is part of the API Platform project.
5
 *
6
 * (c) Kévin Dunglas <dunglas@gmail.com>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11

12
declare(strict_types=1);
13

14
namespace ApiPlatform\Symfony\Action;
15

16
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
17

18
/**
19
 * An action which always returns HTTP 404 Not Found. Useful for disabling an operation.
20
 */
21
final class NotFoundAction
22
{
23
    public function __invoke(): void
24
    {
UNCOV
25
        throw new NotFoundHttpException();
2✔
26
    }
27
}
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