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

api-platform / core / 19235588366

10 Nov 2025 02:48PM UTC coverage: 0.0%. Remained the same
19235588366

Pull #7521

github

web-flow
Merge c4406a036 into 70611b397
Pull Request #7521: fix(state): create PUT has relation with lazy mapper

0 of 69 new or added lines in 6 files covered. (0.0%)

34 existing lines in 5 files now uncovered.

0 of 56734 relevant lines covered (0.0%)

0.0 hits per line

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

0.0
/src/State/ObjectMapper/ObjectMapper.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\State\ObjectMapper;
15

16
use Symfony\Component\ObjectMapper\ObjectMapperAwareInterface;
17
use Symfony\Component\ObjectMapper\ObjectMapperInterface;
18

19
final class ObjectMapper implements ObjectMapperInterface
20
{
21
    public function __construct(private ObjectMapperInterface $decorated)
22
    {
UNCOV
23
        if ($this->decorated instanceof ObjectMapperAwareInterface) {
×
24
            $this->decorated = $this->decorated->withObjectMapper($this);
×
25
        }
26
    }
27

28
    public function map(object $source, object|string|null $target = null): object
29
    {
UNCOV
30
        return $this->decorated->map($source, $target);
×
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