function ParametersRule::apply
Throws
ExpectationFailedException if the invocation violates the rule
2 methods override ParametersRule::apply()
- AnyParameters::apply in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Rule/ AnyParameters.php - Parameters::apply in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Rule/ Parameters.php
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Rule/ ParametersRule.php, line 23
Class
- ParametersRule
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Framework\MockObject\RuleCode
public function apply(BaseInvocation $invocation) : void;