phoenixrvd/phpunit-assert-log-entry

View on GitHub
src/Constraint/HasRecords.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace PhoenixRVD\PHPUnitLogAssertions\Constraint;

class HasRecords extends Constraint
{
    public function toString()
    {
        return sprintf('log must contain %ss', $this->getLogLevel());
    }

    protected function matches($other)
    {
        return $this->callHandlerMethod([]);
    }
}