Force backslashes for non imported namespaces
authorAlexander Ebert <ebert@woltlab.com>
Mon, 5 Feb 2024 15:19:05 +0000 (16:19 +0100)
committerOlaf Braun <info@braun-development.de>
Thu, 7 Mar 2024 15:36:58 +0000 (16:36 +0100)
.php-cs-fixer.dist.php

index de555ac6dc221cbef3132109e70a62a47dbfccc4..220660a44a356d2cf8b5d00cc739680884f4d016 100644 (file)
@@ -66,7 +66,7 @@ return (new PhpCsFixer\Config())
         'return_type_declaration' => true,
         'static_lambda' => true,
 
-        'fully_qualified_strict_types' => true,
+        'fully_qualified_strict_types' => ['leading_backslash_in_global_namespace' => true],
         'no_leading_import_slash' => true,
         'no_unused_imports' => true,
         'ordered_imports' => true,