Problem/Motivation

As we've now updated to Twig2 we can clean up a few deprecations that we added in for SF4 compatbility.

Proposed resolution

Clean up the code and remove unneeded skipped deprecations

Remaining tasks

User interface changes

None

API changes

None - we're no longer implementing an empty interface and we removing methods we no longer need to implement because they are not on the interface anymore.

Data model changes

None

Release notes snippet

None

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review
StatusFileSize
new2.33 KB

Let's see if this works..

alexpott’s picture

StatusFileSize
new1.04 KB
new3.37 KB

One more thing we can do...

alexpott’s picture

Title: Update StringLoader for Twig2 » Update StringLoader and TestLoader for Twig2
Issue summary: View changes
longwave’s picture

Status: Needs review » Reviewed & tested by the community

Looks good, no more uses of the deprecated interfaces remain.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 3: 3117250-3.patch, failed testing. View results

longwave’s picture

Status: Needs work » Reviewed & tested by the community

1) Drupal\BuildTests\Framework\Tests\BuildTestTest::testPortMany
RuntimeException: Unable to start the web server.

Retesting

gábor hojtsy’s picture

Title: Update StringLoader and TestLoader for Twig2 » Update StringLoader and TestLoader for Twig 3 compatibility

So this is for Twig 3 forward compatibility, let's title it like that.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 3: 3117250-3.patch, failed testing. View results

longwave’s picture

Status: Needs work » Reviewed & tested by the community

1) Drupal\Tests\media_library\FunctionalJavascript\WidgetUploadTest::testWidgetUploadAdvancedUi
"image-1.png" not found
Failed asserting that a boolean is not empty.

  • catch committed 51e3dc8 on 9.0.x
    Issue #3117250 by alexpott, longwave: Update StringLoader and TestLoader...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed 51e3dc8 and pushed to 9.0.x. Thanks!

Status: Fixed » Closed (fixed)

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