Fix ListDatabaseTest #333
lint-and-analyse-php.yml
on: push
Matrix: analyse-php
Matrix: lint-php-files
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.
|