This inspection highlights modifications of variables, which were declared as read–only.

It highlights a modification under these conditions:

  1. It was previously declared as read–only. For example, readonly and declare -r declare a variable as read–only.
  2. It’s an assignment or modification. myVar=value is a modification, export myVar is not a modification.
© 2020–2021 Joachim Ansorg
Privacy Policy