ReporterInterface.php 436 B

123456789101112131415161718192021
  1. <?php
  2. namespace Fgm\ComposerCheck;
  3. /**
  4. * Interface ReporterInterface specifies the Reporter classes contract.
  5. */
  6. interface ReporterInterface {
  7. /**
  8. * Format a report on a set of packages.
  9. *
  10. * @param \Fgm\ComposerCheck\MergeBox $mergeBox
  11. * A merge box containing reconciled requirements and locked versions.
  12. *
  13. * @return string
  14. * The formatted report.
  15. */
  16. public function report(MergeBox $mergeBox);
  17. }