Add basic test-framework #4
php.yml
on: push
Annotations
12 errors
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.
|
PropertyNotSetInConstructor:
tests/src/Algorithms/AlgorithmManagerTest.php#L16
tests/src/Algorithms/AlgorithmManagerTest.php:16:26: PropertyNotSetInConstructor: Property SimpleSAML\Test\OpenID\Algorithms\AlgorithmManagerTest::$signatureAlgorithmMock is not defined in constructor of SimpleSAML\Test\OpenID\Algorithms\AlgorithmManagerTest or in any methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/src/Algorithms/AlgorithmManagerTest.php#L18
tests/src/Algorithms/AlgorithmManagerTest.php:18:21: PropertyNotSetInConstructor: Property SimpleSAML\Test\OpenID\Algorithms\AlgorithmManagerTest::$signatureAlgorithmMocks is not defined in constructor of SimpleSAML\Test\OpenID\Algorithms\AlgorithmManagerTest or in any methods called in the constructor (see https://psalm.dev/074)
|
MixedArgumentTypeCoercion:
tests/src/Algorithms/AlgorithmManagerTest.php#L29
tests/src/Algorithms/AlgorithmManagerTest.php:29:37: MixedArgumentTypeCoercion: Argument 1 of SimpleSAML\OpenID\Algorithms\AlgorithmManager::__construct expects array<array-key, Jose\Component\Core\Algorithm>, but parent type array<array-key, PHPUnit\Framework\MockObject\MockObject|mixed> provided (see https://psalm.dev/194)
|
PropertyNotSetInConstructor:
tests/src/Algorithms/SignatureAlgorithmBagTest.php#L17
tests/src/Algorithms/SignatureAlgorithmBagTest.php:17:38: PropertyNotSetInConstructor: Property SimpleSAML\Test\OpenID\Algorithms\SignatureAlgorithmBagTest::$signatureAlgorithmEnumRs256 is not defined in constructor of SimpleSAML\Test\OpenID\Algorithms\SignatureAlgorithmBagTest or in any methods called in the constructor (see https://psalm.dev/074)
|
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)
|
InvalidClass:
tests/src/Codebooks/MetadataPolicyOperatorsEnumTest.php#L347
tests/src/Codebooks/MetadataPolicyOperatorsEnumTest.php:347:96: InvalidClass: Class, interface or enum StdClass has wrong casing (see https://psalm.dev/007)
|
InvalidClass:
tests/src/Codebooks/MetadataPolicyOperatorsEnumTest.php#L360
tests/src/Codebooks/MetadataPolicyOperatorsEnumTest.php:360:98: InvalidClass: Class, interface or enum StdClass has wrong casing (see https://psalm.dev/007)
|
InvalidClass:
tests/src/Codebooks/MetadataPolicyOperatorsEnumTest.php#L376
tests/src/Codebooks/MetadataPolicyOperatorsEnumTest.php:376:35: InvalidClass: Class, interface or enum StdClass has wrong casing (see https://psalm.dev/007)
|
InvalidClass:
tests/src/Codebooks/MetadataPolicyOperatorsEnumTest.php#L379
tests/src/Codebooks/MetadataPolicyOperatorsEnumTest.php:379:35: InvalidClass: Class, interface or enum StdClass has wrong casing (see https://psalm.dev/007)
|
InvalidClass:
tests/src/Codebooks/MetadataPolicyOperatorsEnumTest.php#L382
tests/src/Codebooks/MetadataPolicyOperatorsEnumTest.php:382:35: InvalidClass: Class, interface or enum StdClass has wrong casing (see https://psalm.dev/007)
|