phpinspectionsea icon indicating copy to clipboard operation
phpinspectionsea copied to clipboard

Deprecated fopen 'b' flag warning

Open Leamsi9 opened this issue 3 years ago • 1 comments

| Subject | Details | | :Redundant warning | :Warns against missing 'b' flag in fopen referring to outdated docs | | Plugin | Php Inspections (EA Extended) or Php Inspections (EA Ultimate), 4.0.6| | Language level | e.g. PHP 7.4 |

Current behaviour

image

Expected behaviour

That line is no longer in the documentation. Since PHP 4.32 the 'b' mode is the default, so it is redundant to specify it.

See https://bugs.php.net/bug.php?id=77781 which was evidently incorporated since warning is gone.

Environment details

Leamsi9 avatar Jan 08 '21 13:01 Leamsi9

Thanks for reporting @Leamsi9! Looking into it!

ea-inspections-team avatar Dec 05 '21 17:12 ea-inspections-team