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

CI pipeline issue: PHPUnit TestSuite.php generates PHP fatal error #419

Closed
Angatar opened this issue Dec 8, 2023 · 1 comment
Closed

Comments

@Angatar
Copy link

Angatar commented Dec 8, 2023

It seems there is currently an issue with the PHPUnit version used in the CI pipeline:

PHP Fatal error: Declaration of PHPUnit\Framework\TestSuite::run(): void must be compatible with PHPUnit\Framework\Test::run(?PHPUnit\Framework\TestResult $result = null): PHPUnit\Framework\TestResult in /home/runner/work/schema-generator/schema-generator/vendor/phpunit/phpunit/src/Framework/TestSuite.php on line 318

Can you fix it?

Details:
https://github.com/api-platform/schema-generator/actions/runs/7142451910/job/19451775510?pr=415

Originally posted by @Angatar in #415 (comment)

BTW: I got no error on the local runs of the PHPunit tests with PHP 7.4, 8.0, 8.1, 8.2 and 8.3

@Angatar
Copy link
Author

Angatar commented Dec 12, 2023

@dunglas #420 fixed it, thanks!

PR #421 now pass CI :)

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

No branches or pull requests

1 participant