Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fully rector up to TYPO3v11 #39

Merged
merged 1 commit into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions Tests/Functional/FunctionalTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,8 @@ protected function cleanUpFilesAndRelatedRecords()
foreach ($files as $file) {
$storage->deleteFile($file);
$recordsToDelete['sys_file'][] = $file->getUid();
if (method_exists($file, 'getMetaData')) {
$metadata = $file->getMetaData();
} else {
// @extensionScannerIgnoreLine
$metadata = $file->_getMetaData();
}
$recordsToDelete['sys_file_metadata'][] = (int)$metadata['uid'];
$fileMetadata = $file->getMetaData()->get();
$recordsToDelete['sys_file_metadata'][] = (int)$fileMetadata['uid'];
}
} catch (\Exception) {
// sometimes, there is no folder to empty. Let's ignore that.
Expand Down
3 changes: 0 additions & 3 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
],
],
'state' => 'stable',
'uploadfolder' => 0,
'createDirs' => 'typo3temp/file_variants_uploads',
'clearCacheOnLoad' => 1,
'author' => 'Anja Leichsenring',
'author_email' => '[email protected]',
'author_company' => 'TYPO3 GmbH',
Expand Down