Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Code Duplication    Length = 15-15 lines in 2 locations

Tests/DependencyInjection/Compiler/ResolverTaggedServiceMappingPassTest.php 2 locations

@@ 48-62 (lines=15) @@
45
        $this->assertTrue($this->container->has('test_resolver'));
46
    }
47
48
    public function testTagAliasIsValid()
49
    {
50
        $testResolver = new Definition(ResolverTestService::class);
51
        $testResolver
52
            ->addTag('overblog_graphql.resolver', [
53
                'alias' => false, 'method' => 'doSomethingWithContainer',
54
            ]);
55
56
        $this->container->setDefinition('test_resolver', $testResolver);
57
58
        $this->expectException(\InvalidArgumentException::class);
59
        $this->expectExceptionMessage('Service tagged "test_resolver" must have valid "alias" argument.');
60
61
        $this->addCompilerPassesAndCompile();
62
    }
63
64
    public function testTagMethodIsValid()
65
    {
@@ 64-78 (lines=15) @@
61
        $this->addCompilerPassesAndCompile();
62
    }
63
64
    public function testTagMethodIsValid()
65
    {
66
        $testResolver = new Definition(ResolverTestService::class);
67
        $testResolver
68
            ->addTag('overblog_graphql.resolver', [
69
                'alias' => 'test_resolver', 'method' => false,
70
            ]);
71
72
        $this->container->setDefinition('test_resolver', $testResolver);
73
74
        $this->expectException(\InvalidArgumentException::class);
75
        $this->expectExceptionMessage('Service tagged "test_resolver" must have valid "method" argument.');
76
77
        $this->addCompilerPassesAndCompile();
78
    }
79
}
80