7/7 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ----------------------------------------------------------------
Line src/UniversalFileOperations.php
------ ----------------------------------------------------------------
145 Call to deprecated function file_prepare_directory():
in drupal:8.7.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\File\FileSystemInterface::prepareDirectory().
------ ----------------------------------------------------------------
[ERROR] Found 1 error
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | ufu-3107227-3.patch | 3.09 KB | adaddinsane |
| #2 | ufu-3107227-2.patch | 2.71 KB | rudranil29 |
Comments
Comment #2
rudranil29 commenteddeprecated code removed
Comment #3
rudranil29 commentedComment #4
adaddinsaneGood catch but you can't stick a create() method in there.
This is a service so the additional injected service needs to go in the universal_file_utils.services.yml file.
Comment #6
adaddinsane