Update code to match the project style guide #6
continuous-integration.yml
on: pull_request
Generate job matrix
10s
Matrix: QA Checks
Annotations
15 errors
|
QA Checks (PHPUnit [8.2, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php-db/phpdb dev-x.x.2, found php-db/phpdb[dev-remove-sqlite-specific-code, dev-migrate-docs-to-antora, dev-refactor-sql-abstraction, dev-update-package-dependencies, dev-adapter-migration-mysql-refactor, dev-add-phpstan-support, 0.1.0, ..., 0.3.x-dev] but these do not match your constraint and are therefore not installable. Make sure you either fix the constraint or avoid updating this package to keep the one present in the lock file (php-db/phpdb[dev-x.x.2]).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
|
|
QA Checks (PHPUnit [8.3, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php-db/phpdb dev-x.x.2, found php-db/phpdb[dev-remove-sqlite-specific-code, dev-migrate-docs-to-antora, dev-refactor-sql-abstraction, dev-update-package-dependencies, dev-adapter-migration-mysql-refactor, dev-add-phpstan-support, 0.1.0, ..., 0.3.x-dev] but these do not match your constraint and are therefore not installable. Make sure you either fix the constraint or avoid updating this package to keep the one present in the lock file (php-db/phpdb[dev-x.x.2]).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
|
|
QA Checks (PHPUnit [8.2, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php-db/phpdb dev-x.x.2, found php-db/phpdb[dev-remove-sqlite-specific-code, dev-migrate-docs-to-antora, dev-refactor-sql-abstraction, dev-update-package-dependencies, dev-adapter-migration-mysql-refactor, dev-add-phpstan-support, 0.1.0, ..., 0.3.x-dev] but these do not match your constraint and are therefore not installable. Make sure you either fix the constraint or avoid updating this package to keep the one present in the lock file (php-db/phpdb[dev-x.x.2]).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
|
|
QA Checks (PHPUnit [8.3, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php-db/phpdb dev-x.x.2, found php-db/phpdb[dev-remove-sqlite-specific-code, dev-migrate-docs-to-antora, dev-refactor-sql-abstraction, dev-update-package-dependencies, dev-adapter-migration-mysql-refactor, dev-add-phpstan-support, 0.1.0, ..., 0.3.x-dev] but these do not match your constraint and are therefore not installable. Make sure you either fix the constraint or avoid updating this package to keep the one present in the lock file (php-db/phpdb[dev-x.x.2]).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
|
|
QA Checks (PHPUnit [8.4, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php-db/phpdb dev-x.x.2, found php-db/phpdb[dev-remove-sqlite-specific-code, dev-migrate-docs-to-antora, dev-refactor-sql-abstraction, dev-update-package-dependencies, dev-adapter-migration-mysql-refactor, dev-add-phpstan-support, 0.1.0, ..., 0.3.x-dev] but these do not match your constraint and are therefore not installable. Make sure you either fix the constraint or avoid updating this package to keep the one present in the lock file (php-db/phpdb[dev-x.x.2]).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
|
|
UnusedVariable:
test/integration/Container/SqliteMetadataFactoryTest.php#L23
test/integration/Container/SqliteMetadataFactoryTest.php:23:9: UnusedVariable: $metadata is never referenced or the value is not used (see https://psalm.dev/077)
|
|
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)
|
|
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)
|