Skip to content
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

[9.x] Auto fix docblock changes #45275

Merged
merged 2 commits into from Dec 21, 2022
Merged

[9.x] Auto fix docblock changes #45275

merged 2 commits into from Dec 21, 2022

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Dec 12, 2022

Right now, builds on 9.x are failing because a PR was merged without updating docblocks. This is because of the new Facade DocBlocks job that was merged here: #45154. Because of this all new PR's will now fail.

I don't think it's feasible that we keep this linting job as people will not update these docblocks themselves. Instead we should automate this. This new PR changes the job to only run on the Laravel organization and on the latest stable branches so not on PR's. People can change code as they want and when it gets merged, this GHA will automatically update DocBlocks accordingly.

This PR removes the GHA for PR's but I think it's a good thing as contributors now will not have to worry anymore about these changes/failures.

@driesvints driesvints marked this pull request as draft December 12, 2022 15:56
@driesvints driesvints marked this pull request as ready for review December 13, 2022 10:34
@taylorotwell
Copy link
Member

We have a slight problem with the script I mentioned in our internal Slack we would need to look at before merging this.

@taylorotwell taylorotwell marked this pull request as draft December 13, 2022 21:59
@timacdonald
Copy link
Member

I've fixed the issue in #45352

I'm happy to automate this further if it is a blocker. Wasn't sure how much it would be triggered, but now we know it is pretty frequently! Enough to be a pain.

I'll try and keep an eye on the auto-commits still, as there could be some more edge-cases or introduction of new Generics that we need to manually address.

@driesvints
Copy link
Member Author

Thanks @timacdonald!

@driesvints driesvints marked this pull request as ready for review December 21, 2022 08:14
@taylorotwell taylorotwell merged commit 8da1bc9 into 9.x Dec 21, 2022
@driesvints driesvints deleted the auto-fix-docblocks branch December 21, 2022 19:16
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

3 participants