docs: def createSummary(self, log):
          """
          Match log lines against warningPattern.
  
          Warnings are collected into another log for this step, and the
          build-wide 'warnings-count' is updated."""
  
          # If there were any warnings, make the log if lines with warnings
          # available
          if self.warnCount:
              self.addCompleteLog("warnings (%d)" % self.warnCount,
                                  "\n".join(self.loggedWarnings) + "\n")
  
          warnings_stat = self.getStatistic('warnings', 0)
          self.setStatistic('warnings', warnings_stat + self.warnCount)
  
          old_count = self.getProperty("warnings-count", 0)
          self.setProperty(
              "warnings-count", old_count + self.warnCount, "WarningCountingShellCommand")