Skip to content
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 to poggit #59

Open
Shadow-87 opened this issue Dec 2, 2020 · 1 comment
Open

Add to poggit #59

Shadow-87 opened this issue Dec 2, 2020 · 1 comment

Comments

@Shadow-87
Copy link

Hello.
Please add this plugin to Poggit. I saw that you added this plugin in the ci section. Please fix it and add it to poggit. I really need this plugin and my server is on Aternos.
Thank you the pro guys.

@Shadow-87
Copy link
Author

This is error in poggit. Please fix it.

Dev Build #77
Initiation
Commit
052f45c
Lint
Severity: Lint

Violation of PSR-0
On line 31 at src/vixikhd/eggwars/arena/level/VotingManager.php:

class VotingManager implements LevelManager {
PocketMine uses an autoloader that autoloads classes using the PSR-0 standard. In simple words, every class should be placed in a class file whose path depends on the class's namespace + class name in the src directory.
Moreover, the case should also be equal, because on case-sensitive systems, your class may not be loaded because the autoloader tries to load your class using the case in your namespace/class name, while the system does not think that your class file represents the path that the autoloader required.
Classes should be placed in these paths:

Fully-qualified class name Class location
Foo\Bar src/Foo/Bar.php
vixikhd\eggwars\arena\voting\VotingManager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant