Repository navigation
DynamicFunctionReturnTypeExtensions for PostgreSQL - #6074
Conversation
VincentLanglet
left a comment
There was a problem hiding this comment.
Test are failing on php 7.4 and 8.0
aa25cf5 to
7d0e4ad
Compare
VincentLanglet
left a comment
There was a problem hiding this comment.
Tests are still failing on PHP 7.4 & 8.0
https://github.com/phpstan/phpstan-src/actions/runs/35617721406/job/106392627849?pr=6074
Seems like
- The function are considered as returning mixed
- And we need two different nsrt files for assertions.
Look at functionMap, you could improve signature of return type of pg_insert and others.
Then for the test, you'll need two files.
One with // lint >= 8.1 and one with // lint < 8.1.
You can find multiple examples
7d0e4ad to
375aef6
Compare
VincentLanglet
left a comment
There was a problem hiding this comment.
Cf previous comment
375aef6 to
18d532f
Compare
|
you can make this test be skipped on 7.4 by adding |
|
(and please rebase) |
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…lete() and pg_select() Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
18d532f to
d4db15a
Compare
|
I'm sorry, it passes now. It's hard to find the real failures in the unrelated errors of CI. |
|
Thanks |
I need it here: https://github.com/vrana/adminer/blob/v5.5.0/adminer/drivers/pgsql.inc.php#L92