Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
php drupal-check.phar modules/contrib/high_contrast/
9/9 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ----------------------------------------------------
Line src/Form/HighContrastConfigurationForm.php
------ ----------------------------------------------------
195 Call to deprecated function file_unmanaged_copy().
------ ----------------------------------------------------
[ERROR] Found 1 error
Comment | File | Size | Author |
---|---|---|---|
#3 | deprecated-3087000-3.patch | 2.91 KB | Neograph734 |
#2 | deprecated-3087000-2.patch | 2.15 KB | Sergiu Stici |
Comments
Comment #2
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedHere is the patch, please review.
Comment #3
Neograph734Thanks for the effort. In
file_unmanaged_copy()
the second parameter could be omitted, but this is no longer the case withfileSystem->copy()
. I had to alter the patch a bit, please find it attached.Comment #4
pifagorComment #6
pifagor