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

feat: allow PHPUnit 11 #228

Closed
wants to merge 4 commits into from

Conversation

kubawerlos
Copy link

@kubawerlos kubawerlos commented Feb 4, 2024

PHPUnit 11 requires phpunit/php-code-coverage:^11.0: https://github.com/sebastianbergmann/phpunit/blob/11.0.0/composer.json#L35

CI changes are made because:

  • phpunit/php-code-coverage:^11.0 requires nikic/php-parser:^5.0
  • the latest stable vimeo/psalm does not yet allow nikic/php-parser:^5.0.

composer.json Outdated
@@ -27,7 +27,7 @@
"ext-dom": "*",
"ext-json": "*",
"jean85/pretty-package-versions": "^1.5.1||^2.0.1",
"phpunit/php-code-coverage": "^10.0",
"phpunit/php-code-coverage": "^10.0||^11.0",
"phpunit/php-file-iterator": "^4.0",
Copy link

@Chris53897 Chris53897 Feb 4, 2024

Choose a reason for hiding this comment

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

I guess this should be "phpunit/php-file-iterator": ^4.0||^5.0

@kubawerlos
Copy link
Author

With a lot of magic I've managed to install PHPUnit 11, I have no idea the error would happen with a normal installation.

@Jean85
Copy link
Member

Jean85 commented Feb 4, 2024

Closing in favor of #230.

@Jean85 Jean85 closed this Feb 4, 2024
@kubawerlos kubawerlos deleted the phpunit_11 branch February 4, 2024 22:56
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.

None yet

3 participants