The drupal-check return one error for the stream_wrapper_example module.

------ ------------------------------------------------------------------------------
  Line   stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php
 ------ ------------------------------------------------------------------------------
  156    \Drupal calls should be avoided in classes, use dependency injection instead
 ------ ------------------------------------------------------------------------------
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alt.local created an issue. See original summary.

alt.dev’s picture

Status: Active » Needs review
FileSize
3.26 KB

Here is a patch which should fix the error.

alt.dev’s picture

Accidentally added unnecessary changes to my last patch. Here I remove theme.

  • valthebald committed da48575 on 8.x-1.x
    Issue #3091440 by alt.local,valthebald: drupal-check error in the...
valthebald’s picture

Status: Needs review » Fixed

Committed to 8.x-1.x, thank you!

Status: Fixed » Closed (fixed)

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