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

Add phpunit 11 support #86

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pieterocp
Copy link

Allow for phpunit version 11.* to be used, addressing #85 + should handle the case of https://github.com/rdohms/phpunit-arraysubset-asserts/pull/81/files#r1557304228 so thank you for the suggestion.

Did run the job using nektos/act and outside of being ratelimited if I ran several at once, it seemed to generally work. The version constraints can probably be changed a bit though.

Tested with inside a project, which has this composer installed, plus ran tests locally on using a phpunit.phar installation.

@jrfnl
Copy link
Collaborator

jrfnl commented Jan 28, 2025

@pieterocp Just a thought: if you literally copy someone else's code .... you may want to give them credit...

pieterocp and others added 2 commits January 28, 2025 06:45
Credited to dmaicher

Co-authored-by: dmaicher <[email protected]>
… this version works with most/all phpunit installations

Credit to jrfnl for the suggestion and the phar test setup from Yoast

Co-authored-by: jrfnl <[email protected]>
@pieterocp pieterocp force-pushed the add-phpunit-11-support branch from ec46deb to 6b1adb8 Compare January 28, 2025 06:56
@pieterocp
Copy link
Author

@pieterocp Just a thought: if you literally copy someone else's code .... you may want to give them credit...

Apologies, added to the commit messages the folks who's work I glued together. So thank you @jrfnl and @dmaicher.

@jrfnl
Copy link
Collaborator

jrfnl commented Jan 28, 2025

@pieterocp Appreciated.

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.

2 participants