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

api-platform / core / 18776385596

24 Oct 2025 10:01AM UTC coverage: 24.303% (-0.2%) from 24.544%
18776385596

push

github

web-flow
feat(doctrine): remove PUT & PATCH for readonly entity (#7453)

7 of 46 new or added lines in 3 files covered. (15.22%)

144 existing lines in 10 files now uncovered.

13881 of 57116 relevant lines covered (24.3%)

13.24 hits per line

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

0.0
/src/Symfony/Bundle/Resources/config/state/processor.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 Symfony\Component\DependencyInjection\Loader\Configurator;
15

UNCOV
16
return function (ContainerConfigurator $container) {
×
UNCOV
17
    $services = $container->services();
×
18

UNCOV
19
    $services->alias('api_platform.state_processor.main', 'api_platform.state_processor.respond');
×
20

UNCOV
21
    $services->set('api_platform.state_processor.serialize', 'ApiPlatform\State\Processor\SerializeProcessor')
×
UNCOV
22
        ->decorate('api_platform.state_processor.main', null, 200)
×
UNCOV
23
        ->args([
×
UNCOV
24
            service('api_platform.state_processor.serialize.inner'),
×
UNCOV
25
            service('api_platform.serializer'),
×
UNCOV
26
            service('api_platform.serializer.context_builder'),
×
UNCOV
27
        ]);
×
28

UNCOV
29
    $services->set('api_platform.state_processor.write', 'ApiPlatform\State\Processor\WriteProcessor')
×
UNCOV
30
        ->decorate('api_platform.state_processor.main', null, 100)
×
UNCOV
31
        ->args([
×
UNCOV
32
            service('api_platform.state_processor.write.inner'),
×
UNCOV
33
            service('api_platform.state_processor.locator'),
×
UNCOV
34
        ]);
×
35

UNCOV
36
    $services->set('api_platform.state_processor.respond', 'ApiPlatform\State\Processor\RespondProcessor')
×
UNCOV
37
        ->args([
×
UNCOV
38
            service('api_platform.iri_converter'),
×
UNCOV
39
            service('api_platform.resource_class_resolver'),
×
UNCOV
40
            service('api_platform.metadata.operation.metadata_factory'),
×
UNCOV
41
        ]);
×
42

UNCOV
43
    $services->set('api_platform.state_processor.add_link_header', 'ApiPlatform\State\Processor\AddLinkHeaderProcessor')
×
UNCOV
44
        ->decorate('api_platform.state_processor.respond', null, 0)
×
UNCOV
45
        ->args([service('api_platform.state_processor.add_link_header.inner')]);
×
UNCOV
46
};
×
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