Skip to content

Additional Bridges for Filesystem component #390

Additional Bridges for Filesystem component

Additional Bridges for Filesystem component #390

Triggered via pull request August 26, 2024 16:39
Status Failure
Total duration 2m 4s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
UndefinedClass: src/SonsOfPHP/Bridge/Aws/Filesystem/Adapter/S3Adapter.php#L163
src/SonsOfPHP/Bridge/Aws/Filesystem/Adapter/S3Adapter.php:163:23: UndefinedClass: Class, interface or enum named SonsOfPHP\Bridge\Aws\Filesystem\Adapter\UnableToMoveFile does not exist (see https://psalm.dev/019)
NullableReturnStatement: src/SonsOfPHP/Bridge/Aws/Filesystem/Adapter/S3Adapter.php#L181
src/SonsOfPHP/Bridge/Aws/Filesystem/Adapter/S3Adapter.php:181:16: NullableReturnStatement: The declared return type 'string' for SonsOfPHP\Bridge\Aws\Filesystem\Adapter\S3Adapter::mimeType is not nullable, but the function returns 'mixed|null' (see https://psalm.dev/139)
UndefinedInterfaceMethod: src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php#L53
src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php:53:48: UndefinedInterfaceMethod: Method Aws\ResultInterface::method does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php#L60
src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php:60:24: UndefinedInterfaceMethod: Method Psr\Http\Message\StreamInterface::method does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php#L61
src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php:61:24: UndefinedInterfaceMethod: Method Aws\ResultInterface::method does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php#L68
src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php:68:48: UndefinedInterfaceMethod: Method Aws\ResultInterface::method does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php#L75
src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php:75:48: UndefinedInterfaceMethod: Method Aws\ResultInterface::method does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php#L82
src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php:82:48: UndefinedInterfaceMethod: Method Aws\ResultInterface::method does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php#L83
src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php:83:24: UndefinedInterfaceMethod: Method Aws\ResultInterface::method does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php#L90
src/SonsOfPHP/Bridge/Aws/Filesystem/Tests/Adapter/S3AdapterTest.php:90:48: UndefinedInterfaceMethod: Method Aws\ResultInterface::method does not exist (see https://psalm.dev/181)
Psalm (8.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/