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

Test Failed
Pull Request — 0.14 (#968)
by
unknown
01:55
created
tests/Functional/Generator/TypeGeneratorTest.php 5 patches
Indentation   -35 removed lines patch added patch discarded remove patch
@@ -108,38 +108,3 @@
 block discarded – undo
108 108
         static::bootKernel(['test_case' => 'conflictingValidatorNamespaces']);
109 109
 
110 110
         $query = <<<'EOF'
111
-            mutation {
112
-              conflictingValidatorNamespaces(test: "123", test2: "1", test3: "4")
113
-            }
114
-            EOF;
115
-
116
-        $response = static::query(
117
-            $query,
118
-            self::USER_RYAN,
119
-            'conflictingValidatorNamespaces'
120
-        )->getResponse()->getContent();
121
-
122
-        self::assertEquals('{"data":{"conflictingValidatorNamespaces":true}}', $response);
123
-
124
-        // Validate definition file
125
-        $defenitionFile = file_get_contents(self::$kernel->getCacheDir().'/overblog/graphql-bundle/__definitions__/MutationType.php');
126
-
127
-        self::assertStringContainsString(
128
-            'use Symfony\Component\Validator\Constraints as SymfonyConstraints;',
129
-            $defenitionFile,
130
-            'Generated definition file should contain import of Symfony\Component\Validator\Constraints aliased as SymfonyConstraints'
131
-        );
132
-        self::assertStringNotContainsString(
133
-            'use '.Validator\CustomValidator1\Constraint::class,
134
-            $defenitionFile,
135
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
136
-        );
137
-        self::assertStringNotContainsString(
138
-            'use '.Validator\CustomValidator2\Constraint::class,
139
-            $defenitionFile,
140
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
141
-        );
142
-
143
-        self::assertTrue(true);
144
-    }
145
-}
Please login to merge, or discard this patch.
Switch Indentation   -35 removed lines patch added patch discarded remove patch
@@ -108,38 +108,3 @@
 block discarded – undo
108 108
         static::bootKernel(['test_case' => 'conflictingValidatorNamespaces']);
109 109
 
110 110
         $query = <<<'EOF'
111
-            mutation {
112
-              conflictingValidatorNamespaces(test: "123", test2: "1", test3: "4")
113
-            }
114
-            EOF;
115
-
116
-        $response = static::query(
117
-            $query,
118
-            self::USER_RYAN,
119
-            'conflictingValidatorNamespaces'
120
-        )->getResponse()->getContent();
121
-
122
-        self::assertEquals('{"data":{"conflictingValidatorNamespaces":true}}', $response);
123
-
124
-        // Validate definition file
125
-        $defenitionFile = file_get_contents(self::$kernel->getCacheDir().'/overblog/graphql-bundle/__definitions__/MutationType.php');
126
-
127
-        self::assertStringContainsString(
128
-            'use Symfony\Component\Validator\Constraints as SymfonyConstraints;',
129
-            $defenitionFile,
130
-            'Generated definition file should contain import of Symfony\Component\Validator\Constraints aliased as SymfonyConstraints'
131
-        );
132
-        self::assertStringNotContainsString(
133
-            'use '.Validator\CustomValidator1\Constraint::class,
134
-            $defenitionFile,
135
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
136
-        );
137
-        self::assertStringNotContainsString(
138
-            'use '.Validator\CustomValidator2\Constraint::class,
139
-            $defenitionFile,
140
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
141
-        );
142
-
143
-        self::assertTrue(true);
144
-    }
145
-}
Please login to merge, or discard this patch.
Spacing   -35 removed lines patch added patch discarded remove patch
@@ -108,38 +108,3 @@
 block discarded – undo
108 108
         static::bootKernel(['test_case' => 'conflictingValidatorNamespaces']);
109 109
 
110 110
         $query = <<<'EOF'
