Require PHPStan and PHP-CS-Fixer in main composer.json #280
ci.yml
on: push
PHPStan analysis
11s
Code Style checks
8s
Annotations
10 errors
PHPStan analysis:
src/Language.php#L25
Method thebigcrafter\omp\Language::loadLanguages() has no return type specified.
|
PHPStan analysis:
src/Language.php#L27
Call to an undefined method thebigcrafter\omp\OhMyPMMP::getConfig().
|
PHPStan analysis:
src/Language.php#L30
Call to an undefined method thebigcrafter\omp\OhMyPMMP::getDataFolder().
|
PHPStan analysis:
src/Language.php#L36
Call to an undefined method thebigcrafter\omp\OhMyPMMP::getDataFolder().
|
PHPStan analysis:
src/Language.php#L43
Call to an undefined method thebigcrafter\omp\OhMyPMMP::getDataFolder().
|
PHPStan analysis:
src/Language.php#L46
Call to an undefined method thebigcrafter\omp\OhMyPMMP::saveResource().
|
PHPStan analysis:
src/Language.php#L54
Call to an undefined method thebigcrafter\omp\OhMyPMMP::getConfig().
|
PHPStan analysis:
src/Language.php#L64
Method thebigcrafter\omp\Language::translate() should return string but returns mixed.
|
PHPStan analysis:
src/OhMyPMMP.php#L33
Class thebigcrafter\omp\OhMyPMMP extends unknown class pocketmine\plugin\PluginBase.
|
PHPStan analysis:
src/OhMyPMMP.php#L45
Call to an undefined method thebigcrafter\omp\OhMyPMMP::saveDefaultConfig().
|