Fix legacy poller :D #1894
lint.yml
on: push
Lint Code Base
1m 48s
Matrix: PHP Static Analysis
Annotations
10 errors
PHP Static Analysis (8.1):
LibreNMS/Interfaces/Module.php#L66
PHPDoc tag @param for parameter $datastore with type LibreNMS\Interfaces\DataStorageInterface is not subtype of native type LibreNMS\Interfaces\Data\DataStorageInterface.
|
PHP Static Analysis (8.1):
LibreNMS/Interfaces/Module.php#L66
Parameter $datastore of method LibreNMS\Interfaces\Module::poll() has invalid type LibreNMS\Interfaces\DataStorageInterface.
|
PHP Static Analysis (8.1):
LibreNMS/Modules/Availability.php#L70
Parameter $datastore of method LibreNMS\Modules\Availability::poll() has invalid type LibreNMS\Interfaces\DataStorageInterface.
|
PHP Static Analysis (8.1):
LibreNMS/Modules/Availability.php#L108
Undefined variable: $os
|
PHP Static Analysis (8.1):
LibreNMS/Modules/Core.php#L103
Parameter $datastore of method LibreNMS\Modules\Core::poll() has invalid type LibreNMS\Interfaces\DataStorageInterface.
|
PHP Static Analysis (8.1):
LibreNMS/Modules/Isis.php#L94
Parameter $datastore of method LibreNMS\Modules\Isis::poll() has invalid type LibreNMS\Interfaces\DataStorageInterface.
|
PHP Static Analysis (8.1):
LibreNMS/Modules/LegacyModule.php#L107
Parameter $datastore of method LibreNMS\Modules\LegacyModule::poll() has invalid type LibreNMS\Interfaces\DataStorageInterface.
|
PHP Static Analysis (8.1):
LibreNMS/Modules/Mempools.php#L85
Parameter $datastore of method LibreNMS\Modules\Mempools::poll() has invalid type LibreNMS\Interfaces\DataStorageInterface.
|
PHP Static Analysis (8.1):
LibreNMS/Modules/Mpls.php#L114
Parameter $datastore of method LibreNMS\Modules\Mpls::poll() has invalid type LibreNMS\Interfaces\DataStorageInterface.
|
PHP Static Analysis (8.1):
LibreNMS/Modules/Nac.php#L75
Parameter $datastore of method LibreNMS\Modules\Nac::poll() has invalid type LibreNMS\Interfaces\DataStorageInterface.
|