Skip to content

Require PHPStan and PHP-CS-Fixer in main composer.json #280

Require PHPStan and PHP-CS-Fixer in main composer.json

Require PHPStan and PHP-CS-Fixer in main composer.json #280

Triggered via push November 27, 2023 05:14
Status Failure
Total duration 19s
Artifacts

ci.yml

on: push
PHPStan analysis
11s
PHPStan analysis
Code Style checks
8s
Code Style checks
Fit to window
Zoom out
Zoom in

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().