Skip to content

Fix ListDatabaseTest #333

Fix ListDatabaseTest

Fix ListDatabaseTest #333

Triggered via push November 24, 2024 01:41
Status Failure
Total duration 10m 17s
Artifacts
Matrix: analyse-php
Matrix: lint-php-files
Fit to window
Zoom out
Zoom in

Annotations

7 errors
PossiblyUnusedMethod: tests/unit/ListDatabaseTest.php#L47
tests/unit/ListDatabaseTest.php:47:28: PossiblyUnusedMethod: Cannot find any calls to method PhpMyAdmin\Tests\ListDatabaseTest::providerForTestGetList (see https://psalm.dev/087)
UnusedBaselineEntry: tests/unit/ListDatabaseTest.php#L1
tests/unit/ListDatabaseTest.php:0:0: UnusedBaselineEntry: Baseline for issue "DeprecatedMethod" has 1 extra entry. (see https://psalm.dev/316)
analyse-php (8.2)
Process completed with exit code 2.
analyse-php (8.2): tests/unit/ListDatabaseTest.php#L1
Ignored error pattern #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\: Use dependency injection instead\.$# (staticMethod.deprecated) in path /home/runner/work/phpmyadmin/phpmyadmin/tests/unit/ListDatabaseTest.php was not matched in reported errors.
analyse-php (8.2): tests/unit/ListDatabaseTest.php#L47
Method PhpMyAdmin\Tests\ListDatabaseTest::providerForTestGetList() return type has no value type specified in iterable type array.
analyse-php (8.2)
Process completed with exit code 1.
lint-php-files (8.2)
Process completed with exit code 1.