Passed
Push — v5 ( 2ad962...88ce87 )
by Andrew
16:48 queued 13s
created
src/fields/Code.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     /**
133 133
      * @inheritdoc
134 134
      */
135
-    public static function dbType(): array|string|null
135
+    public static function dbType(): array | string | null
136 136
     {
137 137
         return Schema::TYPE_TEXT;
138 138
     }
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      */
215 215
     public function getSettingsHtml(): ?string
216 216
     {
217
-        $monacoLanguages = require(__DIR__ . '/MonacoLanguages.php');
217
+        $monacoLanguages = require(__DIR__.'/MonacoLanguages.php');
218 218
         $schemaFilePath = Craft::getAlias('@nystudio107/codefield/resources/IEditorOptionsSchema.json');
219 219
         $optionsSchema = @file_get_contents($schemaFilePath) ?: '';
220 220
         // Render the settings template
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      * @inheritdoc
259 259
      */
260
-    public function getContentGqlType(): Type|array
260
+    public function getContentGqlType(): Type | array
261 261
     {
262 262
         $typeArray = CodeDataGenerator::generateTypes($this);
263 263
 
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
         // Extract just the languages that have been selected for display
310 310
         $displayLanguages = [];
311 311
         if ($this->showLanguageDropdown) {
312
-            $monacoLanguages = require(__DIR__ . '/MonacoLanguages.php');
312
+            $monacoLanguages = require(__DIR__.'/MonacoLanguages.php');
313 313
             $decomposedLanguages = array_column($monacoLanguages, 'label', 'value');
314 314
             $displayLanguages = array_intersect_key($decomposedLanguages, array_flip($this->availableLanguages));
315 315
             // Handle "all" checkbox
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.