48/48 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ -----------------------------------------------------------------------
Line minisite/minisite.install
------ -----------------------------------------------------------------------
45 Call to deprecated function file_uri_target():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getTarget()
instead.
59 Call to deprecated function file_uri_target():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getTarget()
instead.
------ -----------------------------------------------------------------------
------ -----------------------------------------------------------------------
Line minisite/src/LegacyWrapper.php
------ -----------------------------------------------------------------------
34 Call to deprecated function file_scan_directory():
in drupal:8.8.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\File\FileSystemInterface::scanDirectory() instead.
52 Call to deprecated function file_valid_uri():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidUri(
)
instead.
72 Call to deprecated function entity_get_display():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
EntityDisplayRepositoryInterface::getViewDisplay() instead.
92 Call to deprecated function entity_get_form_display():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
EntityDisplayRepositoryInterface::getFormDisplay() instead.
------ -----------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | minisite-3121942-4.patch | 2.75 KB | mingsong |
| #2 | 3121942-2.patch | 4.14 KB | neelam_wadhwani |
Comments
Comment #2
neelam_wadhwani commentedKindly review patch.
Comment #3
mingsongRegarding the #2 patch, we shouldn't call directly a method from an interface, which causes a fatal PHP error said
Comment #4
mingsongThe \Drupal\minisite\LegacyWrapper is the helper class to deal with deprecated codes between Drupal versions.
This class will be removed after Drupal 8.7.x is no longer supported.
As some of the replacements of deprecated functions are not available in Drupal 8.7.x and earlier version, so we do need this class in place to deal with the compatibility issues that works for all Drupal 8 versions.
Here is the patch to fix the issue for function file_uri_target()
Comment #5
alex.skrypnykPatch added as PR to GitHub https://github.com/salsadigitalauorg/minisite/pull/25
Comment #7
alex.skrypnykComment #9
alex.skrypnyk