Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
block.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Nov 2014 at 18:30 UTC
Updated:
25 Dec 2014 at 16:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hussainwebAttaching the changes for BlockCacheTest.php. I am not fixing the instance of
$this->root_userinBlockHtmlTest.phpbecause that is actually from\Drupal\simpletest\WebTestBaseand changing there may not be in scope of this issue.Comment #2
cilefen commentedThank you for working on this. It is good when we follow our own coding standards.
I agree on the root_user situation. We have to be sure it is considered when we fix the parent class.
Please comment these. Look around in other tests for what is usually used.
Comment #3
cilefen commentedComment #4
hussainwebAdded comments.
Comment #5
tibbsa commentedI suggest @var \Drupal\user\UserInterface rather than a very vague 'object' definition for these.
Comment #6
tibbsa commentedComment #7
mile23The patch in #4 refactors class-level properties from under_score to camelCase as the coding standards demand.
I know this because I applied the patch, ran my own coding standards review with netbeansdrupalcomposed, and poked through all the test classes to find camel case and underscore violations.
Comment #8
alexpottCommitted aec18af and pushed to 8.0.x. Thanks!