Closed (fixed)
Project:
UI Patterns (SDC in Drupal UI)
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2025 at 07:52 UTC
Updated:
12 Sep 2025 at 14:19 UTC
Jump to comment: Most recent
Comments
Comment #3
pdureau commentedDone. It is a risky change? What do we need to check?
Do we also apply this rules to the tests?
Comment #4
pdureau commentedComment #5
grimreaperHello,
TODO:
- Add Gitlab CI task to execute PHPCS Fixer
Let's use the same standards across UI Suite.
This is what I use to stick to PHPCS requirements + a few things not covered by PHP CS:
- "drupol/phpcsfixer-configs-drupal": "^2.2",
- https://gitlab.com/florenttorregrosa-drupal/docker-drupal-project/-/blob...
Comment #6
pdureau commentedit is a risky change !!! For example, i have now this issue:
Uncaught PHP Exception TypeError: "Drupal\ui_patterns\Element\ComponentFormBase::getSources(): Argument #1 ($prop_or_slot_id) must be of type string, int given, called in web/modules/custom/ui_patterns/src/Element/ComponentSlotForm.php on line 284" at web/modules/custom/ui_patterns/src/Element/ComponentFormBase.php line 170Comment #7
pdureau commentedComment #10
just_like_good_vibes