Closed (fixed)
Project:
Components!
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Feb 2020 at 21:20 UTC
Updated:
17 Jun 2020 at 11:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
damienmckennaComment #3
lisa.rae commented5/5 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ --------------------------------------------------------------------------
Line src/Template/Loader/ComponentLibraryLoader.php
------ --------------------------------------------------------------------------
65 Call to deprecated function system_get_info():
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.
------ --------------------------------------------------------------------------
------ --------------------------------------------------------------
Line src/Template/TwigNodeTheme.php
------ --------------------------------------------------------------
29 Call to deprecated method getLine() of class Twig\Node\Node:
since 1.27 (to be removed in 2.0)
33 Call to deprecated method getLine() of class Twig\Node\Node:
since 1.27 (to be removed in 2.0)
------ --------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------
Line src/Template/TwigThemeTokenParser.php
------ ---------------------------------------------------------------------------------------------
21 Return type of method Drupal\components\Template\TwigThemeTokenParser::parse() has typehint
with deprecated interface Twig_NodeInterface:
since 1.12 (to be removed in 3.0)
------ ---------------------------------------------------------------------------------------------
[ERROR] Found 4 errors
Comment #4
berdirAlso, actually trying this on D9 will give you this error:
Comment #5
berdirI'm not sure if #3 was on the 1.x branch, I'm not seeing any of that in 8.x-2.x.
The only thing I see is the twig method. I think the extra optional argument should be backward compatible and should work in D8 too.
Wasn't sure what to do about the docblock, copying it from the parent introduces a lot of drupal coding standard violations, so just went with the standard {@inheritdoc}
Comment #6
jayasree.e commentedThanks, looks good to me.
Comment #7
oknateAlso, RTBC by me.
Comment #8
elgandoz commentedPatch #5 works beautifully on D9 + 2.x-dev.
I'm having issues with D8 + 2.x-dev, I get a weird bug where I cannot use the administration theme (default remains active despite what's selected in the "Appearance" form). Note: I couldn't find the reason and it may not be related to this issue.
Comment #10
johnalbinCommitted!
Comment #11
heddn@JohnAlbin, can we get a new beta or RC tagged so we have something to upgrade too? Maybe even update the
Drupal 9 Compatibility Fieldfor the project?