Use var instead of explicit type in foreach

Proprietary

Replace explicit type in foreach with var when type is evident.

OpenRewrite.Recipes.CSharp.CodeQuality.Style.UseVarInForEach
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Style.UseVarInForEach

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.