Skip to content

100% Psalm type coverage and 99% Infection MSI #43

100% Psalm type coverage and 99% Infection MSI

100% Psalm type coverage and 99% Infection MSI #43

Triggered via pull request February 3, 2024 15:08
@thundererthunderer
synchronize #32
tk-msi
Status Failure
Total duration 34s
Artifacts

test.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 20 warnings
RedundantCondition: src/Doctrine/PlatenumDoctrineType.php#L50
src/Doctrine/PlatenumDoctrineType.php:50:20: RedundantCondition: Type Doctrine\DBAL\Platforms\AbstractPlatform for $platform is always method-exists-getStringTypeDeclarationSQL (see https://psalm.dev/122)
DeprecatedMethod: src/Doctrine/PlatenumDoctrineType.php#L52
src/Doctrine/PlatenumDoctrineType.php:52:30: DeprecatedMethod: The method Doctrine\DBAL\Platforms\AbstractPlatform::getVarcharTypeDeclarationSQL has been marked as deprecated (see https://psalm.dev/001)
test (8.0, ubuntu-latest, false)
Process completed with exit code 2.
RedundantCondition: src/Doctrine/PlatenumDoctrineType.php#L50
src/Doctrine/PlatenumDoctrineType.php:50:20: RedundantCondition: Type Doctrine\DBAL\Platforms\AbstractPlatform for $platform is always method-exists-getStringTypeDeclarationSQL (see https://psalm.dev/122)
DeprecatedMethod: src/Doctrine/PlatenumDoctrineType.php#L52
src/Doctrine/PlatenumDoctrineType.php:52:30: DeprecatedMethod: The method Doctrine\DBAL\Platforms\AbstractPlatform::getVarcharTypeDeclarationSQL has been marked as deprecated (see https://psalm.dev/001)
test (8.2, ubuntu-latest, false)
Process completed with exit code 2.
test (7.2, ubuntu-latest, false)
The operation was canceled.
test (7.4, ubuntu-latest, false)
The operation was canceled.
test (7.1, ubuntu-latest, false)
Process completed with exit code 2.
test (7.3, ubuntu-latest, false)
The operation was canceled.
RedundantCondition: src/Doctrine/PlatenumDoctrineType.php#L50
src/Doctrine/PlatenumDoctrineType.php:50:20: RedundantCondition: Type Doctrine\DBAL\Platforms\AbstractPlatform for $platform is always method-exists-getStringTypeDeclarationSQL (see https://psalm.dev/122)
DeprecatedMethod: src/Doctrine/PlatenumDoctrineType.php#L52
src/Doctrine/PlatenumDoctrineType.php:52:30: DeprecatedMethod: The method Doctrine\DBAL\Platforms\AbstractPlatform::getVarcharTypeDeclarationSQL has been marked as deprecated (see https://psalm.dev/001)
test (8.1, ubuntu-latest, false)
The operation was canceled.
RedundantCondition: src/Doctrine/PlatenumDoctrineType.php#L50
src/Doctrine/PlatenumDoctrineType.php:50:20: RedundantCondition: Type Doctrine\DBAL\Platforms\AbstractPlatform for $platform is always method-exists-getStringTypeDeclarationSQL (see https://psalm.dev/122)
DeprecatedMethod: src/Doctrine/PlatenumDoctrineType.php#L52
src/Doctrine/PlatenumDoctrineType.php:52:30: DeprecatedMethod: The method Doctrine\DBAL\Platforms\AbstractPlatform::getVarcharTypeDeclarationSQL has been marked as deprecated (see https://psalm.dev/001)
test (8.3, ubuntu-latest, false)
The operation was canceled.
test (nightly, ubuntu-latest, true)
The operation was canceled.
test (nightly, ubuntu-latest, true)
Process completed with exit code 2.
test (8.0, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (8.0, ubuntu-latest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (8.2, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (8.2, ubuntu-latest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (7.2, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (7.2, ubuntu-latest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (7.4, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (7.4, ubuntu-latest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (7.1, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (7.1, ubuntu-latest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (7.3, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (7.3, ubuntu-latest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (8.1, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (8.1, ubuntu-latest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (8.3, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (8.3, ubuntu-latest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (nightly, ubuntu-latest, true)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (nightly, ubuntu-latest, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (nightly, ubuntu-latest, true): src/Doctrine/PlatenumDoctrineType.php#L30
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ { /** @psalm-suppress MissingClosureParamType */ $toInteger = function ($value) : int { - return (int) $value; + return $value; }; $sql = function (array $declaration, AbstractPlatform $platform) : string { return $platform->getIntegerTypeDeclarationSQL([]);
test (nightly, ubuntu-latest, true): src/Doctrine/PlatenumDoctrineType.php#L50
Escaped Mutant for Mutator "Ternary": --- Original +++ New @@ @@ return (string) $value; }; $sql = function (array $declaration, AbstractPlatform $platform) : string { - return method_exists($platform, 'getStringTypeDeclarationSQL') ? $platform->getStringTypeDeclarationSQL([]) : $platform->getVarcharTypeDeclarationSQL([]); + return method_exists($platform, 'getStringTypeDeclarationSQL') ? $platform->getVarcharTypeDeclarationSQL([]) : $platform->getStringTypeDeclarationSQL([]); }; self::registerCallback($alias, $class, $toString, $sql); }