ReporterBase.php 459 B

123456789101112131415161718192021
  1. <?php
  2. namespace Fgm\ComposerCheck;
  3. /**
  4. * Class ReporterBase is a base class for Reporter classes.
  5. */
  6. abstract class ReporterBase implements ReporterInterface {
  7. /**
  8. * Report on a set of Composer requirements.
  9. *
  10. * @param \Fgm\ComposerCheck\MergeBox $mergeBox
  11. * A merge box instance containing requirements.
  12. *
  13. * @return string
  14. * The formatted report output.
  15. */
  16. public abstract function report(MergeBox $mergeBox): string;
  17. }