- Issue created by @bbrala
- 🇳🇱Netherlands bbrala Netherlands
Quote from parent:
Also I think this should be named ValidSequenceKeys - this will align this class with ValidKeys (which probably should be named ValidMappingKeys but that's for another issue).
So the ValidKeys constraint and validator class names (and plugin id) need renaming, also the the places in *.schema.yml where that one is used needs renaming.
I think we can do that without a deprecation since it seems it is not used anywhere but core.
See: https://git.drupalcode.org/search?group_id=2&scope=blobs&search=-path%3A...
- First commit to issue fork.
- Merge request !11799Issue #3518146: Rename constraint ValidKeys to ValidMappingKeys. → (Open) created by Unnamed author
- 🇮🇳India koustav_mondal Kolkata
Please review and let me know if we require any other changes.
- 🇳🇱Netherlands bbrala Netherlands
Thanks!
There is quite a few test failures and some weird removals that don't make sense. Added comments to the MR.
- 🇮🇳India koustav_mondal Kolkata
Sorry for the typos. Make those corrected. Please review now.
- 🇳🇱Netherlands bbrala Netherlands
Cool! Another step in the right direction. Please check the pipeline, there are phpcs and phpstan errors which should be fixed first. Then we can see if things are stable :)
- 🇮🇳India koustav_mondal Kolkata
Hello @bbrala, Now PHPStan and PHPCS errors are fixed.
- 🇳🇱Netherlands bbrala Netherlands
Great! Next up, there is an error in the unit test which indicate you might have missed a rename of a method, or forgot to undo a rename.
https://git.drupalcode.org/issue/drupal-3518146/-/pipelines/471075/test_...
- 🇮🇳India koustav_mondal Kolkata
Hello @bbrala, Thank you for your guidance. I have fixed the issue that you mentioned over here. Please let me know if we require any other changes.
- 🇳🇱Netherlands bbrala Netherlands
Please check gitlab for more issues with failing tests.
Seems there is still some references to not existing methods. (getDynamicallyValidMappingKeys?)