-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add extension.json and a posible fix for composer #8
Conversation
This also may fix composer problem with semanticforms. Please use semanticformsselect.php directly since if you use composer that should load extension.json and load the semanticforms extension. Also add a translatible description. Change-Id: Ic88894768afe30699b5fa3aa4d97450f613fff7e
I'm not sure why it keeps failing but the fix should be something like this maybe not extension.json. |
Hi could I have help to fix the error. |
@@ -32,7 +32,15 @@ | |||
} | |||
}, | |||
"autoload": { | |||
"classmap": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't autoloade things from other components! They should do this themselves
@@ -0,0 +1,22 @@ | |||
<?php | |||
|
|||
class SemanticFormsSelectHooks { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do I need such class here and especially out of the normal PSR-4 / src directory.
I did not clean-up this extension to see stuff like this (which is common practice in WMF related development) to be floating around.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So that we can use a callback in extension.json and ExtensionFunctions
After just a quick look, I have to say that my opposition on the whole |
No description provided.