We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52ea899 commit e65010cCopy full SHA for e65010c
tests/Maker/MakeCrudTest.php
@@ -122,6 +122,17 @@ public function getTestDetails(): \Generator
122
Yaml::dump(['maker' => ['root_namespace' => 'Custom']])
123
);
124
125
+ // Symfony 6.2 sets the path and namespace for router resources
126
+ $runner->modifyYamlFile('config/routes.yaml', function (array $config) {
127
+ if (!isset($config['controllers']['resource']['namespace'])) {
128
+ return $config;
129
+ }
130
+
131
+ $config['controllers']['resource']['namespace'] = 'Custom\Controller';
132
133
134
+ });
135
136
$runner->copy(
137
'make-crud/SweetFood-custom-namespace.php',
138
'src/Entity/SweetFood.php'
0 commit comments