Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3780382
D2546.id6446.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
659 B
Referenced Files
None
Subscribers
None
D2546.id6446.diff
View Options
diff --git a/omnitools/src/Registration/Autoloader.php b/omnitools/src/Registration/Autoloader.php
--- a/omnitools/src/Registration/Autoloader.php
+++ b/omnitools/src/Registration/Autoloader.php
@@ -19,6 +19,12 @@
///
public static function selfRegister () : void {
+ // The PSR-4 autoloader needs those classes as dependencies:
+ require_once __DIR__ . "/PSR4/Autoloader.php";
+ require_once __DIR__ . "/PSR4/Solver.php";
+ require_once __DIR__ . "/../IO/File.php";
+ require_once __DIR__ . "/../Reflection/CodeFile.php";
+
self::registerPSR4("Keruald\\OmniTools\\", self::getLibraryPath());
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 13:45 (21 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264544
Default Alt Text
D2546.id6446.diff (659 B)
Attached To
Mode
D2546: Allow self-registration to work outside Composer too
Attached
Detach File
Event Timeline
Log In to Comment