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

overblog / GraphQLBundle / 21414995357

27 Jan 2026 09:31PM UTC coverage: 98.346% (+0.06%) from 98.283%
21414995357

Pull #1232

github

web-flow
Merge e0b35f2bd into 63c710b33
Pull Request #1232: Bump php version to at least 8.1

4520 of 4596 relevant lines covered (98.35%)

38.7 hits per line

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

57.14
/src/DependencyInjection/Compiler/QueryTaggedServiceMappingPass.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Overblog\GraphQLBundle\DependencyInjection\Compiler;
6

7
use InvalidArgumentException;
8

9
use function is_string;
10
use function sprintf;
11

12
class QueryTaggedServiceMappingPass extends TaggedServiceMappingPass
13
{
14
    protected function getTagName(): string
15
    {
16
        return 'overblog_graphql.query';
43✔
17
    }
18

19
    protected function checkRequirements(string $id, array $tag): void
20
    {
21
        parent::checkRequirements($id, $tag);
43✔
22

23
        if (isset($tag['method']) && !is_string($tag['method'])) {
43✔
24
            throw new InvalidArgumentException(
×
25
                sprintf('Service tagged "%s" must have valid "method" argument.', $id)
×
26
            );
×
27
        }
28
    }
29

30
    protected function getResolverServiceID(): string
31
    {
32
        return 'overblog_graphql.query_resolver';
43✔
33
    }
34
}
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