Phpstan: Use separate workflow #1
Annotations
8 errors
PHPStan:
src/Connection.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function call_user_func_array expects callable\(\)\: mixed, array\{PDO\|null, string\} given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
|
PHPStan:
src/Connection.php#L1
Ignored error pattern #^Parameter \#1 \$object_or_class of function method_exists expects object\|string, PDO\|null given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
|
PHPStan:
src/Connection.php#L75
Parameter #1 $object of function method_exists expects object|string, PDO|null given.
|
PHPStan:
src/Connection.php#L82
Parameter #1 $function of function call_user_func_array expects callable(): mixed, array{PDO|null, string} given.
|
PHPStan:
src/Connection.php#L218
Method ipl\Sql\Connection::fetchAll() should return array but returns array|false.
|
PHPStan:
src/Connection.php#L232
Method ipl\Sql\Connection::fetchCol() should return array but returns array|false.
|
PHPStan:
src/Connection.php#L271
Method ipl\Sql\Connection::fetchPairs() should return array but returns array|false.
|
PHPStan
Process completed with exit code 1.
|
Loading