Apply fixes from StyleCI #1905
lint.yml
on: push
Lint Code Base
2m 21s
Matrix: PHP Static Analysis
Annotations
8 errors
PHP Static Analysis (8.1):
LibreNMS/Modules/Os.php#L74
Parameter #4 $severity of static method App\Models\Eventlog::log() expects LibreNMS\Enum\Severity, int given.
|
PHP Static Analysis (8.1):
LibreNMS/Modules/Os.php#L78
Parameter #4 $severity of static method App\Models\Eventlog::log() expects LibreNMS\Enum\Severity, int given.
|
PHP Static Analysis (8.1):
LibreNMS/OS.php#L245
Method LibreNMS\OS::make() should return static(LibreNMS\OS) but returns object.
|
PHP Static Analysis (8.1):
LibreNMS/OS.php#L255
Method LibreNMS\OS::make() should return static(LibreNMS\OS) but returns object.
|
PHP Static Analysis (8.1):
LibreNMS/OS.php#L262
Method LibreNMS\OS::make() should return static(LibreNMS\OS) but returns LibreNMS\OS\Generic.
|
PHP Static Analysis (8.1):
app/Observers/VminfoObserver.php#L18
Parameter #4 $severity of static method App\Models\Eventlog::log() expects LibreNMS\Enum\Severity, int given.
|
PHP Static Analysis (8.1):
app/Observers/VminfoObserver.php#L42
Parameter #4 $severity of static method App\Models\Eventlog::log() expects LibreNMS\Enum\Severity, int given.
|
PHP Static Analysis (8.1)
Process completed with exit code 1.
|