Skip to content

[xml doc] NewShortArray#1997

Merged
jrfnl merged 2 commits intoPHPCompatibility:developfrom
okkun-sh:docs/syntax-newshortarray
Nov 22, 2025
Merged

[xml doc] NewShortArray#1997
jrfnl merged 2 commits intoPHPCompatibility:developfrom
okkun-sh:docs/syntax-newshortarray

Conversation

@okkun-sh
Copy link
Copy Markdown
Contributor

Add XML documentation for the NewShortArray sniff.

I picked this from #1285 as something I could contribute.
This is my first contribution to this project. Feedback is welcome!

Copy link
Copy Markdown
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.

Hi @okkun-sh Thank you for this PR and your willingness to contribute!

The PR is looking good and complies with all doc requirements. Well done.

I left two very small nitpicky comments inline as suggestions to make the code highlighting for this issue clearer.

Let me know what you think. If you like I can fix those up on merge.

@jrfnl
Copy link
Copy Markdown
Member

jrfnl commented Nov 19, 2025

P.S.: don't worry about the CS check failing - that is a known issue and PR #1983 will take care of that ;-)

Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com>
@okkun-sh
Copy link
Copy Markdown
Contributor Author

okkun-sh commented Nov 21, 2025

@jrfnl
Thanks for the review!
I've applied the suggested changes.

@jrfnl jrfnl merged commit fcb3f1a into PHPCompatibility:develop Nov 22, 2025
61 of 62 checks passed
@jrfnl
Copy link
Copy Markdown
Member

jrfnl commented Nov 22, 2025

Thanks for contributing @okkun-sh !

@okkun-sh okkun-sh deleted the docs/syntax-newshortarray branch November 24, 2025 15:00
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.

2 participants