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 Jérémiah
02:37
created
tests/Functional/Generator/TypeGeneratorTest.php 5 patches
Indentation   -35 removed lines patch added patch discarded remove patch
@@ -111,38 +111,3 @@
 block discarded – undo
111 111
 
112 112
         // this is the part is why we must make this test run in separate process
113 113
         $query = <<<'EOF'
114
-            mutation {
115
-              conflictingValidatorNamespaces(test: "123", test2: "1", test3: "4")
116
-            }
117
-            EOF;
118
-
119
-        $response = static::query(
120
-            $query,
121
-            self::USER_RYAN,
122
-            'conflictingValidatorNamespaces'
123
-        )->getResponse()->getContent();
124
-
125
-        $this->assertEquals('{"data":{"conflictingValidatorNamespaces":true}}', $response);
126
-        // end part
127
-
128
-        // Validate definition file
129
-        /** @var string $definitionFile */
130
-        $definitionFile = file_get_contents($kernel->getCacheDir().'/overblog/graphql-bundle/__definitions__/MutationType.php');
131
-
132
-        $this->assertStringContainsString(
133
-            'use Symfony\Component\Validator\Constraints as SymfonyConstraints;',
134
-            $definitionFile,
135
-            'Generated definition file should contain import of Symfony\Component\Validator\Constraints aliased as SymfonyConstraints'
136
-        );
137
-        $this->assertStringNotContainsString(
138
-            'use '.Validator\CustomValidator1\Constraint::class,
139
-            $definitionFile,
140
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
141
-        );
142
-        $this->assertStringNotContainsString(
143
-            'use '.Validator\CustomValidator2\Constraint::class,
144
-            $definitionFile,
145
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
146
-        );
147
-    }
148
-}
Please login to merge, or discard this patch.
Switch Indentation   -35 removed lines patch added patch discarded remove patch
@@ -111,38 +111,3 @@
 block discarded – undo
111 111
 
112 112
         // this is the part is why we must make this test run in separate process
113 113
         $query = <<<'EOF'
114
-            mutation {
115
-              conflictingValidatorNamespaces(test: "123", test2: "1", test3: "4")
116
-            }
117
-            EOF;
118
-
119
-        $response = static::query(
120
-            $query,
121
-            self::USER_RYAN,
122
-            'conflictingValidatorNamespaces'
123
-        )->getResponse()->getContent();
124
-
125
-        $this->assertEquals('{"data":{"conflictingValidatorNamespaces":true}}', $response);
126
-        // end part
127
-
128
-        // Validate definition file
129
-        /** @var string $definitionFile */
130
-        $definitionFile = file_get_contents($kernel->getCacheDir().'/overblog/graphql-bundle/__definitions__/MutationType.php');
131
-
132
-        $this->assertStringContainsString(
133
-            'use Symfony\Component\Validator\Constraints as SymfonyConstraints;',
134
-            $definitionFile,
135
-            'Generated definition file should contain import of Symfony\Component\Validator\Constraints aliased as SymfonyConstraints'
136
-        );
137
-        $this->assertStringNotContainsString(
138
-            'use '.Validator\CustomValidator1\Constraint::class,
139
-            $definitionFile,
140
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
141
-        );
142
-        $this->assertStringNotContainsString(
143
-            'use '.Validator\CustomValidator2\Constraint::class,
144
-            $definitionFile,
145
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
146
-        );
147
-    }
148
-}
Please login to merge, or discard this patch.
Spacing   -35 removed lines patch added patch discarded remove patch
@@ -111,38 +111,3 @@
 block discarded – undo
111 111
 
112 112
         // this is the part is why we must make this test run in separate process
113 113
         $query = <<<'EOF'
