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

Internal error: Class 'Drupal\TestTools\PhpUnitCompatibility\RunnerVersion' not found #87

Closed
pookmish opened this issue Oct 15, 2019 · 0 comments · Fixed by #88
Closed

Comments

@pookmish
Copy link

It seems as a result of this drupal.org issue there is a missing namespace to be added.
I got the error by doing a fresh composer install and using drupal-check. No custom code. I was able to resolve the error by adding $this->namespaces['Drupal\\TestTools\\PhpUnitCompatibility'] = $core_tests_dir . '/TestTools/PhpUnitCompatibility'; to src/Drupal/Bootstrap.php file around line 168.

markdorison pushed a commit to markdorison/phpstan-drupal that referenced this issue Jun 17, 2021
Add documentation to install as a dev dependency
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 a pull request may close this issue.

1 participant