Skip to content

Apply fixes from StyleCI #26

Apply fixes from StyleCI

Apply fixes from StyleCI #26

Triggered via push February 16, 2025 14:13
Status Failure
Total duration 41s
Artifacts

backend.yml

on: push
Matrix: run / phpstan
Matrix: run / test
Fit to window
Zoom out
Zoom in

Annotations

20 errors
run / PHPStan PHP 8.4: extend.php#L38
Parameter #1 $serviceProviderClass of method Flarum\Extend\ServiceProvider::register() expects class-string<Flarum\Foundation\AbstractServiceProvider>, string given.
run / PHPStan PHP 8.4: src/Extend/FileStoragePath.php#L24
Deprecated in PHP 8.4: Parameter #2 $extension (Flarum\Extension\Extension) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: src/Extend/FileStoragePath.php#L31
Call to method has() on an unknown class League\Flysystem\Adapter\Local.
run / PHPStan PHP 8.4: src/Extend/FileStoragePath.php#L32
Call to method createDir() on an unknown class League\Flysystem\Adapter\Local.
run / PHPStan PHP 8.4: src/Extend/FileStoragePath.php#L36
Method FoF\Clockwork\Extend\FileStoragePath::storage() has invalid return type League\Flysystem\Adapter\Local.
run / PHPStan PHP 8.4: src/Extend/FileStoragePath.php#L38
Instantiated class League\Flysystem\Adapter\Local not found.
run / PHPStan PHP 8.4: src/Extend/FileStoragePath.php#L43
Call to method has() on an unknown class League\Flysystem\Adapter\Local.
run / PHPStan PHP 8.4: src/Extend/FileStoragePath.php#L44
Call to method deleteDir() on an unknown class League\Flysystem\Adapter\Local.
run / PHPStan PHP 8.4
Process completed with exit code 1.
run / PHPStan PHP 8.3
The job was canceled because "_8_4" failed.
run / PHPStan PHP 8.3: extend.php#L38
Parameter #1 $serviceProviderClass of method Flarum\Extend\ServiceProvider::register() expects class-string<Flarum\Foundation\AbstractServiceProvider>, string given.
run / PHPStan PHP 8.3: src/Extend/FileStoragePath.php#L31
Call to method has() on an unknown class League\Flysystem\Adapter\Local.
run / PHPStan PHP 8.3: src/Extend/FileStoragePath.php#L32
Call to method createDir() on an unknown class League\Flysystem\Adapter\Local.
run / PHPStan PHP 8.3: src/Extend/FileStoragePath.php#L36
Method FoF\Clockwork\Extend\FileStoragePath::storage() has invalid return type League\Flysystem\Adapter\Local.
run / PHPStan PHP 8.3: src/Extend/FileStoragePath.php#L38
Instantiated class League\Flysystem\Adapter\Local not found.
run / PHPStan PHP 8.3: src/Extend/FileStoragePath.php#L43
Call to method has() on an unknown class League\Flysystem\Adapter\Local.
run / PHPStan PHP 8.3: src/Extend/FileStoragePath.php#L44
Call to method deleteDir() on an unknown class League\Flysystem\Adapter\Local.
run / PHPStan PHP 8.3
Process completed with exit code 1.
run / PHPStan PHP 8.2
The job was canceled because "_8_4" failed.
run / PHPStan PHP 8.2
The operation was canceled.