There was an error fetching the commit references. Please try again later.
[TASK] Remove data processing trait in favor of object
The introduced DataProcessingTrait isn't exactly a good prototype for Trait usage. It incorporates functionality that isn't easily testable, it is impossible to provide different implementations as the trait is directly bound to the class with its concrete implementation. Use a composite object instead for this functionality. Resolves: #69386 Releases: master Change-Id: I39177b441abc7260465c5271bcd711d8636e1d52 Reviewed-on: http://review.typo3.org/42904 Reviewed-by:Alexander Opitz <opitz.alexander@googlemail.com> Tested-by:
Alexander Opitz <opitz.alexander@googlemail.com> Reviewed-by:
Frank Nägler <frank.naegler@typo3.org> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl>
Showing
- typo3/sysext/frontend/Classes/ContentObject/ContentDataProcessor.php 10 additions, 7 deletions...t/frontend/Classes/ContentObject/ContentDataProcessor.php
- typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php 21 additions, 2 deletions...tend/Classes/ContentObject/FluidTemplateContentObject.php
- typo3/sysext/frontend/Classes/DataProcessing/DatabaseQueryProcessor.php 21 additions, 3 deletions...rontend/Classes/DataProcessing/DatabaseQueryProcessor.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentDataProcessorTest.php 86 additions, 0 deletions...end/Tests/Unit/ContentObject/ContentDataProcessorTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/Fixtures/DataProcessorFixture.php 36 additions, 0 deletions...ests/Unit/ContentObject/Fixtures/DataProcessorFixture.php
Please register or sign in to comment