Home
last modified time | relevance | path

Searched refs:matcher (Results 1 – 25 of 88) sorted by relevance

1234

/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/
H A DInvocationMocker.php46 * @param PHPUnit_Framework_MockObject_Matcher_Invocation $matcher
50 $this->matchers[] = $matcher;
58 foreach ($this->matchers as $matcher) {
59 if ($matcher->hasMatchers()) {
99 * @param PHPUnit_Framework_MockObject_Matcher_Invocation $matcher
103 public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher) argument
107 $matcher,
160 foreach ($this->matchers as $matcher) {
161 if (!$matcher->matches($invocation)) {
174 foreach ($this->matchers as $matcher) {
[all …]
H A DMatcher.php123 $matcher = $builder->getMatcher();
125 if ($matcher && $matcher->invocationMatcher->hasBeenInvoked()) {
177 $matcher = $builder->getMatcher();
179 if (!$matcher) {
183 if (!$matcher->invocationMatcher->hasBeenInvoked()) {
H A DMockObject.php25 * @param PHPUnit_Framework_MockObject_Matcher_Invocation $matcher
29 public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher); argument
/plugin/subjectindex/inc/
H A Dmatcher.php27 $matcher = new $class();
28 $this->matchers[$matcher->order] = $matcher;
29 $types[$matcher->section] = $matcher->type;
30 if ($matcher->type == 'default') $default = $matcher;
41 foreach ($this->matchers as $matcher) {
42 if ($matcher->match($text) === true) {
43 $matches = array_merge($matches, $matcher->items);
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/
H A DInvocationMocker.php31 protected $matcher; variable in PHPUnit_Framework_MockObject_Builder_InvocationMocker
46 $this->matcher = new PHPUnit_Framework_MockObject_Matcher(
50 $this->collection->addMatcher($this->matcher);
60 return $this->matcher;
82 $this->matcher->stub = $stub;
199 $this->matcher->afterMatchBuilderId = $id;
211 if ($this->matcher->methodNameMatcher === null) {
218 if ($this->matcher->parametersMatcher !== null) {
234 …$this->matcher->parametersMatcher = new PHPUnit_Framework_MockObject_Matcher_Parameters($arguments…
260 $this->matcher->parametersMatcher = new PHPUnit_Framework_MockObject_Matcher_AnyParameters;
[all …]
/plugin/combo/admin/
H A Dpagerules.php110 $matcher = $_POST[PageRules::MATCHER_NAME] ?? null;
114 if ($matcher == null) {
123 if ($matcher == $target) {
124 msg($this->lang['SameSourceAndTargetAndPage'] . ': ' . $matcher . '', LogUtility::LVL_MSG_ERROR);
129 if (!$this->pageRuleManager->patternExists($matcher)) {
130 $this->pageRuleManager->addRule($matcher, $target, $priority);
133 msg("The matcher pattern ($matcher) already exists. The page rule was not inserted.", LogUtility::LVL_MSG_ERROR);
136 $this->pageRuleManager->updateRule($id, $matcher, $target, $priority);
169 $matcher
[all...]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Monitoring/
H A DContentMatcher.php29 public $matcher; variable in Google\\Service\\Monitoring\\ContentMatcher
48 public function setMatcher($matcher) argument
50 $this->matcher = $matcher;
57 return $this->matcher;
/plugin/dw2pdf/vendor/myclabs/deep-copy/src/DeepCopy/
H A DDeepCopy.php35 * @var array Array of ['filter' => Filter, 'matcher' => Matcher] pairs.
42 * @var array Array of ['filter' => Filter, 'matcher' => Matcher] pairs.
97 public function addFilter(Filter $filter, Matcher $matcher) argument
100 'matcher' => $matcher,
105 public function prependFilter(Filter $filter, Matcher $matcher) argument
108 'matcher' => $matcher,
113 public function addTypeFilter(TypeFilter $filter, TypeMatcher $matcher) argument
116 'matcher'
[all...]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CertificateManager/
H A DCertificateMapEntry.php46 public $matcher; variable in Google\\Service\\CertificateManager\\CertificateMapEntry
133 public function setMatcher($matcher) argument
135 $this->matcher = $matcher;
142 return $this->matcher;
/plugin/findologicxmlexport/vendor/myclabs/deep-copy/src/DeepCopy/
H A DDeepCopy.php94 public function addFilter(Filter $filter, Matcher $matcher) argument
97 'matcher' => $matcher,
102 public function addTypeFilter(TypeFilter $filter, TypeMatcher $matcher) argument
105 'matcher' => $matcher,
213 $matcher = $item['matcher'];
217 if ($matcher->matches($object, $property->getName())) {
253 $matcher = $record['matcher'];
255 return $matcher->matches($var);
/plugin/subjectindex/syntax/
H A Dentry.php33 $this->matcher = new SI_MatchEntry();
52 foreach ($this->matcher as $matcher) {
53 … $this->Lexer->addSpecialPattern($matcher->regex, $mode, 'plugin_subjectindex_entry');
61 if ($this->matcher->match($match) === true) {
62 $item = $this->matcher->first;
/plugin/subjectindex/action/
H A Dindexer.php46 $matcher = new SI_MatchEntry();
47 if ($matcher->match($raw_page) === true) {
48 $matched_entries = $matcher->all;
/plugin/combo/ComboStrap/
H A DPageRules.php119 * @param string $matcher
125 function addRuleWithDate($matcher, $target, $priority, $creationDate): ?int argument
131 'matcher' => $matcher,
153 function updateRule($id, $matcher, $target, $priority) argument
158 $matcher,
165 $statement = 'update PAGE_RULES set matcher = ?, target = ?, priority = ?, timestamp = ? where id = ?';
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/
H A DMatcherCollection.php22 …* @param PHPUnit_Framework_MockObject_Matcher_Invocation $matcher Matcher for invocations to mock …
24 public function addMatcher(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher); argument
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator/
H A Dmocked_class.tpl.dist8 public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
10 return $this->__phpunit_getInvocationMocker()->expects($matcher);
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/MockObject/Generator/
H A Dnonexistent_class.phpt35 public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
37 return $this->__phpunit_getInvocationMocker()->expects($matcher);
H A Dclass_call_parent_clone.phpt38 public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
40 return $this->__phpunit_getInvocationMocker()->expects($matcher);
H A Dclass_dont_call_parent_constructor.phpt37 public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
39 return $this->__phpunit_getInvocationMocker()->expects($matcher);
H A Dnonexistent_class_with_namespace_starting_with_separator.phpt41 public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
43 return $this->__phpunit_getInvocationMocker()->expects($matcher);
H A Dclass_call_parent_constructor.phpt37 public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
39 return $this->__phpunit_getInvocationMocker()->expects($matcher);
H A Dclass_dont_call_parent_clone.phpt37 public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
39 return $this->__phpunit_getInvocationMocker()->expects($matcher);
H A Dnamespaced_class_call_parent_constructor.phpt39 public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
41 return $this->__phpunit_getInvocationMocker()->expects($matcher);
H A Dnamespaced_class_dont_call_parent_clone.phpt39 public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
41 return $this->__phpunit_getInvocationMocker()->expects($matcher);
H A Dnamespaced_class_dont_call_parent_constructor.phpt39 public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
41 return $this->__phpunit_getInvocationMocker()->expects($matcher);
H A Dnonexistent_class_with_namespace.phpt41 public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
43 return $this->__phpunit_getInvocationMocker()->expects($matcher);

1234