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

api-platform / core / 13202629907

07 Feb 2025 03:13PM UTC coverage: 7.554% (+0.3%) from 7.283%
13202629907

Pull #6954

github

web-flow
Merge 696625eca into 89816721e
Pull Request #6954: perf: various optimizations for Laravel/Symfony

10 of 18 new or added lines in 4 files covered. (55.56%)

94 existing lines in 8 files now uncovered.

9931 of 131474 relevant lines covered (7.55%)

4.44 hits per line

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

0.0
/src/Symfony/Action/PlaceholderAction.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
/**
17
 * Placeholder returning the data passed in parameter.
18
 *
19
 * @author Kévin Dunglas <dunglas@gmail.com>
20
 */
21
final class PlaceholderAction
22
{
23
    /**
24
     * @param object $data
25
     *
26
     * @return object
27
     */
28
    public function __invoke($data)
29
    {
UNCOV
30
        return $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

© 2025 Coveralls, Inc