Phpinspectionsea: false possitive warnings

Created on 7 May 2020  路  2Comments  路  Source: kalessil/phpinspectionsea

image
image

question

All 2 comments

Thank you for reporting @mitsh.

1) Works, I tested locally (the suggested replacement is correct).
2) IDE resolves $CONF as 'array|string' (and ignores workflow in this case), so the warning gets there. I can only suggest using separate variables as e.g. $configuration/$configurationFileContent, so IDE could properly recognize types there.

@kalessil thanks

Was this page helpful?
0 / 5 - 0 ratings