Skip to content

Conversation

@ADmad
Copy link
Member

@ADmad ADmad commented Dec 12, 2017

No description provided.

It now doesn't complain about inline docComment above return statement.
*/
function validFunctionReturnSeven()
{
/** @var Foo $foo */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldnt we also fix that #172 issue that the inline doc blocks are fixed wrong in general? And that those are actually comments right now which they shouldnt be.
You can look into the existing sniffers I mentioned.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would require changing another sniff and beyond the scope of this PR.

@codecov-io
Copy link

codecov-io commented Dec 12, 2017

Codecov Report

Merging #201 into master will increase coverage by 0.05%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #201      +/-   ##
============================================
+ Coverage     85.46%   85.52%   +0.05%     
- Complexity      290      293       +3     
============================================
  Files            23       23              
  Lines           812      815       +3     
============================================
+ Hits            694      697       +3     
  Misses          118      118
Impacted Files Coverage Δ Complexity Δ
...P/Sniffs/Formatting/BlankLineBeforeReturnSniff.php 100% <100%> (ø) 18 <0> (+3) ⬆️

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 0b4d61f...a7d0749. Read the comment docs.

@markstory markstory merged commit 4d13930 into master Dec 12, 2017
@markstory markstory deleted the inline-doccomment-above-return branch December 12, 2017 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants