@@ -161,15 +161,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
161
161
'application ' => $ excludedModulePaths ,
162
162
'framework ' => $ excludedLibraryPaths
163
163
];
164
- $ dataAttributesIncludePattern = [
165
- 'extension_attributes ' => '/\/etc\/([a-zA-Z_]*\/extension_attributes|extension_attributes)\.xml$/ '
166
- ];
167
164
$ this ->configureObjectManager ($ output );
168
165
169
- $ operations = $ this ->getOperationsConfiguration (
170
- $ compiledPathsList ,
171
- $ dataAttributesIncludePattern
172
- );
166
+ $ operations = $ this ->getOperationsConfiguration ($ compiledPathsList );
173
167
174
168
try {
175
169
$ this ->cleanupFilesystem (
@@ -286,33 +280,22 @@ private function configureObjectManager(OutputInterface $output)
286
280
* Returns operations configuration
287
281
*
288
282
* @param array $compiledPathsList
289
- * @param array $dataAttributesIncludePattern
290
283
* @return array
291
284
*/
292
285
private function getOperationsConfiguration (
293
- array $ compiledPathsList ,
294
- array $ dataAttributesIncludePattern
286
+ array $ compiledPathsList
295
287
) {
296
288
$ excludePatterns = [];
297
289
foreach ($ this ->excludedPathsList as $ excludedPaths ) {
298
290
$ excludePatterns = array_merge ($ excludedPaths , $ excludePatterns );
299
291
}
300
292
301
293
$ operations = [
302
- OperationFactory::PROXY_GENERATOR => [
303
- 'paths ' => $ compiledPathsList ['application ' ],
304
- 'filePatterns ' => ['di ' => '/\/etc\/([a-zA-Z_]*\/di|di)\.xml$/ ' ],
305
- 'excludePatterns ' => $ excludePatterns ,
306
- ],
294
+ OperationFactory::PROXY_GENERATOR => [],
307
295
OperationFactory::REPOSITORY_GENERATOR => [
308
296
'paths ' => $ compiledPathsList ['application ' ],
309
- 'filePatterns ' => ['di ' => '/\/etc\/([a-zA-Z_]*\/di|di)\.xml$/ ' ],
310
- 'excludePatterns ' => $ excludePatterns ,
311
- ],
312
- OperationFactory::DATA_ATTRIBUTES_GENERATOR => [
313
- 'paths ' => $ compiledPathsList ['application ' ],
314
- 'filePatterns ' => $ dataAttributesIncludePattern
315
297
],
298
+ OperationFactory::DATA_ATTRIBUTES_GENERATOR => [],
316
299
OperationFactory::APPLICATION_CODE_GENERATOR => [
317
300
'paths ' => [
318
301
$ compiledPathsList ['application ' ],
0 commit comments