diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 44a14da7..76416958 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -34,6 +34,7 @@ 'get_class_to_class_keyword' => false, // should be enabled as soon as support for php < 8 is dropped 'nullable_type_declaration_for_default_null_value' => true, 'no_null_property_initialization' => false, + 'new_with_parentheses' => true, ]) ->setFinder( PhpCsFixer\Finder::create() diff --git a/Resources/config/controller.xml b/Resources/config/controller.xml index 6b905ac8..92d30fb1 100644 --- a/Resources/config/controller.xml +++ b/Resources/config/controller.xml @@ -8,12 +8,11 @@ public="true"> - - + diff --git a/Tests/Application/config/templates/examples/default.xml b/Tests/Application/config/templates/examples/default.xml index ad509ec9..a28945d1 100644 --- a/Tests/Application/config/templates/examples/default.xml +++ b/Tests/Application/config/templates/examples/default.xml @@ -6,7 +6,7 @@ default @ExampleTest/examples/default - Sulu\Bundle\WebsiteBundle\Controller\DefaultController::indexAction + Sulu\Bundle\ContentBundle\Content\UserInterface\Controller\Website\ContentController::indexAction 604800 diff --git a/Tests/Application/config/templates/examples/example-2.xml b/Tests/Application/config/templates/examples/example-2.xml index 3a07a642..faa7fea9 100644 --- a/Tests/Application/config/templates/examples/example-2.xml +++ b/Tests/Application/config/templates/examples/example-2.xml @@ -6,7 +6,7 @@ example-2 @ExampleTest/examples/example-2 - Sulu\Bundle\WebsiteBundle\Controller\DefaultController::indexAction + Sulu\Bundle\ContentBundle\Content\UserInterface\Controller\Website\ContentController::indexAction 604800 diff --git a/Tests/Application/config/templates/examples/no-route.xml b/Tests/Application/config/templates/examples/no-route.xml index 3c838658..0e1edc6c 100644 --- a/Tests/Application/config/templates/examples/no-route.xml +++ b/Tests/Application/config/templates/examples/no-route.xml @@ -6,7 +6,7 @@ no-route @ExampleTest/examples/example-2 - Sulu\Bundle\WebsiteBundle\Controller\DefaultController::indexAction + Sulu\Bundle\ContentBundle\Content\UserInterface\Controller\Website\ContentController::indexAction 604800