114
-            mutation {
115
-              conflictingValidatorNamespaces(test: "123", test2: "1", test3: "4")
116
-            }
117
-            EOF;
118
-
119
-        $response = static::query(
120
-            $query,
121
-            self::USER_RYAN,
122
-            'conflictingValidatorNamespaces'
123
-        )->getResponse()->getContent();
124
-
125
-        $this->assertEquals('{"data":{"conflictingValidatorNamespaces":true}}', $response);
126
-        // end part
127
-
128
-        // Validate definition file
129
-        /** @var string $definitionFile */
130
-        $definitionFile = file_get_contents($kernel->getCacheDir().'/overblog/graphql-bundle/__definitions__/MutationType.php');
131
-
132
-        $this->assertStringContainsString(
133
-            'use Symfony\Component\Validator\Constraints as SymfonyConstraints;',
134
-            $definitionFile,
135
-            'Generated definition file should contain import of Symfony\Component\Validator\Constraints aliased as SymfonyConstraints'
136
-        );
137
-        $this->assertStringNotContainsString(
138
-            'use '.Validator\CustomValidator1\Constraint::class,
139
-            $definitionFile,
140
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
141
-        );
142
-        $this->assertStringNotContainsString(
143
-            'use '.Validator\CustomValidator2\Constraint::class,
144
-            $definitionFile,
145
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
146
-        );
147
-    }
148
-}
Please login to merge, or discard this patch.
Braces   -35 removed lines patch added patch discarded remove patch
@@ -111,38 +111,3 @@
 block discarded – undo
111 111
 
112 112
         // this is the part is why we must make this test run in separate process
113 113
         $query = <<<'EOF'
114
-            mutation {
115
-              conflictingValidatorNamespaces(test: "123", test2: "1", test3: "4")
116
-            }
117
-            EOF;
118
-
119
-        $response = static::query(
120
-            $query,
121
-            self::USER_RYAN,
122
-            'conflictingValidatorNamespaces'
123
-        )->getResponse()->getContent();
124
-
125
-        $this->assertEquals('{"data":{"conflictingValidatorNamespaces":true}}', $response);
126
-        // end part
127
-
128
-        // Validate definition file
129
-        /** @var string $definitionFile */
130
-        $definitionFile = file_get_contents($kernel->getCacheDir().'/overblog/graphql-bundle/__definitions__/MutationType.php');
131
-
132
-        $this->assertStringContainsString(
133
-            'use Symfony\Component\Validator\Constraints as SymfonyConstraints;',
134
-            $definitionFile,
135
-            'Generated definition file should contain import of Symfony\Component\Validator\Constraints aliased as SymfonyConstraints'
136
-        );
137
-        $this->assertStringNotContainsString(
138
-            'use '.Validator\CustomValidator1\Constraint::class,
139
-            $definitionFile,
140
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
141
-        );
142
-        $this->assertStringNotContainsString(
143
-            'use '.Validator\CustomValidator2\Constraint::class,
144
-            $definitionFile,
145
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
146
-        );
147
-    }
148
-}
Please login to merge, or discard this patch.
Upper-Lower-Casing   -35 removed lines patch added patch discarded remove patch
@@ -111,38 +111,3 @@
 block discarded – undo
111 111
 
112 112
         // this is the part is why we must make this test run in separate process
113 113
         $query = <<<'EOF'
114
-            mutation {
115
-              conflictingValidatorNamespaces(test: "123", test2: "1", test3: "4")
116
-            }
117
-            EOF;
118
-
119
-        $response = static::query(
120
-            $query,
121
-            self::USER_RYAN,
122
-            'conflictingValidatorNamespaces'
123
-        )->getResponse()->getContent();
124
-
125
-        $this->assertEquals('{"data":{"conflictingValidatorNamespaces":true}}', $response);
126
-        // end part
127
-
128
-        // Validate definition file
129
-        /** @var string $definitionFile */
130
-        $definitionFile = file_get_contents($kernel->getCacheDir().'/overblog/graphql-bundle/__definitions__/MutationType.php');
131
-
132
-        $this->assertStringContainsString(
133
-            'use Symfony\Component\Validator\Constraints as SymfonyConstraints;',
134
-            $definitionFile,
135
-            'Generated definition file should contain import of Symfony\Component\Validator\Constraints aliased as SymfonyConstraints'
136
-        );
137
-        $this->assertStringNotContainsString(
138
-            'use '.Validator\CustomValidator1\Constraint::class,
139
-            $definitionFile,
140
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
141
-        );
142
-        $this->assertStringNotContainsString(
143
-            'use '.Validator\CustomValidator2\Constraint::class,
144
-            $definitionFile,
145
-            'Generated definition file should not contain imports of custom constraints, FQCN should be used instead'
146
-        );
147
-    }
148
-}
Please login to merge, or discard this patch.