feat(interface): php_impl_interface macro#621
Merged
ptondereau merged 1 commit intoextphprs:masterfrom Jan 29, 2026
Merged
Conversation
Pull Request Test Coverage Report for Build 21479162825Details
💛 - Coveralls |
e5c61bb to
7febcb0
Compare
ptondereau
reviewed
Dec 23, 2025
f47b1a1 to
174c959
Compare
This comment was marked as outdated.
This comment was marked as outdated.
4cb1cc0 to
240b4fb
Compare
240b4fb to
ce32533
Compare
Contributor
Author
|
Please review/merge. |
3d0cdd2 to
1a82750
Compare
Contributor
Author
|
@ptondereau Rebased and green. This one next? |
ptondereau
requested changes
Jan 25, 2026
Member
ptondereau
left a comment
There was a problem hiding this comment.
Nice first draft.
But let me add some suggestions:
- Can we add a compile-time error if
#[php_impl_interface]is used on a non-trait impl? - Maybe throw a warning if trait methods aren't also in
#[php_impl] - We should add an example in the documentation showing cross-crate interface implementation
7cb7add to
d3c2b8c
Compare
ptondereau
previously approved these changes
Jan 25, 2026
Member
ptondereau
left a comment
There was a problem hiding this comment.
I'll do a final review tomorrow but for now LGTM
f9e0e55 to
f733620
Compare
Contributor
Author
All done, Mr Colombo, but CI is acting weird |
Member
thank you! |
98e4300 to
9d51536
Compare
Member
|
@kakserpom Maybe you might be interested in this #653 |
Contributor
Author
How is it related? |
9d51536 to
e96b63a
Compare
Contributor
Author
e96b63a to
5b6264d
Compare
Member
|
also 1 rebase and i'll merge ;) |
5b6264d to
030347b
Compare
Merged
kakserpom
added a commit
to kakserpom/ext-php-rs
that referenced
this pull request
Feb 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Implements #590 and #308