sogerc1

Results 6 comments of sogerc1

Additional info: even though I have those two options cache files still appear in the DefinitionCache/Serializer directory if I give write permission in my development virtual machine.

I didn't open another issue, because I think mine is the same issue. This year intelephense started giving me error for this: `$val = pg_escape_literal(json_encode($val));` saying: Expected type 'PgSql\Connection' found...

There are more issues with type detection. See this example: ![Screenshot_2023-01-06_16-31-49](https://user-images.githubusercontent.com/10744434/211032657-6cd0d9af-0ca0-43d7-b127-fe9edbdebd64.png) The error says expected array, found string. Interestingly if I remove the type hints from the comment in front...

Is there a way to temporarily disable the 1006 errors until this bug is fixed? Because right now the error reporting is completely useless, almost all opened files are shown...

Found it: `"intelephense.diagnostics.typeErrors": false` Disables quite a lot of error checks so be careful.

Issue still present in v1.12.1 I still have to keep "intelephense.diagnostics.typeErrors" on false which is not ideal.