Uh oh!
There was an error while loading. Please reload this page.
Enhancement: Enable void_return fixer - #661
Merged
Merged
Conversation
localheinz
marked this pull request as ready for review
July 15, 2022 11:31
localheinz
commented
Jul 15, 2022
| private $ageWeight = 2; | ||
| public function sort(array &$notes) { | ||
| public function sort(array &$notes): void { |
ContributorAuthor
There was a problem hiding this comment.
The method does not return anything.
web-php/src/UserNotes/Sorter.php
Lines 18 to 37 in d8717d3
Uh oh!
There was an error while loading. Please reload this page.
| } | ||
| private function findMinMaxValues(array &$notes) { | ||
| private function findMinMaxValues(array &$notes): void { |
ContributorAuthor
There was a problem hiding this comment.
The method does not return anything.
web-php/src/UserNotes/Sorter.php
Lines 78 to 108 in d8717d3
localheinzforce-pushed
the
feature/void-return
branch
2 times, most recently
from
July 15, 2022 13:23
09a4679 to
921a5ebComparelocalheinzforce-pushed
the
feature/void-return
branch
from
August 22, 2022 17:18
2b1a548 to
6871782Comparelocalheinzforce-pushed
the
feature/void-return
branch
from
September 11, 2022 21:05
9d0faf3 to
543beb1Comparekamil-tekiela
commented
Sep 16, 2022
Member
Can you please resolve conflicts? |
derickr
commented
Nov 29, 2023
Member
This still has conflicts :-) |
localheinzforce-pushed
the
feature/void-return
branch
from
December 5, 2023 12:34
d4c6574 to
04b8215Comparelocalheinz
commented
Dec 5, 2023
ContributorAuthor
Rebased! |
kamil-tekiela
commented
Dec 5, 2023
Member
Thanks. This should be fine. |
localheinz
commented
Dec 5, 2023
ContributorAuthor
Thank you, @derickr and @kamil-tekiela! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request
void_returnfixermake coding-standardsFollows #559.
💁♂️ For reference, see https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v3.4.0/doc/rules/function_notation/void_return.rst.