Closed (duplicate)
Project:
Drupal core
Version:
8.1.x-dev
Component:
forum.module
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Apr 2012 at 17:55 UTC
Updated:
21 Sep 2015 at 11:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
larowlanComment #2
NROTC_Webmaster commentedPostponed because of #1357138: Clean up API docs for forum module
Comment #3
sphism commentedWe have the go ahead with all these issues again, see #1518116: [meta] Make Core pass Coder Review for more details
Comment #4
larowlanThis should wait for #1951268: Convert /forum and /forum/% to new router, remove forum_forum_load(), forum_get_topics(), create Forum service and #1974210: Convert admin/structure/forum to a Controller
forum.pages.inc and forum.admin.inc will be removed in those issues.
And forum.module will contain hooks only, no other code.
Comment #5
larowlanComment #6
mgiffordComment #7
cs_shadow commentedWorking on it.
Comment #8
pguillard commentedI take this one
Comment #9
pguillard commentedComment #10
pguillard commentedHere is a patch.
Remaining errors are :
$phpcs --standard=Drupal core/modules/forum
FILE: ...s/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php
--------------------------------------------------------------------------------
FOUND 0 ERROR(S) AND 1 WARNING(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
5 | WARNING | Line exceeds 80 characters; contains 82 characters
--------------------------------------------------------------------------------
FILE: /var/www/drupal8/core/modules/forum/src/ForumManager.php
--------------------------------------------------------------------------------
FOUND 0 ERROR(S) AND 1 WARNING(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
125 | WARNING | Line exceeds 80 characters; contains 83 characters
--------------------------------------------------------------------------------
Comment #12
pguillard commentedCorrection
Comment #13
mgiffordComment #14
larowlanThis looks great! a few minor changes required
» A false positive error on these lines.
does this pass review if you split it to 5 per line, the readability here isn't great
should be on own line?
please use protected instead
Comment #15
pguillard commentedThanks. Changes have been applied.
Comment #16
xjmThanks for all the work here so far. See #1518116-86: [meta] Make Core pass Coder Review. This issue is postponed until the meta issue is either closed or reopened.
Comment #17
pfrenssenClosing in favor of #2571965: [meta] Fix PHP coding standards in core, stage 1. In this issue the coding standards will be fixed on a sniff-per-sniff basis rather than a module-per-module basis.