 
     public func correctFile(_ file: File) -> [Correction] {
         let matches = violationMatchesRanges(in: file)
-            .filter { file.ruleEnabledViolatingRanges([$0], forRule: self).isEmpty == false }
-        guard matches.isEmpty == false else { return [] }
+            .filter { !file.ruleEnabledViolatingRanges([$0], forRule: self).isEmpty }
+        guard !matches.isEmpty else { return [] }
 
         let description = type(of: self).description
         var corrections: [Correction] = []
         var contents = file.contents
 
-        matchesLoop: for range in matches.sorted(by: { $0.location > $1.location }) {
+        for range in matches.sorted(by: { $0.location > $1.location }) {
             for (functionName, operatorCorrections) in operatorsMapping {
                 guard let correctedString = contents.replace(function: functionName,
                                                              with: operatorCorrections,

                }

                contents = correctedString
                corrections.append(Correction(ruleDescription: description,
                                              location:  Location(file: file, characterOffset: range.location)))
                break matchesLoop
            }
        }


        let toPattern = ("expect\\(\(anything)\\)\\.to\\(\(name)\\(\(anything)\\)\\)", operators.to)
        let toNotPattern = ("expect\\(\(anything)\\)\\.toNot\\(\(name)\\(\(anything)\\)\\)", operators.toNot)

        var correctedString: String?

        for (pattern, operatorString) in [toPattern, toNotPattern] {
            guard let operatorString = operatorString else {
