Update psalm-dev #8
php.yml
on: push
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)
|