Skip to content

added phpstan config with baseline #2

added phpstan config with baseline

added phpstan config with baseline #2

Triggered via pull request February 22, 2024 15:51
Status Failure
Total duration 50s
Artifacts

static-analysis.yml

on: pull_request
Static Analysis with PHPStan
42s
Static Analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Static Analysis with PHPStan: lib/Doctrine/Adapter/Statement/Oracle.php#L1
Ignored error pattern #^Function oci_fetch_object invoked with 2 parameters, 1 required\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Adapter/Statement/Oracle.php was not matched in reported errors.
Static Analysis with PHPStan: lib/Doctrine/Cli/AnsiColorFormatter.php#L1
Ignored error pattern #^Parameter \#2 \$start of function substr expects int, float given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Cli/AnsiColorFormatter.php was not matched in reported errors.
Static Analysis with PHPStan: lib/Doctrine/Cli/AnsiColorFormatter.php#L1
Ignored error pattern #^Parameter \#3 \$length of function substr expects int, float given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Cli/AnsiColorFormatter.php was not matched in reported errors.
Static Analysis with PHPStan: lib/Doctrine/Cli/AnsiColorFormatter.php#L141
Parameter #2 $offset of function substr expects int, float given.
Static Analysis with PHPStan: lib/Doctrine/Cli/AnsiColorFormatter.php#L141
Parameter #3 $length of function substr expects int|null, float given.
Static Analysis with PHPStan: lib/Doctrine/Cli/Formatter.php#L1
Ignored error pattern #^Parameter \#2 \$start of function substr expects int, float given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Cli/Formatter.php was not matched in reported errors.
Static Analysis with PHPStan: lib/Doctrine/Cli/Formatter.php#L1
Ignored error pattern #^Parameter \#3 \$length of function substr expects int, float given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Cli/Formatter.php was not matched in reported errors.
Static Analysis with PHPStan: lib/Doctrine/Cli/Formatter.php#L104
Parameter #2 $offset of function substr expects int, float given.
Static Analysis with PHPStan: lib/Doctrine/Cli/Formatter.php#L104
Parameter #3 $length of function substr expects int|null, float given.
Static Analysis with PHPStan: lib/Doctrine/Connection.php#L1
Ignored error pattern #^Parameter \#2 \$pieces of function implode expects array, string given\.$# in path /home/runner/work/doctrine1/doctrine1/lib/Doctrine/Connection.php was not matched in reported errors.
Static Analysis with PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.