I came across some coding style issues in working on issue #1701014: Validate config object names. Here's an issue to get them all cleaned up.
Remaining issues:
core/includes/config.inc:109
core/lib/Drupal/Core/Config/Config.php:98
core/lib/Drupal/Core/Config/Config.php:194
core/lib/Drupal/Core/Config/Config.php:196
core/lib/Drupal/Core/Config/FileStorage.php:47
core/modules/config/lib/Drupal/config/Tests/Storage/ConfigStorageTestBase.php:114
core/modules/config/lib/Drupal/config/Tests/Storage/ConfigStorageTestBase.php:116
core/modules/config/lib/Drupal/config/Tests/Storage/ConfigStorageTestBase.php:118
core/modules/config/lib/Drupal/config/Tests/Storage/ConfigStorageTestBase.php:120
Comment | File | Size | Author |
---|---|---|---|
#9 | 1743072-file-content-test-cleanup-9.patch | 4.9 KB | LinL |
#6 | 1743072-file-content-test-cleanup-6.patch | 4.14 KB | mtift |
#3 | 1743072-file-content-test-cleanup-3.patch | 4.5 KB | gdd |
#1 | drupal-1743072-fix_code_standards_config_system-1.patch | 15.69 KB | disasm |
Comments
Comment #1
disasm CreditAttribution: disasm commentedAttached is a patch handling the issues I found that ARE NOT handled above. Above issues still need to be resolved.
Comment #2
sunTagging.
Do we use "public" for all test methods now...? I'm not aware of that.
Comment #3
gddAlmost all these cleanups have already been done, and I also don't believe that we're using public for test methods now. At least the other ones I spot checked aren't doing that.
So the only thing left is the small cleanups for ConfigFileContentTest which are all the rerolled patch is now.
Comment #4
disasm CreditAttribution: disasm commented#3: 1743072-file-content-test-cleanup-3.patch queued for re-testing.
Comment #6
mtiftHere's a re-roll. Looks like a pretty straightforward fix.
Comment #7
mtiftComment #8
mtiftComment #9
LinL CreditAttribution: LinL commentedRe-rolled. As before, plus I changed "an" to "a".
Comment #10
TR CreditAttribution: TR commentedLooks fine. Almost all the changes are to comments. Let's commit this and move on.
Comment #10.0
TR CreditAttribution: TR commentedUpdated issue summary.
Comment #11
Xano9: 1743072-file-content-test-cleanup-9.patch queued for re-testing.
Comment #12
Xano9: 1743072-file-content-test-cleanup-9.patch queued for re-testing.
Comment #13
webchickNice clean-up.
Committed and pushed to 8.x. Thanks!