Skip to content

Conversation

@GaryJones
Copy link
Member

See #2594.

We want contributors to be successful with their PRs, but we need to balance that with the limited time that maintainers have. This PR updates the CONTRIBUTING.md file to guide new users, and provides a place to direct authors of PRs who have missed the memo.

  • Emphasise not to submit AI-generated PRs. They tend to be low quality as the nuances of the PHP possible syntax, and the tests that are required to test that nuance, are not handled well by AI.
  • Watch out for copyright and license infringements. Code licensing is important, and we often can't use code that has been copied from elsewhere.
  • As per any PR, explaining the why is necessary to establish if the change is warranted. Without that, maintainers will just move on. They aren't mind-readers!

The first commit here fixes up the heading levels, as there were multiple level 1's, which translate as multiple h1 elements, which is bad for accessibility.

The second commit is the additional text.

Copy link
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

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

Thanks @GaryJones ! LGTM.

Only thing I'm unsure about is the "draft PR" bit.

In my opinion, draft PRs should only be allowed temporarily, but are often used as "WIP" placeholders or even just a demo of a concept.
The downsides of this are:

  • They are noisy - every time a commit is pushed to an open draft PR, maintainers get email notifications.
  • The PR list keeps getting longer with PR which are not actionable (as draft/unfinished).

With that in mind, I'm not sure encouraging people to open draft PRs is a good idea.

@jrfnl jrfnl added this to the 3.2.x milestone Sep 3, 2025
Copy link
Member

@dingo-d dingo-d left a comment

Choose a reason for hiding this comment

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

Left a few suggestions. I also agree with what Juliette mentioned. Better to leave discussions for issues and discussions than having draft PRs. As PRs would need to get reviewed to understand what a person wanted to do, and that takes time.

GaryJones and others added 3 commits September 3, 2025 17:34
@GaryJones
Copy link
Member Author

Suggestions all merged. Thank you - I agree with them.

Another else needed?

Copy link
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

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

Thanks for making those updates @GaryJones !

@dingo-d dingo-d merged commit f6965ee into develop Sep 4, 2025
48 checks passed
@dingo-d dingo-d deleted the update/contributing branch September 4, 2025 06:05
@jrfnl jrfnl modified the milestones: 3.2.x, 3.3.0 Sep 16, 2025
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.

4 participants