Closed (fixed)
Project:
UI Styles
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2025 at 09:16 UTC
Updated:
23 Sep 2025 at 13:34 UTC
Jump to comment: Most recent
Currently the latest version of "sabberworm/php-css-parser" is required to ^8.6 with an additional patch. But recently it is updated to ^9.0 and the required patch has been updated to a better clean of the package.
To update the composer of this module to ^9.0 and remove the patch.
Note: https://github.com/MyIntervals/PHP-CSS-Parser/pull/797 -> Merged and created 9.0 for package "sabberworm/php-css-parser".
Not sure of any probable impact. So needs to be tested.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
grimreaperHi,
Thanks a lot for bringing that to attention.
I was not aware of the new sabberworm release. If no more need the patch, it will be very nice!
I planned synchronised releases in the UI Suite ecosystem, so I will test next time.
Comment #3
grimreaperComment #4
arnabcse2013Thanks @grimreaper for this task.
Will wait for the new release :)
Comment #5
arnabcse2013@grimreaper Tomorrow I will raise a MR for the fix.
Comment #6
grimreaperThanks!
You can assign it to you if you want and un-assign when ready.
Comment #7
arnabcse2013Comment #9
grimreaperComment #10
grimreaperThis issue allowed me to realize that there is a miss in the logic of gathering CSS files. It is forgetting dependencies. So since library reorganisation in ui_suite_bootstrap, it does not work because the framework css is from a sub library.
Will fix that too.
Comment #11
arnabcse2013@grimreaper Yeah.. Actually I was working to fix that too.
Infact, I am ignoring one portion of condition for phpstan to pass as that section is always returning true from phpstan.
So probably it will be little big fix, but tomorrow I will work on that as well (If you say so).
Let me know.
Comment #12
grimreaperDon't worry this will be merged today :)
I have the fix for dependencies.
I was testing, back to sabberworm 8.6 without the patch to reproduce the problem I had that needed the patch. Impossible to reproduce.
So I will test with version 9.
Comment #13
arnabcse2013Perfect, :)
Thanks @grimreaper.
Comment #14
grimreaperHi again,
I pushed the fix. Also found a deprecation about views plugin annotation when executing tests locally.
I also put a review comment on my own change, an idea I realized after pushing.
If you can, please test and share your opinion.
After lunch break going to merge and release. I will squash your commits and only keep the views plugin change in a dedicated commit.
Comment #15
arnabcse2013Sure :)
Will have a look.
Comment #16
grimreaperCan you please give a new look :)
Comment #17
arnabcse2013Checking.
Comment #18
arnabcse2013Hi @grimreaper,
Lets wait for one more day. I will do a fresh install today with the updated version and changes.
Will update by tomorrow morning, if thats okay for you.
Comment #19
grimreaperOk,
preparing the new squashed commits.
Comment #20
arnabcse2013@grimreaper Tested the changes for this MR and is applied without errors. You can change the status.
Comment #21
grimreaperThanks! I will try to merge and release today. Unfortunately affected to other subject.
Comment #22
arnabcse2013@grimreaper No worries !! Take your time, at least the MR is ready :)
Comment #26
grimreaper