Версия из проекта precommit1c https://github.com/xDrivenDevelopment/precommit1c/commit/bb3184a9dffabf128ebdfe4625f6fd77a5b51761