Skip to content

Merge pull request #6 from tyrsson/x.x.1-patch #1

Merge pull request #6 from tyrsson/x.x.1-patch

Merge pull request #6 from tyrsson/x.x.1-patch #1

Triggered via push August 19, 2025 21:18
Status Failure
Total duration 5m 23s
Artifacts
Generate job matrix
7s
Generate job matrix
Matrix: QA Checks
Fit to window
Zoom out
Zoom in

Annotations

51 errors and 2 warnings
NoValue: test/integration/Container/SqliteMetadataFactoryTest.php#L23
test/integration/Container/SqliteMetadataFactoryTest.php:23:9: NoValue: All possible types for this assignment were invalidated - This may be dead code (see https://psalm.dev/179)
UnevaluatedCode: test/integration/Container/PdoDriverFactoryTest.php#L29
test/integration/Container/PdoDriverFactoryTest.php:29:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
UnevaluatedCode: test/integration/Container/PdoDriverFactoryTest.php#L28
test/integration/Container/PdoDriverFactoryTest.php:28:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
UnusedVariable: test/integration/Container/PdoDriverFactoryTest.php#L26
test/integration/Container/PdoDriverFactoryTest.php:26:9: UnusedVariable: $instance is never referenced or the value is not used (see https://psalm.dev/077)
NoValue: test/integration/Container/PdoDriverFactoryTest.php#L26
test/integration/Container/PdoDriverFactoryTest.php:26:9: NoValue: All possible types for this assignment were invalidated - This may be dead code (see https://psalm.dev/179)
UnusedClass: src/Module.php#L7
src/Module.php:7:13: UnusedClass: Class PhpDb\Adapter\Sqlite\Module is never used (see https://psalm.dev/075)
InvalidReturnStatement: src/Container/PdoDriverFactory.php#L35
src/Container/PdoDriverFactory.php:35:16: InvalidReturnStatement: The inferred type 'PhpDb\Adapter\Sqlite\Driver\Pdo\Pdo' does not match the declared return type 'never' for PhpDb\Adapter\Sqlite\Container\PdoDriverFactory::__invoke (see https://psalm.dev/128)
InvalidReturnType: src/Container/PdoDriverFactory.php#L21
src/Container/PdoDriverFactory.php:21:62: InvalidReturnType: PhpDb\Adapter\Sqlite\Container\PdoDriverFactory::__invoke is not expected to return, but it does, either implicitly or explicitly (see https://psalm.dev/011)
InvalidReturnStatement: src/Container/MetadataInterfaceFactory.php#L20
src/Container/MetadataInterfaceFactory.php:20:16: InvalidReturnStatement: The inferred type 'PhpDb\Adapter\Sqlite\Metadata\Source\SqliteMetadata' does not match the declared return type 'never' for PhpDb\Adapter\Sqlite\Container\MetadataInterfaceFactory::__invoke (see https://psalm.dev/128)
InvalidReturnType: src/Container/MetadataInterfaceFactory.php#L15
src/Container/MetadataInterfaceFactory.php:15:62: InvalidReturnType: PhpDb\Adapter\Sqlite\Container\MetadataInterfaceFactory::__invoke is not expected to return, but it does, either implicitly or explicitly (see https://psalm.dev/011)
QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...: src/Container/PlatformInterfaceFactory.php#L10
Use statements should be sorted alphabetically. The first wrong one is PhpDb\Adapter\Platform\PlatformInterface.
QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...: src/Platform/Sqlite.php#L12
Use statements should be sorted alphabetically. The first wrong one is PhpDb\Adapter\Sqlite\Driver\Pdo.
QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...: src/Driver/Pdo/Connection.php#L99
Class \PDO should not be referenced via a fully qualified name, but via a use statement.
QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...: src/Driver/Pdo/Connection.php#L98
Class \PDO should not be referenced via a fully qualified name, but via a use statement.
QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...: src/Driver/Pdo/Connection.php#L98
Class \PDO should not be referenced via a fully qualified name, but via a use statement.
QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...: src/Driver/Pdo/Connection.php#L97
Class \PDO should not be referenced via a fully qualified name, but via a use statement.
QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...: src/Container/MetadataInterfaceFactory.php#L9
Use statements should be sorted alphabetically. The first wrong one is PhpDb\Adapter\SchemaAwareInterface.
NoValue: test/integration/Container/SqliteMetadataFactoryTest.php#L23
test/integration/Container/SqliteMetadataFactoryTest.php:23:9: NoValue: All possible types for this assignment were invalidated - This may be dead code (see https://psalm.dev/179)
UnevaluatedCode: test/integration/Container/PdoDriverFactoryTest.php#L29
test/integration/Container/PdoDriverFactoryTest.php:29:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
UnevaluatedCode: test/integration/Container/PdoDriverFactoryTest.php#L28
test/integration/Container/PdoDriverFactoryTest.php:28:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
UnusedVariable: test/integration/Container/PdoDriverFactoryTest.php#L26
test/integration/Container/PdoDriverFactoryTest.php:26:9: UnusedVariable: $instance is never referenced or the value is not used (see https://psalm.dev/077)
NoValue: test/integration/Container/PdoDriverFactoryTest.php#L26
test/integration/Container/PdoDriverFactoryTest.php:26:9: NoValue: All possible types for this assignment were invalidated - This may be dead code (see https://psalm.dev/179)
UnusedClass: src/Module.php#L7
src/Module.php:7:13: UnusedClass: Class PhpDb\Adapter\Sqlite\Module is never used (see https://psalm.dev/075)
InvalidReturnStatement: src/Container/PdoDriverFactory.php#L35
src/Container/PdoDriverFactory.php:35:16: InvalidReturnStatement: The inferred type 'PhpDb\Adapter\Sqlite\Driver\Pdo\Pdo' does not match the declared return type 'never' for PhpDb\Adapter\Sqlite\Container\PdoDriverFactory::__invoke (see https://psalm.dev/128)
InvalidReturnType: src/Container/PdoDriverFactory.php#L21
src/Container/PdoDriverFactory.php:21:62: InvalidReturnType: PhpDb\Adapter\Sqlite\Container\PdoDriverFactory::__invoke is not expected to return, but it does, either implicitly or explicitly (see https://psalm.dev/011)
InvalidReturnStatement: src/Container/MetadataInterfaceFactory.php#L20
src/Container/MetadataInterfaceFactory.php:20:16: InvalidReturnStatement: The inferred type 'PhpDb\Adapter\Sqlite\Metadata\Source\SqliteMetadata' does not match the declared return type 'never' for PhpDb\Adapter\Sqlite\Container\MetadataInterfaceFactory::__invoke (see https://psalm.dev/128)
InvalidReturnType: src/Container/MetadataInterfaceFactory.php#L15
src/Container/MetadataInterfaceFactory.php:15:62: InvalidReturnType: PhpDb\Adapter\Sqlite\Container\MetadataInterfaceFactory::__invoke is not expected to return, but it does, either implicitly or explicitly (see https://psalm.dev/011)