Skip to content

Phpstan: Use separate workflow #1

Phpstan: Use separate workflow

Phpstan: Use separate workflow #1

Triggered via pull request April 15, 2024 11:01
Status Success
Total duration 41s
Artifacts

phpstan.yml

on: pull_request
Matrix: phpstan / phpstan
Fit to window
Zoom out
Zoom in

Annotations

44 errors
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: 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 / Static analysis with phpstan and php 7.4 on ubuntu-latest: 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 / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Connection.php#L75
Parameter #1 $object of function method_exists expects object|string, PDO|null given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Connection.php#L82
Parameter #1 $function of function call_user_func_array expects callable(): mixed, array{PDO|null, string} given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Connection.php#L218
Method ipl\Sql\Connection::fetchAll() should return array but returns array|false.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Connection.php#L232
Method ipl\Sql\Connection::fetchCol() should return array but returns array|false.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Connection.php#L271
Method ipl\Sql\Connection::fetchPairs() should return array but returns array|false.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: 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 / Static analysis with phpstan and php 7.3 on ubuntu-latest: 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 / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Connection.php#L75
Parameter #1 $object of function method_exists expects object|string, PDO|null given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Connection.php#L82
Parameter #1 $function of function call_user_func_array expects callable(): mixed, array{PDO|null, string} given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Connection.php#L218
Method ipl\Sql\Connection::fetchAll() should return array but returns array|false.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Connection.php#L232
Method ipl\Sql\Connection::fetchCol() should return array but returns array|false.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Connection.php#L271
Method ipl\Sql\Connection::fetchPairs() should return array but returns array|false.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: 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 / Static analysis with phpstan and php 7.2 on ubuntu-latest: 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 / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Connection.php#L75
Parameter #1 $object of function method_exists expects object|string, PDO|null given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Connection.php#L82
Parameter #1 $function of function call_user_func_array expects callable(): mixed, array{PDO|null, string} given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Connection.php#L218
Method ipl\Sql\Connection::fetchAll() should return array but returns array|false.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Connection.php#L232
Method ipl\Sql\Connection::fetchCol() should return array but returns array|false.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Connection.php#L271
Method ipl\Sql\Connection::fetchPairs() should return array but returns array|false.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#1 \$mode of method PDOStatement\:\:setFetchMode\(\) expects int, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#2 \$className of method PDOStatement\:\:setFetchMode\(\) expects int\|object\|string, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#2 \$values of method ipl\\Sql\\Connection\:\:prepexec\(\) expects array\|string\|null, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#2 \$values of method ipl\\Sql\\Connection\:\:yieldPairs\(\) expects array\|null, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#1 \$mode of method PDOStatement\:\:setFetchMode\(\) expects int, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#2 \$className of method PDOStatement\:\:setFetchMode\(\) expects int\|object\|string, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#2 \$values of method ipl\\Sql\\Connection\:\:prepexec\(\) expects array\|string\|null, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#2 \$values of method ipl\\Sql\\Connection\:\:yieldPairs\(\) expects array\|null, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#1 \$mode of method PDOStatement\:\:setFetchMode\(\) expects int, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#2 \$className of method PDOStatement\:\:setFetchMode\(\) expects int\|object\|string, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#2 \$values of method ipl\\Sql\\Connection\:\:prepexec\(\) expects array\|string\|null, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#2 \$values of method ipl\\Sql\\Connection\:\:yieldPairs\(\) expects array\|null, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#1 \$mode of method PDOStatement\:\:setFetchMode\(\) expects int, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#2 \$className of method PDOStatement\:\:setFetchMode\(\) expects int\|object\|string, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#2 \$values of method ipl\\Sql\\Connection\:\:prepexec\(\) expects array\|string\|null, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/Connection.php#L1
Ignored error pattern #^Parameter \#2 \$values of method ipl\\Sql\\Connection\:\:yieldPairs\(\) expects array\|null, mixed given\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Connection.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest
Process completed with exit code 1.