1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-04 20:27:31 +02:00

TestHandler misleadings (#1794)

* TestHandler misleasleadings

* change other methods
This commit is contained in:
Alexander Dmitryuk
2023-03-10 20:05:37 +06:00
committed by GitHub
parent d3d495b742
commit b05bf55097

View File

@@ -23,14 +23,14 @@ use Monolog\LogRecord;
* *
* @author Jordi Boggiano <j.boggiano@seld.be> * @author Jordi Boggiano <j.boggiano@seld.be>
* *
* @method bool hasEmergency($record) * @method bool hasEmergency(string|array $recordAssertions)
* @method bool hasAlert($record) * @method bool hasAlert(string|array $recordAssertions)
* @method bool hasCritical($record) * @method bool hasCritical(string|array $recordAssertions)
* @method bool hasError($record) * @method bool hasError(string|array $recordAssertions)
* @method bool hasWarning($record) * @method bool hasWarning(string|array $recordAssertions)
* @method bool hasNotice($record) * @method bool hasNotice(string|array $recordAssertions)
* @method bool hasInfo($record) * @method bool hasInfo(string|array $recordAssertions)
* @method bool hasDebug($record) * @method bool hasDebug(string|array $recordAssertions)
* *
* @method bool hasEmergencyRecords() * @method bool hasEmergencyRecords()
* @method bool hasAlertRecords() * @method bool hasAlertRecords()
@@ -41,32 +41,32 @@ use Monolog\LogRecord;
* @method bool hasInfoRecords() * @method bool hasInfoRecords()
* @method bool hasDebugRecords() * @method bool hasDebugRecords()
* *
* @method bool hasEmergencyThatContains($message) * @method bool hasEmergencyThatContains(string $message)
* @method bool hasAlertThatContains($message) * @method bool hasAlertThatContains(string $message)
* @method bool hasCriticalThatContains($message) * @method bool hasCriticalThatContains(string $message)
* @method bool hasErrorThatContains($message) * @method bool hasErrorThatContains(string $message)
* @method bool hasWarningThatContains($message) * @method bool hasWarningThatContains(string $message)
* @method bool hasNoticeThatContains($message) * @method bool hasNoticeThatContains(string $message)
* @method bool hasInfoThatContains($message) * @method bool hasInfoThatContains(string $message)
* @method bool hasDebugThatContains($message) * @method bool hasDebugThatContains(string $message)
* *
* @method bool hasEmergencyThatMatches($message) * @method bool hasEmergencyThatMatches(string $regex)
* @method bool hasAlertThatMatches($message) * @method bool hasAlertThatMatches(string $regex)
* @method bool hasCriticalThatMatches($message) * @method bool hasCriticalThatMatches(string $regex)
* @method bool hasErrorThatMatches($message) * @method bool hasErrorThatMatches(string $regex)
* @method bool hasWarningThatMatches($message) * @method bool hasWarningThatMatches(string $regex)
* @method bool hasNoticeThatMatches($message) * @method bool hasNoticeThatMatches(string $regex)
* @method bool hasInfoThatMatches($message) * @method bool hasInfoThatMatches(string $regex)
* @method bool hasDebugThatMatches($message) * @method bool hasDebugThatMatches(string $regex)
* *
* @method bool hasEmergencyThatPasses($message) * @method bool hasEmergencyThatPasses(callable $predicate)
* @method bool hasAlertThatPasses($message) * @method bool hasAlertThatPasses(callable $predicate)
* @method bool hasCriticalThatPasses($message) * @method bool hasCriticalThatPasses(callable $predicate)
* @method bool hasErrorThatPasses($message) * @method bool hasErrorThatPasses(callable $predicate)
* @method bool hasWarningThatPasses($message) * @method bool hasWarningThatPasses(callable $predicate)
* @method bool hasNoticeThatPasses($message) * @method bool hasNoticeThatPasses(callable $predicate)
* @method bool hasInfoThatPasses($message) * @method bool hasInfoThatPasses(callable $predicate)
* @method bool hasDebugThatPasses($message) * @method bool hasDebugThatPasses(callable $predicate)
*/ */
class TestHandler extends AbstractProcessingHandler class TestHandler extends AbstractProcessingHandler
{ {