Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There are several issues we need to have a look at:
Status | File name | Line | Error |
---|---|---|---|
Fix later | modules/contrib/graphql_twig/src/Template/Loader/Loader.php | 62 | Call to deprecated function file_scan_directory(). Deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::scanDirectory() instead. |
Fix later | modules/contrib/graphql_twig/src/Template/Loader/Loader.php | 82 | Call to deprecated function system_get_info(). Deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal::service('extension.list.$type')->getExtensionInfo() or \Drupal::service('extension.list.$type')->getAllInstalledInfo() instead. |
Fix now | modules/contrib/graphql_twig/tests/src/Kernel/BlockTest.php | 41 | Call to deprecated method install() of class Drupal\Core\Extension\ThemeHandler. Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the theme_installer service instead. |
Check manually | modules/contrib/graphql_twig/tests/src/Kernel/EntityRenderTest.php | 21 | Usage of deprecated trait Drupal\Tests\graphql\Traits\GraphQLFileTestTrait in class Drupal\Tests\graphql_twig\Kernel\EntityRenderTest. |
Fix now | modules/contrib/graphql_twig/tests/src/Kernel/RouteTest.php | 37 | Call to deprecated method install() of class Drupal\Core\Extension\ThemeHandler. Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the theme_installer service instead. |
Check manually | modules/contrib/graphql_twig/tests/src/Kernel/ThemeTest.php | 19 | Usage of deprecated trait Drupal\Tests\graphql\Traits\GraphQLFileTestTrait in class Drupal\Tests\graphql_twig\Kernel\ThemeTest. |
Fix now | modules/contrib/graphql_twig/tests/src/Traits/ThemeTestTrait.php (in context of class Drupal\Tests\graphql_twig\Kernel\EntityRenderTest) | 44 | Call to deprecated method install() of class Drupal\Core\Extension\ThemeHandler. Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the theme_installer service instead. |
Fix now | modules/contrib/graphql_twig/tests/src/Traits/ThemeTestTrait.php (in context of class Drupal\Tests\graphql_twig\Kernel\ThemeTest) | 44 | Call to deprecated method install() of class Drupal\Core\Extension\ThemeHandler. Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the theme_installer service instead. |
Comment | File | Size | Author |
---|---|---|---|
#7 | 3107672-7.Drupal-9-compatibility.patch | 8.24 KB | msuthars |
#6 | 3107672-drupal-9-compatibility.patch | 5.22 KB | sasanikolic |
Comments
Comment #2
saschaeggiCan you have a look at this? thanks
Comment #3
saschaeggiComment #4
msutharsComment #5
msutharsComment #6
sasanikolic CreditAttribution: sasanikolic at MD Systems GmbH commentedHere is the patch that fixes the compatibility warning, but tests will fail hard... probably because Graphql module itself should be fixed first.
Comment #7
msutharsComment #8
msutharsComment #9
msutharsIgnore the above file.
Comment #11
saschaeggiThanks for the patches. Applied patch #6 and works. Commited to the dev branch.
Needs another review.
Comment #12
saschaeggiTested. Thanks all, released beta15!
Comment #14
saschaeggi