- 🇺🇸United States greatmatter
This patch should cover the D10 fixes from the last dev release.
- 🇨🇦Canada nicoleannevella
patch in comment #4 seems to be working. but does not pass the Upgrade Status module test as the version requirement in the .info.yml file needs to be updated to include ^10
- 🇺🇸United States greatmatter
Yeah--unfortunately I wasn't able to do that for a distribution/contrib... Sorry!
- First commit to issue fork.
- @snap_x opened merge request.
- 🇺🇦Ukraine snap_x
Thanks @greatmatter! Module works fine with patch #4, I tested it. I also created MR with changes that includes D10 .info.yml
- First commit to issue fork.
- 🇩🇪Germany semiaddict
Thank you @greatmatter and @snap_x for this work!
@snap_x, I added a commit to your MR, as the module was throwing an error after patching when using the LessphpCompiler.
The commit simply changes the return value of the LessphpCompiler::complie method to adapt to changes done in ScssCompilerService::compile. This is an automated patch generated by Drupal Rector. Please see the issue summary for more details.
It is important that any automated tests available are run with this patch and that you manually test this patch.
Drupal 10 Compatibility
According to the Upgrade Status module → , even with this patch, this module is not yet compatible with Drupal 10.
Currently Drupal Rector, version 0.15.1, cannot fix all Drupal 10 compatibility problems.
Therefore this patch does not update the
info.yml
file for Drupal 10 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 10 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #12554This patch was created using these packages:
- mglaman/phpstan-drupal: 1.1.35
- palantirnet/drupal-rector: 0.15.1
- 🇺🇦Ukraine o_timoshchuk
+1 RTBC Module works fine with patch #4, I tested it.
- 🇮🇹Italy Giuseppe87
The patch #12 misses a
drupal_get_path
and doesn't update the info insidescss_compiler.info.yml
- 🇺🇸United States rclemings
Patch 3298001-15.patch applies successfully to 8.x-1.x-dev but not 8.x-1.1.
- Status changed to RTBC
about 1 year ago 3:47pm 27 September 2023 - 🇮🇳India Bushra Shaikh
I have reviewed and checked the patch #15 this works for drupal 9.5 and drupal 10.0. and 10.0.1
Screenshots of the compatibility on 9.5 have been attached for reference:Can be move to RTBC+1
- Status changed to Fixed
about 1 year ago 10:19am 6 October 2023 - 🇺🇦Ukraine seonic
Thanks all, the patch 4 rises a drupal version to 9.3, because of extension.path.resolver and replaces deprecated methods of scssphp which requires to rise scssphp. I'll apply this changes to a new version 2.x with code refactoring. 1.x still will support 8.8, 9.0, 10.0
file_put_contents($source_file['css_path'], trim($content->getCss()));
will brake other compilers, a compiler plugin must returns content as string.
D10 support added to the 1.x version. Automatically closed - issue fixed for 2 weeks with no activity.