function Constraint::matches
Same name in this branch
- 11.1.x vendor/composer/semver/src/Constraint/Constraint.php \Composer\Semver\Constraint\Constraint::matches()
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
This method can be overridden to implement the evaluation algorithm.
1 call to Constraint::matches()
- Constraint::evaluate in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Constraint.php - Evaluates the constraint for parameter $other.
70 methods override Constraint::matches()
- ArrayHasKey::matches in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Traversable/ ArrayHasKey.php - Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
- BrowserCookieValueSame::matches in vendor/
symfony/ browser-kit/ Test/ Constraint/ BrowserCookieValueSame.php - BrowserHasCookie::matches in vendor/
symfony/ browser-kit/ Test/ Constraint/ BrowserHasCookie.php - Callback::matches in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Callback.php - Evaluates the constraint for parameter $value. Returns true if the constraint is met, false otherwise.
- CommandIsSuccessful::matches in vendor/
symfony/ console/ Tester/ Constraint/ CommandIsSuccessful.php - Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Constraint.php, line 79
Class
- Constraint
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Framework\ConstraintCode
protected function matches(mixed $other) : bool {
return false;
}