-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
Docblock and Strict Code updates #21517
Conversation
…ict syntax checking.
…ock-methods # Conflicts: # src/Illuminate/Support/Facades/Artisan.php # src/Illuminate/Support/Facades/Route.php
…ock-methods # Conflicts: # src/Illuminate/Support/Facades/Artisan.php # src/Illuminate/Support/Facades/Route.php
…version of laravel.
…he the one returned.
I see a whole lot of no here… |
feedback would be helpful. thank you. |
You've touched 36 files in on PR and the changes are not really related. I'd suggest to submit several small PRs. I don't think Taylor will merge inline docblock or things like |
There are a lot of things wrong with this, here are a few:
My point is simple: if you want to contribute to the framework, feel free to. Though, don't expect all your preferences to be adopted just because you like it that way. That said, this is unacceptable for a pull request: Pull requests should be focused, tested and standardised. This feels a lot like you just wanted to get loads of commits into a big repository so when you apply for a job you can be like "Ooh, look how much I've contributed!". Not acceptable. |
lastly. I appreciate your feedback. I have contributed many times and plan to continue. Please feel free to be as brutal as you wish. Any feedback is good feedback. P.S. - I have a job. thanks. |
The "breaking change" comment is about a PR that was merged into master that didn't fail any tests. Have you got any information for me to find out about what it broke and how it was unreasonable?
This is my point. Your direction with this is "proper code inspection / validation", which is invalid. Your true point is "better support PHPStorm's inspection / integration" (validation is nonsense here…). Your point "this is for proper ide definition of static magic methods" again boils down to: this is a lot of repeated documentation that you want specifically for your IDE. If this was to happen, which I'm willing to bet won't, it would need to be done everywhere. Not just these seemingly random cherry picked files. |
the "breaking change" is mentioned here These docblocks are the most common methods used by many people in a static context. That is why have been previously defined in some ide-helpers. Many of these definitions already exist in the framework. They improve the readability in the code rather than having to trace magic methods. IDE support and validation is just a benefit. This helps the community as a whole to adapt more of the functionality of the framework. Eventually I would love to help to get it done everywhere. That is taking me a lot of time, hence the large request... I will break it down. Here are some other magic method and mixin requests that I have done ... as a frame of reference thanks again. |
I assume you see the difference and are just trying to avoid it? This PR has 23 commits and does a lot more than one thing. You also do completely different things to those other PRs (you change non-doc code blocks, you add duplicate descriptions, you describe non-firstclass methods on interfaces). Just fyi too, not being a brute, you asked for feedback so I gave you some 😄 |
As I said, all feedback is good feedback. I appreciate you taking the time to give me yours. Cheers. |
Updates for...