silverstripe-archive / silverstripe-forum

Forum module for SilverStripe CMS
http://silverstripe.org/forum-module
Other
34 stars 60 forks source link

PSR-2 linting applied to code/ and tests/ #202

Closed robbieaverill closed 7 years ago

robbieaverill commented 7 years ago

As part of #201 - separated out to help retain git history

This is just a phpcbf run with search/replace for function replaced with public visibility where not declared.

codecov-io commented 7 years ago

Codecov Report

Merging #202 into master will increase coverage by -0.31%.

@@            Coverage Diff             @@
##           master     #202      +/-   ##
==========================================
- Coverage   53.92%   53.61%   -0.31%     
==========================================
  Files          11       11              
  Lines        1938     2115     +177     
==========================================
+ Hits         1045     1134      +89     
- Misses        893      981      +88
Impacted Files Coverage Δ
code/formfields/CheckableOption.php 73.91% <ø> (-7.04%) :x:
code/model/ForumCategory.php 0% <ø> (ø) :white_check_mark:
code/pagetypes/ForumHolder.php 40.81% <40.77%> (+1.02%) :white_check_mark:
code/controllers/ForumMemberProfile.php 41.17% <41.17%> (-0.78%) :x:
code/extensions/ForumRole.php 46.82% <47.76%> (-2.39%) :x:
code/pagetypes/Forum.php 60.08% <60.24%> (+0.66%) :white_check_mark:
code/reports/ForumReport.php 65.21% <65.21%> (ø) :white_check_mark:
code/model/Post.php 70.06% <69.65%> (+0.06%) :white_check_mark:
code/extensions/ForumSpamPostExtension.php 70.58% <70.58%> (-15.13%) :x:
code/model/ForumThread.php 72% <72%> (-3.68%) :x:
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cf78d12...aa0ca51. Read the comment docs.