Closed (fixed)
Project:
File (Field) Paths
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2021 at 14:20 UTC
Updated:
25 Oct 2024 at 14:54 UTC
Jump to comment: Most recent
Comments
Comment #2
megachrizCode so far is posted, but I've not documented the parameters for the function
_filefield_paths_batch_update_process()yet.Comment #4
megachrizI opened the merge request just in order to be able to see the test results.
Comment #5
megachrizThe parameters for
_filefield_paths_batch_update_process()are now updated.I also made
\Drupal\Tests\filefield_paths\Functional\FileFieldPathsTestBase::createFileField()truly compatible with\Drupal\Tests\file\Functional\FileFieldCreationTrait::createFileField(). It wasn't strictly compatible because in FileFieldPathsTestBase's version, the parameter$third_party_settingswas listed at the place where$widget_settingsis in FileFieldCreationTrait's version:FileFieldPathsTestBase::createFileField() before:
FileFieldPathsTestBase::createFileField() after:
Comment #6
megachrizI've rebased the branch on the latest dev and made some more coding standards fixes.
Comment #7
megachrizFrom the remaining ones, the type hints in FileFieldPathsTestBase cannot be added because that would make it incompatible with
Drupal\Tests\file\Functional\FileFieldTestBase::createFileField().For the deprecation warning, I'm not sure where to put @see to. Should it be to the issue the deprecation was added? Or would we need to create a change record first?
Comment #8
megachrizIt is ready for review, so unassigning.
Comment #9
solideogloria commentedThe PHP null coalesce operator
??was used in the changes. That requires PHP 7.4. Could you add the PHP version requirement to the info.yml file? The module still supports Drupal 9.3, and some users might not be at PHP 7.4 yet.Comment #12
volegerI will merge this now, as I'm working on #3480113: Update .gitlab-ci.yml file. I'll make further changes there. Thanks
Comment #13
voleger