Skip to content

Conversation

@pscheit
Copy link
Contributor

@pscheit pscheit commented Jun 25, 2025

As discussed in #88

Think this is the right move: users can still ignore the requirements via Composer and tiptoe around the methods using this extensions.

Since phpunit requires ext-dom this is present anyway on most systems.

Comment on lines 17 to 21
"require": {
"php": "^7.4|^8.0"
"php": "^7.4|^8.0",
"ext-ctype": "*",
"ext-dom": "*"
},
Copy link
Member

Choose a reason for hiding this comment

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

Please use consistent indentation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

huh? what do you mean?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh my god.. why does it use tabs.

And the extra is not in tabs ^^

@aik099 aik099 requested a review from Copilot June 25, 2025 15:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds missing PHP extension requirements to composer.json in response to issue #88.

  • Adds "ext-ctype" and "ext-dom" to the "require" section to ensure required extensions are declared
  • Ensures compatibility with phpunit by including ext-dom

@pscheit pscheit force-pushed the composer-add-extensions branch from a691556 to 0084286 Compare June 25, 2025 18:17
@pscheit pscheit requested a review from aik099 June 25, 2025 18:19
@aik099 aik099 merged commit 364bcda into hamcrest:master Jun 26, 2025
6 checks passed
@aik099
Copy link
Member

aik099 commented Jun 26, 2025

Merging, thanks @pscheit .

@pscheit pscheit deleted the composer-add-extensions branch June 27, 2025 11:30
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