22/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ----------------------------------------------------------------
Line layout_builder_asset.install
------ ----------------------------------------------------------------
17 Call to deprecated function file_prepare_directory():
in Drupal 8.7.0, will be removed before Drupal 9.0.0.
Use \Drupal\Core\File\FileSystemInterface::prepareDirectory().
32 Call to deprecated function file_unmanaged_delete_recursive():
in Drupal 8.7.0, will be removed before Drupal 9.0.0.
Use \Drupal\Core\File\FileSystemInterface::deleteRecursive().
------ ----------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------
Line src/Form/LayoutBuilderAssetDuplicateCssForm.php
------ ----------------------------------------------------------------------------------------------------------------------------------
Class Drupal\layout_builder_asset\Form\LayoutBuilderAssetDuplicateForm was not found while trying to analyse it - autoloading is
probably not configured properly.
------ ----------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------
Line src/LayoutBuilderAssetFileStorage.php
------ ----------------------------------------------------------------
57 Call to deprecated function file_prepare_directory():
in Drupal 8.7.0, will be removed before Drupal 9.0.0.
Use \Drupal\Core\File\FileSystemInterface::prepareDirectory().
58 Call to deprecated function file_unmanaged_save_data():
in Drupal 8.7.0, will be removed before Drupal 9.0.0.
Use \Drupal\Core\File\FileSystemInterface::saveData().
66 Call to deprecated function file_prepare_directory():
in Drupal 8.7.0, will be removed before Drupal 9.0.0.
Use \Drupal\Core\File\FileSystemInterface::prepareDirectory().
67 Call to deprecated function file_unmanaged_save_data():
in Drupal 8.7.0, will be removed before Drupal 9.0.0.
Use \Drupal\Core\File\FileSystemInterface::saveData().
80 Call to deprecated function file_unmanaged_delete():
in Drupal 8.7.0, will be removed before Drupal 9.0.0.
Use \Drupal\Core\File\FileSystemInterface::delete().
121 Call to deprecated function file_unmanaged_delete_recursive():
in Drupal 8.7.0, will be removed before Drupal 9.0.0.
Use \Drupal\Core\File\FileSystemInterface::deleteRecursive().
129 Call to deprecated function file_unmanaged_delete():
in Drupal 8.7.0, will be removed before Drupal 9.0.0.
Use \Drupal\Core\File\FileSystemInterface::delete().
------ ----------------------------------------------------------------
[ERROR] Found 10 errors
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3098113-9.patch | 5.19 KB | naresh_bavaskar |
Comments
Comment #2
Deeksha B commentedI have removed the Deprecated report. Please review the patch.
Comment #5
hash6 commented@Deeksha B
Please fix the error caused due to additional argument passed to the constructor
Maybe we can
1. add the class LayoutBuilderAssetFileStorage as a service.
2. or use setter injection.
Comment #6
hash6 commentedCreated a separate issue for adding LayoutBuilderAssetFileStorage class as a service https://www.drupal.org/project/layout_builder_asset/issues/3099917
Comment #7
naresh_bavaskarComment #8
naresh_bavaskarPlease review.
Comment #9
naresh_bavaskarPlease find the updated patch.
Comment #10
kishor_kolekar commentedComment #12
kishor_kolekar commentedThanks for your Contribution.