Files: 
CommentFileSizeAuthor
#6 2002276-6-rename-add_self_tokens.patch5.09 KBelvis2
PASSED: [[SimpleTest]]: [MySQL] 55,764 pass(es).
[ View ]
#4 2002276-4-rename-add_self_tokens.patch5.03 KBelvis2
FAILED: [[SimpleTest]]: [MySQL] 55,891 pass(es), 1 fail(s), and 0 exception(s).
[ View ]
#2 2002276-2-rename-add_self_tokens.patch5.02 KBelvis2
FAILED: [[SimpleTest]]: [MySQL] Invalid PHP syntax in core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php.
[ View ]

Comments

Assigned:Unassigned» elvis2

Status:Active» Needs review
StatusFileSize
new5.02 KB
FAILED: [[SimpleTest]]: [MySQL] Invalid PHP syntax in core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php.
[ View ]

Status:Needs review» Needs work

The last submitted patch, 2002276-2-rename-add_self_tokens.patch, failed testing.

Status:Needs work» Needs review
StatusFileSize
new5.03 KB
FAILED: [[SimpleTest]]: [MySQL] 55,891 pass(es), 1 fail(s), and 0 exception(s).
[ View ]

Oops, let's try that again.

Status:Needs review» Needs work

+++ b/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.phpundefined
@@ -800,7 +800,7 @@ function document_self_tokens(&$tokens) {
+  function addSelfTokens(&$tokens, $item) {
+++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/TaxonomyIndexTid.phpundefined
@@ -141,7 +141,7 @@ function document_self_tokens(&$tokens) {
+  function addSelfTokens(&$tokens, $item) {
+++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/Permissions.phpundefined
@@ -80,7 +80,7 @@ function document_self_tokens(&$tokens) {
+  function addSelfTokens(&$tokens, $item) {
+++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.phpundefined
@@ -76,7 +76,7 @@ function document_self_tokens(&$tokens) {
+  function addSelfTokens(&$tokens, $item) {
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.phpundefined
@@ -1572,12 +1572,12 @@ function get_token_values_recursive(array $array, array $parent_keys = array())
+  function addSelfTokens(&$tokens, $item) { }
+++ b/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/field/FieldTest.phpundefined
@@ -43,9 +43,9 @@ public function getTestValue() {
+  function addSelfTokens(&$tokens, $item) {

Add protected access modifier in front of the method to adher to the new OOP standards.
I assume protected because the calls to this method are in the form of $this->addSelfTokens.

Status:Needs work» Needs review
StatusFileSize
new5.09 KB
PASSED: [[SimpleTest]]: [MySQL] 55,764 pass(es).
[ View ]

Added the access modifier.

Status:Needs review» Reviewed & tested by the community

Looks good to me now !

Status:Reviewed & tested by the community» Fixed

Committed 20d028f and pushed to 8.x. Thanks!

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