We need to determine if there's anything preventing us from adding the
core_version_requirement: ^8 || ^9
line to the .info.yml of this module.
Currently this is preventing the tests from running on Drupal 9.
We need to determine if there's anything preventing us from adding the
core_version_requirement: ^8 || ^9
line to the .info.yml of this module.
Currently this is preventing the tests from running on Drupal 9.
Comments
Comment #3
jcnventuraThe tests are not even running due to the use of a deprecated
Drupal\Tests\PhpunitCompatibilityTraitin tests/src/Unit/TestBase.php.However in the hope that others can contribute to this effort, I'm leaving the change in the module so that the D9 tests can at least be executed. This change needs to be reverted if it is decided to create a new release while the D9 tests still fail.
Comment #4
cyb_tachyon commentedSafeMarkup methods also need to be cleaned up. See https://www.drupal.org/node/2549395
We likely want to use \Drupal\Core\StringTranslation\TranslatableMarkup.
Comment #5
solideogloria commentedRelevant: #3185256: Drupal 9 cannot use "db_or", "db_like"
Comment #6
damienmckennaSee #3211835 for a working patch for the SafeMarkup usage.
Comment #7
joseph.olstad#3211835: Error: Class Drupal\Component\Utility\SafeMarkup not found committed but not yet tagged.
Comment #8
solideogloria commented#3039273: PHP7 pharborist not supporting: Cannot parse PHP null coalesce operator (abstract syntax tree parser)
Comment #9
joseph.olstadsee
#3211835: Error: Class Drupal\Component\Utility\SafeMarkup not found
and
#3280719: dmu_upgrade not compatible with PHP 8.0+
Comment #10
gábor hojtsyI now made a 2.x branch which is now Drupal 10 and 11 compatible. Will not do more for Drupal 9 at this point. See https://www.drupal.org/project/drupalmoduleupgrader/releases/2.0.0-alpha2