Passed
Push — v4 ( c9b614...e09779 )
by Andrew
33:12 queued 26:39
created
src/gql/types/generators/CodeDataGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,6 +70,6 @@
 block discarded – undo
70 70
     public static function getName($context = null): string
71 71
     {
72 72
         /** @var Code $context */
73
-        return $context->handle . '_CodeData';
73
+        return $context->handle.'_CodeData';
74 74
     }
75 75
 }
Please login to merge, or discard this patch.
ecs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 
6 6
 return static function(ECSConfig $ecsConfig): void {
7 7
     $ecsConfig->paths([
8
-        __DIR__ . '/src',
8
+        __DIR__.'/src',
9 9
         __FILE__,
10 10
     ]);
11 11
     $ecsConfig->parallel();
Please login to merge, or discard this patch.
src/fields/Code.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
      */
179 179
     public function getSettingsHtml(): ?string
180 180
     {
181
-        $monacoLanguages = require(__DIR__ . '/MonacoLanguages.php');
181
+        $monacoLanguages = require(__DIR__.'/MonacoLanguages.php');
182 182
         $schemaFilePath = Craft::getAlias('@nystudio107/codefield/resources/IEditorOptionsSchema.json');
183 183
         $optionsSchema = @file_get_contents($schemaFilePath) ?: '';
184 184
         // Render the settings template
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
     /**
222 222
      * @inheritdoc
223 223
      */
224
-    public function getContentGqlType(): Type|array
224
+    public function getContentGqlType(): Type | array
225 225
     {
226 226
         $typeArray = CodeDataGenerator::generateTypes($this);
227 227
 
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
         // Extract just the languages that have been selected for display
286 286
         $displayLanguages = [];
287 287
         if ($this->showLanguageDropdown) {
288
-            $monacoLanguages = require(__DIR__ . '/MonacoLanguages.php');
288
+            $monacoLanguages = require(__DIR__.'/MonacoLanguages.php');
289 289
             $decomposedLanguages = array_column($monacoLanguages, 'label', 'value');
290 290
             $displayLanguages = array_intersect_key($decomposedLanguages, array_flip($this->availableLanguages));
291 291
             // Handle "all" checkbox
Please login to merge, or discard this patch.