StderrNotContains class final

Framework\Testing\Constraints\StderrNotContains

Class StderrNotContains.

Extends PHPUnit\Framework\Constraint\Constraint

Implements: PHPUnit\Framework\SelfDescribing, Countable

Defined in libraries/testing/src/Constraints/StderrNotContains.php

Properties #

$string
-

$string

private string $string

Methods #

__construct()
-
toString()
-
fail()
-
matches()
-

__construct()

public function __construct(string $string)
Parameters
  • string $string

toString()

public function toString(): string
Returns string

fail()

protected function fail(mixed $other, string $description, ?\SebastianBergmann\Comparator\ComparisonFailure $comparisonFailure = NULL): never
Parameters
  • mixed $other
  • string $description
  • ?\SebastianBergmann\Comparator\ComparisonFailure $comparisonFailure
Returns never

matches()

protected function matches(mixed $other): bool
Parameters
  • mixed $other
Returns bool

Inherited methods #