/** * Asserts that a string does not match a given format string. * * @param string $format * @param string $string * @param string $message * @since Method available since Release 3.5.0 */ function assertStringNotMatchesFormat($format, $string, $message = '') { return PHPUnit_Framework_Assert::assertStringNotMatchesFormat($format, $string, $message); }
public function toMatchFormat($format) { if ($this->negate) { a::assertStringNotMatchesFormat($format, $this->actual); } else { a::assertStringMatchesFormat($format, $this->actual); } }
public function notMatchesFormat($format) { a::assertStringNotMatchesFormat($format, $this->actual, $this->description); }
public function doesNotMatchFormat($format) { Assert::assertStringNotMatchesFormat($format, $this->actual, $this->description); return $this; }
/** * Expect that a string does not match a given format string. * * @param string $format * @param string $message * * @return Expect */ public function notToMatchFormat($format, $message = '') { Assert::assertStringNotMatchesFormat($format, $this->value, $message); return $this; }