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.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

saschaeggi created an issue. See original summary.

saschaeggi’s picture

Assigned: Unassigned » dermario

Can you have a look at this? thanks

saschaeggi’s picture

Assigned: dermario » Unassigned
Issue tags: +ContributionWeekend2020, +ContributionWeekendCH
msuthars’s picture

Assigned: Unassigned » msuthars
msuthars’s picture

Issue tags: +GCWIndia2020
sasanikolic’s picture

Status: Active » Needs review
FileSize
5.22 KB

Here is the patch that fixes the compatibility warning, but tests will fail hard... probably because Graphql module itself should be fixed first.

msuthars’s picture

msuthars’s picture

Assigned: msuthars » Unassigned
FileSize
874 bytes
msuthars’s picture

Ignore the above file.

  • saschaeggi committed eb34b4a on 8.x-1.x authored by msuthars
    Issue #3107672 by msuthars, sasanikolic: Drupal 9 compatibility
    
saschaeggi’s picture

Thanks for the patches. Applied patch #6 and works. Commited to the dev branch.
Needs another review.

saschaeggi’s picture

Status: Needs review » Fixed

Tested. Thanks all, released beta15!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.