fixed #591
Annotations
10 errors
Show PHPCS results in PR:
src/Utility/ExecutableDiscover.php#L56
Expected 1 newline at end of file; 0 found
|
Show PHPCS results in PR:
tests/TestCase/Utility/ExecutableDiscoverTest.php#L78
Parameter $default has null default value, but is not marked as nullable.
|
Show PHPCS results in PR
Process completed with exit code 1.
|
Run PHP CodeSniffer
Process completed with exit code 2.
|
Run psalm:
src/Utility/ExecutableDiscover.php#L50
src/Utility/ExecutableDiscover.php:50:13: RedundantCondition: Operand of type 'mariadb'|'mariadb-dump' is always truthy (see https://psalm.dev/122)
|
Run psalm
Process completed with exit code 2.
|
Run phpstan:
src/Utility/ExecutableDiscover.php#L50
If condition is always true.
|
Run phpstan:
src/Utility/ExecutableDiscover.php#L54
Unreachable statement - code above always terminates.
|
Run phpstan:
tests/TestCase/Utility/ExecutableDiscoverTest.php#L27
Parameter #2 $string of method PHPUnit\Framework\Assert::assertStringEndsWith() expects string, string|null given.
|
Run phpstan
Process completed with exit code 1.
|
Loading