Replace deprecated operator 'or' with '||'