Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2015 at 20:55 UTC
Updated:
5 May 2015 at 12:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
znerol commentedThis is expected to result in the same test-failures as #2389811-66: Move all the logic out of index.php (again) because the APCu class-loader should now be propagated into
TestDiscoverywhere it causes an exception due to the type-hint against the composer class loader.Comment #2
znerol commentedComment #3
znerol commentedFix
TestDiscovery.Comment #5
andypostIs there a way to use some interface here for type-hint?
This will not pass docs gate
Comment #6
znerol commentedI do not think so. Neither composer class loader nor the APC one from Symfony implement an interface . This just replicates changes made to
DrupalKernelconstructor (#2325197-15: Remove drupal_classloader()). If there is a problem with the documentation, we need to fix that inDrupalKernelalso.Comment #7
znerol commentedRelated #2023325: Add interface for classloader so it can be cleanly swapped
Comment #8
fabianx commentedThanks for the patch, but does that work for the settings.php use case as well? (which can't change the kernel class loader obviously)
Comment #9
znerol commentedOh, right.
Comment #10
fabianx commentedRTBC, thanks, just a normal bug.
Comment #11
alexpottThis issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 83d2660 and pushed to 8.0.x. Thanks!