Run Rector on your code to see what it can do for you:

      *               tplset: ?string,
      *           }   $default
      */
-    private array $default = [
-        // set by dc
-        'state'         => self::STATE_INIT_DISABLED,
-        'root'          => null,
-        'namespace'     => null,
-        'root_writable' => false,
-        'distributed'   => false,
-
-        // required
-        'name'    => self::DEFAULT_NAME,
-        'desc'    => '',
-        'author'  => '',
-        'version' => '0',
-        'type'    => self::DEFAULT_TYPE, /// 'theme' (string)
-
-        // optionnal
-        'permissions'        => null,
-        'priority'           => self::DEFAULT_PRIORITY, // 1000 (int
-        'standalone_config'  => false,
-        'information_config' => false,
-        'requires'           => [],
-        'settings'           => [],
-        'date'               => '', // release date format must be iso8601
-
-        // optionnal++
-        'label'      => '',
-        'support'    => '',
-        'details'    => '',
-        'repository' => '',
-
-        // theme specifics
-        'parent' => null,
-        'tplset' => null,
-    ];
+    private array $default;
     
     /**
      * Create a module definition.
PHP snippet to change

Applied Rules:

Not a change you expect?

Config  rector.php
Rector version: b97539 - released at 2026-08-03 00:11