Skip to content

Apply fixes from StyleCI #1905

Apply fixes from StyleCI

Apply fixes from StyleCI #1905

Triggered via push October 4, 2023 07:04
Status Failure
Total duration 7m 35s
Artifacts

lint.yml

on: push
Matrix: PHP Static Analysis
Fit to window
Zoom out
Zoom in

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.