Remove deprecated code in File module (core/module/file)
Cleanup all @deprecated calls, except those in *Test.php files.
Might close #3432882
Merge request reports
Activity
added 45 commits
-
bb351b83...4df46ba4 - 36 commits from branch
project:11.x
- 791bbe6b - Cleanup deprecated functions and conditions (but not tests)
- 09813c64 - Fixing Coding standards errors
- 64acbb72 - Fixing phpstan complains
- 933f6e52 - Fixing phpstan complains for isValid()
- 886ea36a - Fixing unit test failures
- a92ea93a - Starting to fix remaining unit tests errors
- 1ffb9336 - Fixing deleted variable related error
- 4c6e4850 - Remove more deprecated code
- 235dd748 - Remove legacy test
Toggle commit list-
bb351b83...4df46ba4 - 36 commits from branch
added 1 commit
added 27 commits
-
c7005ddb...e1e95969 - 15 commits from branch
project:11.x
- e1e95969...2dd383d0 - 2 earlier commits
- 6f51ab36 - Fixing phpstan complains
- ea82b6bd - Fixing phpstan complains for isValid()
- f47499d9 - Fixing unit test failures
- 22822440 - Starting to fix remaining unit tests errors
- f37cad65 - Fixing deleted variable related error
- b162d2cd - Remove more deprecated code
- d51d22be - Remove legacy test
- aa01807b - Clean up import
- 3f9f1431 - Trigger build
- ea363bc8 - Delete legacy test
Toggle commit list-
c7005ddb...e1e95969 - 15 commits from branch
359 359 360 360 // Add the extension list to the page as JavaScript settings. 361 361 if (isset($element['#upload_validators']['file_validate_extensions'][0]) || isset($element['#upload_validators']['FileExtension']['extensions'])) { changed this line in version 17 of the diff
- Resolved by catch
1244 $descriptions[] = t('@size limit.', ['@size' => ByteSizeMarkup::create($upload_validators['file_validate_size'][0])]); 1245 } 932 1246 933 if (isset($upload_validators['FileSizeLimit'])) { 1247 934 $descriptions[] = t('@size limit.', ['@size' => ByteSizeMarkup::create($upload_validators['FileSizeLimit']['fileLimit'])]); 1248 935 } 1249 936 1250 if (isset($upload_validators['file_validate_extensions'])) { 1251 @trigger_error('\'file_validate_extensions\' is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use the \'FileExtension\' constraint instead. See https://www.drupal.org/node/3363700', E_USER_DEPRECATED); 1252 $descriptions[] = t('Allowed types: @extensions.', ['@extensions' => $upload_validators['file_validate_extensions'][0]]); 1253 } 1254 937 if (isset($upload_validators['FileExtension'])) { 1255 938 $descriptions[] = t('Allowed types: @extensions.', ['@extensions' => $upload_validators['FileExtension']['extensions']]); 1256 939 } 1257 940 1258 941 if (isset($upload_validators['file_validate_image_resolution']) || isset($upload_validators['FileImageDimensions'])) { changed this line in version 17 of the diff
added 48 commits
-
ea363bc8...16964d02 - 36 commits from branch
project:11.x
- 16964d02...b01b2d58 - 2 earlier commits
- 7c326944 - Fixing phpstan complains
- 813e5655 - Fixing phpstan complains for isValid()
- 302cb654 - Fixing unit test failures
- 4f3dafc0 - Starting to fix remaining unit tests errors
- aed32d05 - Fixing deleted variable related error
- 3dad15ac - Remove more deprecated code
- c8932915 - Remove legacy test
- a09cc00f - Clean up import
- 9265cb66 - Trigger build
- 1080aca4 - Delete legacy test
Toggle commit list-
ea363bc8...16964d02 - 36 commits from branch
added 29 commits
-
457b239e...fc0aa24e - 16 commits from branch
project:11.x
- fc0aa24e...b4ec4719 - 3 earlier commits
- 8ac90229 - Fixing phpstan complains for isValid()
- 01a897ea - Fixing unit test failures
- ee748727 - Starting to fix remaining unit tests errors
- 47a99d0c - Fixing deleted variable related error
- 40b76d12 - Remove more deprecated code
- 66a933f5 - Remove legacy test
- a9f3c105 - Clean up import
- e84fd2c9 - Trigger build
- c6648a02 - Delete legacy test
- 56478596 - Remove legacy refs
Toggle commit list-
457b239e...fc0aa24e - 16 commits from branch
Please register or sign in to reply