Skip to content

Update psalm-dev

Update psalm-dev #8

Triggered via push November 12, 2024 13:05
Status Failure
Total duration 1m 36s
Artifacts

php.yml

on: push
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
0s
Code coverage
Cleanup artifacts
0s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
MissingClassConstType: src/Decorators/HttpClientDecorator.php#L16
src/Decorators/HttpClientDecorator.php:16:18: MissingClassConstType: Class constant "SimpleSAML\OpenID\Decorators\HttpClientDecorator::DEFAULT_HTTP_CLIENT_CONFIG" should have a declared type. (see https://psalm.dev/359)
Quality control
Process completed with exit code 2.
InvalidArgument: tests/src/Factories/AlgorithmManagerFactoryTest.php#L54
tests/src/Factories/AlgorithmManagerFactoryTest.php:54:33: InvalidArgument: Argument 1 of SimpleSAML\OpenID\Factories\AlgorithmManagerFactory::build expects SimpleSAML\OpenID\SupportedAlgorithms, but PHPUnit\Framework\MockObject\MockObject provided (see https://psalm.dev/004)
InvalidArgument: tests/src/Factories/CacheDecoratorFactoryTest.php#L43
tests/src/Factories/CacheDecoratorFactoryTest.php:43:33: InvalidArgument: Argument 1 of SimpleSAML\OpenID\Factories\CacheDecoratorFactory::build expects Psr\SimpleCache\CacheInterface, but PHPUnit\Framework\MockObject\MockObject provided (see https://psalm.dev/004)
InvalidArgument: tests/src/Factories/HttpClientDecoratorFactoryTest.php#L40
tests/src/Factories/HttpClientDecoratorFactoryTest.php:40:33: InvalidArgument: Argument 1 of SimpleSAML\OpenID\Factories\HttpClientDecoratorFactory::build expects GuzzleHttp\Client|null, but PHPUnit\Framework\MockObject\MockObject provided (see https://psalm.dev/004)
InvalidArgument: tests/src/Factories/JwsSerializerManagerFactoryTest.php#L55
tests/src/Factories/JwsSerializerManagerFactoryTest.php:55:33: InvalidArgument: Argument 1 of SimpleSAML\OpenID\Factories\JwsSerializerManagerFactory::build expects SimpleSAML\OpenID\SupportedSerializers, but PHPUnit\Framework\MockObject\MockObject provided (see https://psalm.dev/004)
Quality control
Process completed with exit code 2.
MissingReturnType: tests/src/Algorithms/SignatureAlgorithmBagTest.php#L47
tests/src/Algorithms/SignatureAlgorithmBagTest.php:47:21: MissingReturnType: Method SimpleSAML\Test\OpenID\Algorithms\SignatureAlgorithmBagTest::testCanGetAllInstances does not have a return type, expecting void (see https://psalm.dev/050)