новое правило для 1Сников
чтобы Сонар не ругался, нужно в строку поместить комментарий //NOSONAR
и никаких багов не будет
//NOSONAR
You can use the generic mechanism implemented in SonarQube: put //NOSONAR at the end of the line of the issue. This will suppress the all issues - now and in the future - that might be raised on the line.