Used deprecated methods file_prepare_directory() in line 54 of /src/Tests/TokenUserTest.php and file_unmanaged_copy() in line 130, 131 of src/Tests/TokenFieldUiTest.php.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ravi.shankar created an issue. See original summary.

ravi.shankar’s picture

Status: Active » Needs review
FileSize
1.89 KB

This patch will fix.

Status: Needs review » Needs work

The last submitted patch, 2: 3070012-2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

ravi.shankar’s picture

Status: Needs work » Needs review
FileSize
1.89 KB

This patch will fix.

Status: Needs review » Needs work

The last submitted patch, 4: 3070012-4.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

ravi.shankar’s picture

Status: Needs work » Needs review
FileSize
2.75 KB

This will fix.

Status: Needs review » Needs work

The last submitted patch, 6: 3070012-6.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

ravi.shankar’s picture

Status: Needs work » Needs review
FileSize
3.43 KB

This patch will fix.

Status: Needs review » Needs work

The last submitted patch, 8: 3070012-8.patch, failed testing. View results

ravi.shankar’s picture

Status: Needs work » Needs review
FileSize
3.02 KB

This will work.

Berdir’s picture

Status: Needs review » Postponed

Not going to commit 8.7 deprecations as long as Drupal 8.6 is still supported.

idebr’s picture

Title: Used deprecated methods file_prepare_directory() and file_unmanaged_copy(). » [8.7+] Used deprecated methods file_prepare_directory() and file_unmanaged_copy().
idebr’s picture

Status: Postponed » Needs review

Drupal 8.8.0 has been released. This means the 8.6.x branch is no longer supported and this issue is no longer postponed.

idebr’s picture

Status: Needs review » Needs work
+++ b/src/Tests/TokenFieldUiTest.php
@@ -100,6 +100,9 @@ class TokenFieldUiTest extends TokenTestBase {
+  /**
+   *
+   */

@@ -112,6 +115,9 @@ class TokenFieldUiTest extends TokenTestBase {
+  /**
+   *
+   */

@@ -193,7 +200,7 @@ class TokenFieldUiTest extends TokenTestBase {
+      // field_image.

@@ -215,7 +222,7 @@ class TokenFieldUiTest extends TokenTestBase {
+      // field_image_2.

+++ b/src/Tests/TokenUserTest.php
@@ -124,4 +124,5 @@ class TokenUserTest extends TokenTestBase {
+

Let's remove these unrelated changes from the patch so we don't introduce any more changed than necessary.

Berdir’s picture

Rerolled.

Berdir’s picture

Title: [8.7+] Used deprecated methods file_prepare_directory() and file_unmanaged_copy(). » Used deprecated methods file_prepare_directory() and file_unmanaged_copy().

  • Berdir committed 3df1293 on 8.x-1.x
    Issue #3070012 by ravi.shankar, Berdir: Used deprecated methods...
Berdir’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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