-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b156964
commit da67aa3
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
da67aa3
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.
Dear @matcracker,
C1b — Stay in your namespace:
Please resolve these issues and submit the plugin again.
da67aa3
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.
@SOF3, I don't understand what's wrong with namespaces. They are all correct 😕
da67aa3
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.
If two plugins use the same composer library, and one uses version 1.2 and one uses version 1.3, it is undefined behaviour which one gets loaded. It is even possible that plugin-a/library-1.2/foo.php and plugin-b/library-1.3/bar.php get loaded together, which will lead to crash.
As a result, currently, the only way to prevent this problem is to shade the classes through technologies like virions.
I am looking to resolve this issue in PocketMine 4.1 or 5.0, but for now, this problem has no better solution.