overtrue / phplint

:bug: A tool that can speed up linting of php files by running several lint processes at once.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[9.0.x] Improve log options implementation

llaville opened this issue · comments

New Issue

Diagnose

This issue affect all distributions

Summary

Accept more values to enable or disable log-*** options

Expected behaviour

  • Always enable log-*** options when values are in this list [true, 'true', 1, '1', 'on', 'yes']
  • Always disable log-*** options when values are in this list [false, 'false', 0, '0', 'off', 'no']
  • Consider values ['', null] as true boolean value to enable log-** options to print results to standard output

Actual behaviour

Data domain of version 9.0.3 is more restrictive, and could not print results to standard output