Skip to content

[11.x] Simplify PHP comments #6316

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 11, 2024
Merged

[11.x] Simplify PHP comments #6316

merged 4 commits into from
Jan 11, 2024

Conversation

nunomaduro
Copy link
Member

@nunomaduro nunomaduro commented Jan 11, 2024

Hi everyone! This pull request proposes a small change the PHP comments in our skeleton. They've been around for a while, and we're all pretty used to them. But, I'm curious about your thoughts on reshaping our docs to align more with the style used in "laravel/framework:" (and in any other repository really), while simultaneously do the three-character rule.

Here is an example:

Screenshot 2024-01-11 at 17 27 08

Not that, I am not fully convinced; however, if this pull request gets merged, I will go around to the other repositories and adjust the PHP comments accordingly via PR.

nunomaduro and others added 2 commits January 11, 2024 17:28

Verified

This commit was signed with the committer’s verified signature.
StyleCIBot StyleCI Bot
nunomaduro and others added 2 commits January 11, 2024 17:36

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@taylorotwell taylorotwell merged commit dd60315 into master Jan 11, 2024
@taylorotwell taylorotwell deleted the feat/simplify-comments branch January 11, 2024 20:32
@taylorotwell
Copy link
Member

Took it a bit further and deleted all comments from routes files and integrated your previous scheduler simplification suggestion.

@renatofrota
Copy link

Took it a bit further and deleted all comments from routes files and integrated your previous scheduler simplification suggestion.

@taylorotwell ,

Respectfully, I didn't appreciate the comments being removed. Laravel stops being friendly to newbies, like me, when a file is left without any explanation as to why it exists. The fact that it is absolutely simple makes it difficult to understand its function. It is precisely in this situation that comments are most useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants