Home
last modified time | relevance | path

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

1234

/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/
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/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/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/combo/admin/
H A Dpagerules.php115 $matcher = $_POST[PageRules::MATCHER_NAME];
119 if ($matcher == null) {
128 if ($matcher == $target) {
134 if (!$this->pageRuleManager->patternExists($matcher)) {
174 $matcher = null;
182 $matcher = $rule[PageRules::MATCHER_NAME];
195 if ($matcher != null) {
196 $matcherDefault = 'value="' . $matcher . '"';
202 if ($matcher != null) {
260 $matcher = $row[PageRules::MATCHER_NAME];
[all …]
/plugin/dw2pdf/vendor/myclabs/deep-copy/src/DeepCopy/
H A DDeepCopy.php97 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' => $matcher,
224 $matcher = $item['matcher'];
228 if ($matcher->matches($object, $property->getName())) {
270 $matcher = $record['matcher'];
272 return $matcher->matches($var);
/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/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/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/action/
H A Dindexer.php46 $matcher = new SI_MatchEntry();
47 if ($matcher->match($raw_page) === true) {
48 $matched_entries = $matcher->all;
/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/combo/ComboStrap/
H A DPageRules.php117 * @param string $matcher
123 function addRuleWithDate($matcher, $target, $priority, $creationDate): ?int argument
129 'matcher' => $matcher,
151 function updateRule($id, $matcher, $target, $priority) argument
156 'matcher' => $matcher,
/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