Skip to content

[TASK] Also allow higher versions of PHPUnit #682

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

Merged
merged 2 commits into from
Aug 29, 2024
Merged

Conversation

oliverklee
Copy link
Contributor

@oliverklee oliverklee commented Aug 27, 2024

This hopefully will allow us to run the unit tests for all PHP version that we claim to support, i.e., from 5.6.x to currently 8.4.x.

@oliverklee oliverklee added the dependencies Pull requests that update a dependency file label Aug 27, 2024
@oliverklee oliverklee added this to the 8.6.1 or 8.7.0 milestone Aug 27, 2024
@oliverklee oliverklee self-assigned this Aug 27, 2024
@oliverklee oliverklee force-pushed the task/more-phpunit-versions branch from dbee5c0 to a1f7489 Compare August 27, 2024 07:15
@oliverklee oliverklee marked this pull request as draft August 27, 2024 07:18
@oliverklee oliverklee force-pushed the task/more-phpunit-versions branch from 4b9fb2c to d8215c2 Compare August 28, 2024 22:04
This hopefully will allow us to run the unit tests for all
PHP version that we claim to support, i.e., from 5.6.x to currently
8.4.x.
@oliverklee oliverklee force-pushed the task/more-phpunit-versions branch from d8215c2 to d1efe1c Compare August 28, 2024 22:08
@oliverklee oliverklee marked this pull request as ready for review August 28, 2024 22:10
Copy link
Contributor

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

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

Is fine, but just one question.

composer.json Outdated
@@ -27,7 +27,7 @@
"ext-iconv": "*"
},
"require-dev": {
"phpunit/phpunit": "^5.7.27"
"phpunit/phpunit": "^5.7.27 || ^8.5.39"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any reason not to allow 6.x or 7.x? Or maybe there is no reason to allow them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see how this can be confusing to the reader. I've now added the major versions between 5 and 8 as well. Fingers crossed that this works out well …

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yay, it works!

@oliverklee oliverklee force-pushed the task/more-phpunit-versions branch from b84924e to 4e8fbc4 Compare August 29, 2024 12:06
@oliverklee oliverklee requested a review from JakeQZ August 29, 2024 12:09
@JakeQZ JakeQZ merged commit c339830 into v8.x Aug 29, 2024
20 checks passed
@JakeQZ JakeQZ deleted the task/more-phpunit-versions branch August 29, 2024 13:18
westonruter added a commit to westonruter/PHP-CSS-Parser that referenced this pull request Nov 4, 2024
…into fix/malformed-identifier

* 'v8.x' of https://github.com/MyIntervals/PHP-CSS-Parser: (46 commits)
  [CLEANUP] Autoformat the code (MyIntervals#749)
  [TASK] Prepare the 8.7.0 release (MyIntervals#742)
  [BUGFIX] Fix another implictly nullable parameter (MyIntervals#751)
  [CLEANUP] Autoformat the changelog (MyIntervals#750)
  [TASK] Configure PHPUnit to be more strict (MyIntervals#744)
  [BUGFIX] Avoid implicit nullable parameters (MyIntervals#746)
  [BUGFIX] Revert broken support for multiple comments (MyIntervals#741)
  [TASK] Add some more tests for parsing comments (MyIntervals#739)
  [TASK] Use fixed PHPUnit versions (MyIntervals#726)
  [TASK] Update PHPUnit (MyIntervals#725)
  [TASK] State since which version code is `@internal`/`@deprecated` (MyIntervals#723)
  [TASK] Deprecate the expansion of shorthand properties (MyIntervals#719)
  [TASK] Mark parsing-internal classes and methods as `@internal` (MyIntervals#711)
  [TASK] Deprecate `Parser::setCharset()` and `Parser::getCharset()` (MyIntervals#703)
  [FEATURE] Run the tests on CI with PHP 8.4 as well (MyIntervals#701)
  [TASK] Run the tests with PHP versions up to 8.3 (MyIntervals#697)
  [TASK] Also allow higher versions of PHPUnit (MyIntervals#682)
  [BUGFIX] Fix type errors in PHP strict mode (MyIntervals#695)
  [TASK] Block installations on unsupported higher PHP versions (MyIntervals#692)
  [BUGFIX] Avoid using `setUp()` in testcases (MyIntervals#683)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants