Typing changes that need to occur for satellite packages. #139
continuous-integration.yml
on: pull_request
Generate job matrix
7s
Matrix: QA Checks
Annotations
12 errors
|
QA Checks (PHPUnit [8.1, 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 phpunit/phpunit ^11.5.12 -> satisfiable by phpunit/phpunit[11.5.12, ..., 11.5.27].
- phpunit/phpunit[11.5.12, ..., 11.5.27] require php >=8.2 -> your php version (8.1.33) does not satisfy that requirement.
|
|
QA Checks (PHPUnit [8.1, 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 phpunit/phpunit ^11.5.12 -> satisfiable by phpunit/phpunit[11.5.12, ..., 11.5.27].
- phpunit/phpunit[11.5.12, ..., 11.5.27] require php >=8.2 -> your php version (8.1.33) does not satisfy that requirement.
|
|
PossiblyUnusedReturnValue:
src/Adapter/Driver/DriverAwareInterface.php#L10
src/Adapter/Driver/DriverAwareInterface.php:10:57: PossiblyUnusedReturnValue: The return value for this method is never used (see https://psalm.dev/273)
|
|
InvalidNullableReturnType:
src/Adapter/Driver/AbstractConnection.php#L57
src/Adapter/Driver/AbstractConnection.php:57:21: InvalidNullableReturnType: The declared return type 'resource' for PhpDb\Adapter\Driver\AbstractConnection::getResource is not nullable, but 'null|resource' contains null (see https://psalm.dev/144)
|
|
PossiblyUnusedMethod:
src/Adapter/Driver/AbstractConnection.php#L45
src/Adapter/Driver/AbstractConnection.php:45:21: PossiblyUnusedMethod: Cannot find any calls to method PhpDb\Adapter\Driver\AbstractConnection::getDriverName (see https://psalm.dev/087)
|
|
PossiblyUnusedReturnValue:
src/Adapter/AdapterAwareInterface.php#L8
src/Adapter/AdapterAwareInterface.php:8:62: PossiblyUnusedReturnValue: The return value for this method is never used (see https://psalm.dev/273)
|
|
TooFewArguments:
src/Adapter/AdapterAbstractServiceFactory.php#L48
src/Adapter/AdapterAbstractServiceFactory.php:48:16: TooFewArguments: Too few arguments for PhpDb\Adapter\Adapter::__construct - expecting queryResultSetPrototype to be passed (see https://psalm.dev/025)
|
|
TooFewArguments:
src/Adapter/AdapterAbstractServiceFactory.php#L48
src/Adapter/AdapterAbstractServiceFactory.php:48:16: TooFewArguments: Too few arguments for PhpDb\Adapter\Adapter::__construct - expecting platform to be passed (see https://psalm.dev/025)
|
|
MethodSignatureMismatch:
src/Adapter/AdapterAbstractServiceFactory.php#L16
src/Adapter/AdapterAbstractServiceFactory.php:16:7: MethodSignatureMismatch: Method PhpDb\Adapter\AdapterAbstractServiceFactory::canCreate with return type '' is different to return type 'bool' of inherited method Laminas\ServiceManager\Factory\AbstractFactoryInterface::canCreate (see https://psalm.dev/042)
|
|
NullableReturnStatement:
src/Adapter/Adapter.php#L116
src/Adapter/Adapter.php:116:16: NullableReturnStatement: The declared return type 'PhpDb\Adapter\Driver\ResultInterface|PhpDb\Adapter\Driver\StatementInterface|PhpDb\ResultSet\ResultSet' for PhpDb\Adapter\Adapter::query is not nullable, but the function returns 'PhpDb\Adapter\Driver\ResultInterface|null' (see https://psalm.dev/139)
|
|
InvalidReturnStatement:
src/Adapter/Adapter.php#L61
src/Adapter/Adapter.php:61:16: InvalidReturnStatement: The inferred type 'bool|string' does not match the declared return type 'string' for PhpDb\Adapter\Adapter::getCurrentSchema (see https://psalm.dev/128)
|
|
InvalidReturnType:
src/Adapter/Adapter.php#L59
src/Adapter/Adapter.php:59:41: InvalidReturnType: The declared return type 'string' for PhpDb\Adapter\Adapter::getCurrentSchema is incorrect, got 'bool|string' (see https://psalm.dev/011)
|