diff --git a/composer.json b/composer.json
index b20d16e..32c94c2 100644
--- a/composer.json
+++ b/composer.json
@@ -31,13 +31,13 @@
 	"require": {
 		"php": "^8.1",
 		"ext-json": "*",
-		"friendsofphp/php-cs-fixer": "^3.16",
+		"friendsofphp/php-cs-fixer": "^3.30",
 		"symfony/console": "^5.4 || ^6.0",
 		"symfony/filesystem": "^5.4 || ^6.0"
 	},
 	"require-dev": {
 		"composer/package-versions-deprecated": "^1.11.99.5",
-		"ergebnis/composer-normalize": "*",
+		"ergebnis/composer-normalize": "^2.28",
 		"keradus/cli-executor": "^1.5",
 		"maglnet/composer-require-checker": "*",
 		"nikic/php-parser": "^4.15.5",
diff --git a/rector.php b/rector.php
index 7b6c9c1..e9e7296 100644
--- a/rector.php
+++ b/rector.php
@@ -24,7 +24,7 @@
 use Rector\Symfony\Set\SymfonyLevelSetList;
 use Rector\Symfony\Set\SymfonySetList;
 
-return static function (RectorConfig $rectorConfig): void {
+return static function(RectorConfig $rectorConfig): void {
     $rectorConfig->paths([
         __DIR__ . '/src',
         __DIR__ . '/tests',
diff --git a/src/CsFixerConfig.php b/src/CsFixerConfig.php
index ca7b67f..642bd70 100644
--- a/src/CsFixerConfig.php
+++ b/src/CsFixerConfig.php
@@ -45,11 +45,20 @@ class CsFixerConfig extends Config implements CsFixerConfigInterface
         'array_syntax' => ['syntax' => 'short'],
         'cast_spaces' => ['space' => 'none'],
         'concat_space' => ['spacing' => 'one'],
+        'curly_braces_position' => ['allow_single_line_empty_anonymous_classes' => true],
         'declare_equal_normalize' => ['space' => 'none'],
         'declare_parentheses' => true,
         'dir_constant' => true,
         'function_to_constant' => ['functions' => ['get_called_class', 'get_class', 'get_class_this', 'php_sapi_name', 'phpversion', 'pi']],
         'function_typehint_space' => true,
+        'function_declaration' => [
+            'closure_function_spacing' => 'none',
+        ],
+        'single_line_throw' => false,
+        'php_unit_internal_class' => false,
+        'braces' => [
+            'allow_single_line_closure' => true,
+        ],
         'modernize_strpos' => true,
         'modernize_types_casting' => true,
         'native_function_casing' => true,
diff --git a/tests/Unit/Console/Command/CommandTestImplementation.php b/tests/Unit/Console/Command/CommandTestImplementation.php
index 65a25c2..58f2b20 100644
--- a/tests/Unit/Console/Command/CommandTestImplementation.php
+++ b/tests/Unit/Console/Command/CommandTestImplementation.php
@@ -21,6 +21,4 @@
 /**
  * @internal for testing only
  */
-final class CommandTestImplementation extends Command
-{
-}
+final class CommandTestImplementation extends Command {}
diff --git a/tests/Unit/CsFixerConfigTest.php b/tests/Unit/CsFixerConfigTest.php
index 300d7e4..219464e 100644
--- a/tests/Unit/CsFixerConfigTest.php
+++ b/tests/Unit/CsFixerConfigTest.php
@@ -27,7 +27,7 @@ public function testCreateReturnsCorrectClass(): void
         $csFixerConfig = CsFixerConfig::create();
         self::assertInstanceOf(CsFixerConfig::class, $csFixerConfig);
         self::assertTrue($csFixerConfig->getRiskyAllowed());
-        self::assertCount(46, $csFixerConfig->getRules());
+        self::assertCount(51, $csFixerConfig->getRules());
     }
 
     public function testAddRules(): void
diff --git a/typo3-coding-standards b/typo3-coding-standards
index 02cfefe..8b7fc94 100755
--- a/typo3-coding-standards
+++ b/typo3-coding-standards
@@ -16,7 +16,7 @@
 /**
  * Loads Composer's autoload.php.
  */
-(static function (): void {
+(static function(): void {
     $possibleAutoloaders = [
         __DIR__ . '/../../autoload.php',
         __DIR__ . '/../autoload.php',
@@ -32,7 +32,7 @@
     }
 
     if ($autoloader === null) {
-        throw new \RuntimeException(sprintf('Unable to locate autoload.php file from %s.', __FILE__));
+        throw new RuntimeException(sprintf('Unable to locate autoload.php file from %s.', __FILE__));
     }
 
     require_once $autoloader;