111
-            mutation {
112
-              conflictingValidatorNamespaces(test: "123", test2: "1", test3: "4")
113
-            }
114
-            EOF;
115
-
116
-        $response = static::query(
117
-            $query,
118
-            self::USER_RYAN,
119
-            'conflictingValidatorNamespaces'
120
-        )->getResponse()->getContent();
121
-
122
-        self::assertEquals('{"data":{"conflictingValidatorNamespaces":true}}', $response);
123
-
124
-        // Validate definition file
125
-        $defenitionFile = file_get_contents(self::$kernel->getCacheDir().'/overblog/graphql-bundle/__definitions__/MutationType.php');
126
-
127
-        self::assertStringContainsString(
128
-            'use Symfony\Component\Validator\Constraints as SymfonyConstraints;',
129
-            $defenitionFile,
130
-            'Generated definition file should contain import of Symfony\Component\Validator\Constraints aliased as SymfonyConstraints'
131
-        );
132
-        self::assertStringNotContainsString(
133
-            'use '.Validator\CustomValidator1\Constraint::class,
134
-            $defenitionFile,
135
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
136
-        );
137
-        self::assertStringNotContainsString(
138
-            'use '.Validator\CustomValidator2\Constraint::class,
139
-            $defenitionFile,
140
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
141
-        );
142
-
143
-        self::assertTrue(true);
144
-    }
145
-}
Please login to merge, or discard this patch.
Braces   -35 removed lines patch added patch discarded remove patch
@@ -108,38 +108,3 @@
 block discarded – undo
108 108
         static::bootKernel(['test_case' => 'conflictingValidatorNamespaces']);
109 109
 
110 110
         $query = <<<'EOF'
111
-            mutation {
112
-              conflictingValidatorNamespaces(test: "123", test2: "1", test3: "4")
113
-            }
114
-            EOF;
115
-
116
-        $response = static::query(
117
-            $query,
118
-            self::USER_RYAN,
119
-            'conflictingValidatorNamespaces'
120
-        )->getResponse()->getContent();
121
-
122
-        self::assertEquals('{"data":{"conflictingValidatorNamespaces":true}}', $response);
123
-
124
-        // Validate definition file
125
-        $defenitionFile = file_get_contents(self::$kernel->getCacheDir().'/overblog/graphql-bundle/__definitions__/MutationType.php');
126
-
127
-        self::assertStringContainsString(
128
-            'use Symfony\Component\Validator\Constraints as SymfonyConstraints;',
129
-            $defenitionFile,
130
-            'Generated definition file should contain import of Symfony\Component\Validator\Constraints aliased as SymfonyConstraints'
131
-        );
132
-        self::assertStringNotContainsString(
133
-            'use '.Validator\CustomValidator1\Constraint::class,
134
-            $defenitionFile,
135
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
136
-        );
137
-        self::assertStringNotContainsString(
138
-            'use '.Validator\CustomValidator2\Constraint::class,
139
-            $defenitionFile,
140
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
141
-        );
142
-
143
-        self::assertTrue(true);
144
-    }
145
-}
Please login to merge, or discard this patch.
Upper-Lower-Casing   -35 removed lines patch added patch discarded remove patch
@@ -108,38 +108,3 @@
 block discarded – undo
108 108
         static::bootKernel(['test_case' => 'conflictingValidatorNamespaces']);
109 109
 
110 110
         $query = <<<'EOF'
111
-            mutation {
112
-              conflictingValidatorNamespaces(test: "123", test2: "1", test3: "4")
113
-            }
114
-            EOF;
115
-
116
-        $response = static::query(
117
-            $query,
118
-            self::USER_RYAN,
119
-            'conflictingValidatorNamespaces'
120
-        )->getResponse()->getContent();
121
-
122
-        self::assertEquals('{"data":{"conflictingValidatorNamespaces":true}}', $response);
123
-
124
-        // Validate definition file
125
-        $defenitionFile = file_get_contents(self::$kernel->getCacheDir().'/overblog/graphql-bundle/__definitions__/MutationType.php');
126
-
127
-        self::assertStringContainsString(
128
-            'use Symfony\Component\Validator\Constraints as SymfonyConstraints;',
129
-            $defenitionFile,
130
-            'Generated definition file should contain import of Symfony\Component\Validator\Constraints aliased as SymfonyConstraints'
131
-        );
132
-        self::assertStringNotContainsString(
133
-            'use '.Validator\CustomValidator1\Constraint::class,
134
-            $defenitionFile,
135
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
136
-        );
137
-        self::assertStringNotContainsString(
138
-            'use '.Validator\CustomValidator2\Constraint::class,
139
-            $defenitionFile,
140
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
141
-        );
142
-
143
-        self::assertTrue(true);
144
-    }
145
-}
Please login to merge, or discard this patch.