- Status changed to Needs review
over 1 year ago 11:05pm 4 April 2023 - 🇺🇸United States papagrande US West Coast
I add the type hints as @GuyPaddock suggested.
- First commit to issue fork.
- last update
over 1 year ago 1 pass - 🇬🇧United Kingdom mustanggb Coventry, United Kingdom
Add
Drupal\Core\Link
as per #11 🐛 Error when using markdown module with PHP 8.1 on Drupal 9.3 Needs review . - last update
over 1 year ago 1 pass - 🇮🇳India tdnshah
I was getting alot of warning after upgrading my dev environment to php 8.1 with Drupal 9.5.8, adding the patch in #25 did fix the warnings.
Warnings were as shown in the attached screenshot https://imgur.com/a/UfvpwBs.
As its working fine marking this as RTBC.
Thank you
- 🇩🇪Germany Grevil
Setting this to major, as PHP 8.1 is currently recommended for Drupal 9 (as the issue already says). And this issue makes testing 📌 Drupal 10 compatibility fixes Fixed quite inconvenient.
- 🇩🇪Germany Grevil
Changes in the current MR !17, work great!
- Editing a parser through "/admin/config/content/markdown" doesn't throw any errors or warnings
- Creating a new markdown filter format and using it to create an article also works as expected and doesn't throw any error nor warning
ONLY running the tests will throw a few remaining deprecation notices:
OK (1 test, 1 assertion)
Remaining self deprecation notices (1)
1x: Declaring ::setUp without a void return typehint in Drupal\Tests\markdown\Kernel\Plugin\Markdown\MissingParserTest is deprecated in drupal:9.0.0. Typehinting will be required before drupal:10.0.0. See https://www.drupal.org/node/3114724 →
1x in DrupalListener::startTest from Drupal\Tests\ListenersRemaining direct deprecation notices (1)
1x: Using the "Twig_Extension_GlobalsInterface" class is deprecated since Twig version 2.7, use "Twig\Extension\GlobalsInterface" instead.
1x in MissingParserTest::testRenderInstallableLibrary from Drupal\Tests\markdown\Kernel\Plugin\MarkdownSince they are quite minor I'd suggest fixing them aswell, while we are at it.
- 🇩🇪Germany Grevil
Ok, there are actually quite a LOT of deprecation errors, so many, that I created a separate issue for fixing these: 🐛 Fix deprecation errors Active . Otherwise, this would be straight up too much for this issue.
So, setting this back to RTBC! Great job everyone! 🙂
- last update
over 1 year ago 1 pass - last update
over 1 year ago 1 pass - First commit to issue fork.
- last update
over 1 year ago Build Successful -
markdorison →
committed 67e14f27 on 3.0.x authored by
el7cosmos →
Issue #3265416 by MustangGB: Error when using markdown module with PHP 8...
-
markdorison →
committed 67e14f27 on 3.0.x authored by
el7cosmos →
Automatically closed - issue fixed for 2 weeks with no activity.
- 🇨🇴Colombia carma03
Confirming patch #25 🐛 Error when using markdown module with PHP 8.1 on Drupal 9.3 Needs review worked on D9.5.10 on PHP 8.1.18.
Thanks - Status changed to Fixed
10 months ago 11:33pm 21 February 2024