Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I run phpunit with core/tests/bootstrap.php in my phpunit.xml files in a couple of modules.
This now fails because composerRequireDrupal8() is added to both vendor/composer/autoload_real.php
and core/vendor/composer/autoload_real.php
.
This might be similar to #2563383: composer drupal-install needs the old core/vendor/autoload.php to work. I don't see how this can be fixed with vendor and core/vendor existing.
Comments
Comment #2
mradcliffeWell, shoot. This happens if you run core/vendor/bin/phpunit instead of vendor/bin/phpunit
Comment #3
bojanz CreditAttribution: bojanz at Centarro commentedWe have a note in the README: